How to publish a Twine game online and share it as a link
Quick answer
To publish a Twine game online, choose Publish to File from Twine 2's Build tab, upload the .html file it saves to Convika, and share the link: players open the story in any browser, with no account and no download. A story whose images or sounds sit in a folder beside the file goes up as that folder or a .zip, and Convika serves every file at its own path, so the story's relative links work as they did on your computer. itch.io, Neocities, GitHub Pages, and Netlify also host Twine games.
Free plan: no credit card, 5 published pages.
On this page
- Publish to File: your story as one HTML file
- Images and sounds in a Twine story
- Where to host a Twine game, compared
- Publish your Twine game on Convika in 5 steps
- Update the game after a fix, at the same link
- Keep a story private for playtesters
- Harlowe, SugarCube, Chapbook, or Snowman
- Frequently asked questions
Twine saves a finished story as one .html file that plays in any web browser. Drop that file in the box above and publish it free, and players open your story from a link in a message, a Discord post, or a printed QR code. Harlowe, SugarCube, Chapbook, and Snowman stories all publish the same way, because the file carries its story format's code inside it.
Publish to File: your story as one HTML file
Twine's reference describes it plainly: "Publishing a story creates an HTML file that can opened in a web browser" (Publishing to a File).
- From the Story Library: select the story, open the Build tab in the top toolbar, and choose Publish to File.
- From the Story Map: open the Build tab and choose Publish to File.
- Pick a file name and a folder. The file name doesn't change the title players see: rename the story in Twine first if you want a different one.
If Safari opens a tab whose address starts with blob:// instead of saving, choose Save As from Safari's File menu.
The file is small. A two-passage test story built from Twine's own Harlowe 3.3.9 format file came to about 460 KB, and the same story in SugarCube 2.37.3 to about 600 KB. Each passage adds only its text, so a long story stays far under the box's 4 MB.
Images and sounds in a Twine story
Twine keeps only text. Its reference says it "doesn't have facilities for managing images, sound, or video," and asks you to publish the story "and place that file in a folder with those multimedia files," linking each one by a relative URL: orange.jpeg beside the story, or images/pear.png in a folder (Using Images and Multimedia). That gives you two ways to publish them:
- Links to files online. Write each image and sound as a full
https://address. The story stays one file, and the box above takes it without an account. - The folder. Keep
story.htmlwith itsimages/andaudio/folders, zip the folder or leave it as it is, and upload it from the dashboard after a free sign-up. Convika puts it online as a site at its own address, such aslighthouse.convika.page, with every file at its own path, soimages/pear.pngloads exactly as it did on your computer.
On November 26, 2026, a test story in each of Harlowe 3.3.9 and SugarCube 2.37.3, with an image and a sound in folders beside it, went through Convika's own folder and .zip reader, the code the upload screen runs. Both came out as a site of 3 files with the story at the address's root.
File names on the web match letter for letter: Pear.png in the folder and pear.png in the passage are two different files. Check the case before you upload. The reference also mentions embedding media in the story with Base64, which it calls "difficult to work with" and which "will make your stories much larger in size."
Where to host a Twine game, compared
Every host below plays a Twine story in the browser for free. The facts come from each host's own pages, checked November 26, 2026.
| Host | Account | What the host adds to the page | Images and sounds | Show it inside another site | Update at the same link | Password |
|---|---|---|---|---|---|---|
| Convika | Free account to publish; the box makes a preview without one | On Free, a small Convika bar at the bottom; Pro removes it | One .html file in the box; a folder or .zip as a site from the dashboard | Yes, on every plan: switch on Embedding | Yes: Update from an HTML file, with 10 versions kept on Free | Only people with the password, on Pro |
| itch.io | Free account | The game in an iframe on its itch.io page; "Advertisements will never be placed on any of your pages" | A ZIP with an index.html, up to 1,000 files and 500 MB; names are case sensitive | A widget to download or buy it; the game plays on itch.io | Upload the new file and delete the old one | Free: Restricted, with "Also allow a password to view page" |
| Neocities | Free account | Nothing: "No advertising, ever" | Images on Free; .mp3, .ogg, and .wav need Supporter at $5 a month | Yes, in an <iframe> | Upload the file again to the same path | Not on its plans |
| GitHub Pages | GitHub account; a public repository on GitHub Free | Nothing | Any file in the repository; sites up to 1 GB | Yes, in an <iframe> | Commit the new file | Private sites need GitHub Enterprise Cloud |
| Netlify | Account to keep a site; a drop without one gets a temporary password until claimed | New Free projects since August 19, 2026 show a "Powered by Netlify" badge | Drag the whole folder | Yes, in an <iframe> | Drag the updated folder onto Production deploys | Pro, $20 a month |
Sources: itch.io's HTML5 games, access control, and creator FAQ; Neocities' plans, allowed file types, and API; GitHub's creating a Pages site and Pages limits; Netlify's Drop quickstart, badge changelog, and project visibility. The iframe column for Neocities, GitHub Pages, and Netlify comes from a site on each, which sent no header that blocks frames on November 26, 2026.
How to choose:
- You want the link to open straight into the story, a QR code, and to see how many people played: Convika. The story fills the window, and the dashboard shows page views for the last 90 days.
- You want a store page with screenshots, a description, and donations: itch.io, which Twine's own reference names for Twine games.
- You keep the story in a Git repository: GitHub Pages.
- You want a hand-made personal site around your stories: Neocities.
Publish your Twine game on Convika in 5 steps
1. Publish to File in Twine
Open the Build tab and choose Publish to File, as in the section above. If the story shows images or plays sounds from your computer, keep them in folders beside the file.
2. Get a preview link
Drop the .html file in the box at the top of this page and click Get my preview link. Open the preview, click through a few branches, and try it on your phone.
A story with its images/ and audio/ folders goes up from the dashboard instead: the box tells you that with a free account the files go live as one site. After you sign up, drop the folder or its .zip on Put your page or file online, check the address in Site URL, and click Create my preview.
3. Keep the page
Click Keep this page — free, no card and sign up. The story moves into your account as a draft.
4. Publish it
Click Publish page. Under Who can open this page?, choose Public and click Next. The first time, Convika shows Publish free, and under it Publish without the Convika bar, which starts Pro with its free trial: 7 days free, then $12 a month, cancel any time before it ends. Click Publish free, and the story goes live at an address like yourstory.convika.page.
Free counts up to 10,000 page views a month across your pages. If a story spreads past that, the pages stop 7 days later until the next month begins or you move to Pro (pricing).
5. Send the link or a QR code
Paste the link in Discord, a forum post, or a message. For a zine, a poster, or a class handout, click Show QR code and Download PNG: phones that scan it open the story, and the code keeps working after you publish a new version.
Update the game after a fix, at the same link
A typo in a passage or a broken link to fix: correct it in Twine and choose Publish to File again. On the story's screen in Convika, go to Update from an HTML file, click Upload a new version, and drop the new file. It becomes the next version, with a preview link of its own. Play it, then click Publish v2 at the same link. The link players have and the printed QR code both open the fixed story. A story uploaded as a folder takes its updated folder or .zip the same way.
Keep a story private for playtesters
- A password. On Pro, choose Only people with the password as you publish, and only testers you give it to can play. Start Pro's free trial first with Try Pro free for 7 days in the sidebar.
- A private link. On Pro, Private link opens for anyone with the link and stays out of search results and Convika's gallery.
- An end date. In Page settings, under Link end date, set Stop the link on and click Save date. When the playtest closes, the link stops opening the story; clear the date and it opens again. This works on every plan.
- Comments on the story. Turn on Feedback on the story's screen, and testers click a spot on a passage and pin a comment there with their name, with no account. You read them all on your screen, on every plan.
Harlowe, SugarCube, Chapbook, or Snowman
The story format changes how you write a passage, not where the story can live. Twine's reference says story formats handle "displaying text and images, playing sound and video," and that a shared story "exists as an HTML file that can be opened in any web browser" (Basic Concepts). Harlowe is Twine's default format, and SugarCube "has the largest community and resources to draw on." The format's code goes into the file you publish, so every host above plays any of them.
Images are written differently in each. In Harlowe, a passage can use an HTML tag such as <img src="images/lantern.png">; in SugarCube, [img[images/lantern.png]] does the same. Both use the same relative path, so the same folder works on Convika for either.
Frequently asked questions
How do I share a Twine game?
Publish it to a file in Twine (Build, then Publish to File), upload the .html file to Convika, and send players the link. They play in their browser with no account and no download. On the Free plan you can publish 5 pages with no credit card.
How do I export a Twine story as a standalone HTML file?
In Twine 2, select the story in the Story Library, or open it in the Story Map, then choose Publish to File from the Build tab. Twine saves one .html file that plays in any browser. Images and sounds stay outside it, in the folder beside it or at https:// addresses.
Where can I host Twine games for free?
Convika, itch.io, Neocities, GitHub Pages, and Netlify all host a Twine story for free. Convika opens the story straight from its link and gives it a QR code; itch.io shows it on a store page; Neocities takes images on Free but needs its $5-a-month Supporter plan for .mp3 and .wav files.
Why don't my images show after I upload my Twine game?
The story names each image by a path relative to the .html file, so the image has to be uploaded with it at that path. Upload the whole folder or its .zip to Convika, which keeps every file at its own path, or change each image to a full https:// address. Check that the letters' case in the passage matches the file name.
Can I host a Twine game on Netlify or Cloudflare Pages?
Yes. Netlify takes the folder by drag and drop; a drop without an account has a temporary password until you claim it. Cloudflare Pages takes "a zip file or single folder of assets" by drag and drop, up to 1,000 files of 25 MiB each (Direct Upload). On Convika, the box above takes the one-file story with no account.
How do I password protect a Twine game link?
On Convika, choose Only people with the password when you publish, on Pro. Pro starts with a free trial: 7 days free, then $12 a month. Players see a password screen, then the story.
Can I update my Twine game without changing the link?
Yes. Publish to File again, then upload the new file under Update from an HTML file on the story's screen and publish it. The link and the QR code stay the same.
Next step
How to password protect an HTML page or website
A JavaScript password sits in the page source. Free: StatiCrypt or .htaccess. Paid: Netlify Pro $20, Vercel $20 a project, Tiiny Host $18, or Convika Pro.
Related articles
- How to publish a game you made with ChatGPT so friends can play itPut a one-file HTML game from ChatGPT online for free and send friends a link. Convika, itch.io, GitHub Pages, Netlify Drop, and CodePen compared, with steps.
- Made level 2 or fixed a bug? Update your AI game at the same linkUpload the new game file as the next version of the page you shared. Players open it at the same link, and their saves and the shared scoreboard stay.
- HTML to QR code: how do I create a QR code for an HTML file?To turn HTML into a QR code, publish the HTML file at an address that stays, then click Show QR code and download a PNG, or paste the address into a free QR code generator.
- ZIP to website: upload a .zip file and get a link that opens as a pageDrop a .zip with index.html, CSS, JavaScript, and images here and get a link in seconds, free. A whole site or a built app goes up as a site at its own address.
- How to play an HTML game on your iPhone or Android phoneTapping game.html often opens a preview that doesn't run the game. Play it once in Safari or Chrome with a free viewer, or from a link that keeps high scores.
- Free HTML hosting compared (2026)Convika Free hosts your HTML file with a form, stats, and your domain. Free HTML hosting compared: 9 hosts on sign-up, link expiry, domains, forms, stats, and badge.
Skipbox
Cheap & fast GitHub Actions runners, unlimited for $39 a month
Your own machine keeps Docker layers and package caches between jobs. Switch by changing one runs-on line.
Start a free Skipbox trial