# Export to html issue in choice script SDK

**URL:** <https://forum.choiceofgames.com/t/export-to-html-issue-in-choice-script-sdk/147874>\
**Category:** ChoiceScript Help\
**Created:** [January 20, 2024, 8:41am UTC](https://forum.choiceofgames.com/t/export-to-html-issue-in-choice-script-sdk/147874 "2024-01-20T08:41:19Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![coal8](https://avatars.discourse-cdn.com/v4/letter/c/8491ac/32.png) [@coal8](https://forum.choiceofgames.com/u/coal8)\
**Post date:** [January 20, 2024, 12:46pm UTC](https://forum.choiceofgames.com/t/export-to-html-issue-in-choice-script-sdk/147874/4 "2024-01-20T12:46:39Z")

</div>

> [@Sohaib\_Khan](#):
>
> The issue i am facing is about the export to html feature which only shows when i run run-server.bat file that run the game with default scenes , but when i run the other scene files using the index.html file in root directory the game compiles fine but the export to html button didn’t appear

The “Export to HTML” feature in ChoiceScript is designed to work when you run your game via the ChoiceScript server. This is why you see the “Export to HTML” option when you run the run-server.bat file.

> [@New in ChoiceScript: HTML Exports, Checkpoints, and Achievements](https://forum.choiceofgames.com/t/new-in-choicescript-html-exports-checkpoints-and-achievements/144880):
>
> ChoiceScript now includes an easy way to export your game to HTML, which, in turn allows us to make checkpoints and achievements available to all users of ChoiceScript. Export to HTML with just two clicks When you follow our [ChoiceScript introduction](https://www.choiceofgames.com/make-your-own-games/choicescript-intro/), you’ll run the “ChoiceScript server,” which will make your game available in your browser, locally, just on your machine. When you view a ChoiceScript game in your browser via that server, you’ll find a new “Export to HTML” link at the bottom of …

---

_[View the full topic](https://forum.choiceofgames.com/t/export-to-html-issue-in-choice-script-sdk/147874)._
