itch.io is a site where independent creators publish their games. Players can play a Monogatari game right on its itch.io page, in the browser, on a computer, phone or tablet, and the same page can offer desktop downloads too. An account is free, and everything on this page happens in a browser: no terminal and nothing to install.

Before you upload

  • Make a release copy of your game, without the debug module, as Web explains. That copy is what you upload.
  • Give your game its own name. Set 'Name' in js/options.js to your game’s name, and keep it from your first upload on. itch.io runs every browser game from the same address, so the browser keeps all their saves together, and Monogatari tells your game’s saves apart by that name: two games that both keep the starter’s 'My Visual Novel' show each other’s saves. Changing it later leaves your players’ saves behind. Set NAME in service-worker.js to it too (no spaces there).
  • A game started before 2.9.0 needs its service worker updated, or it never plays offline from itch.io’s sub-folders.
  • Using Yui, Mio or the tutorial’s backgrounds? Queen BeeBee’s pictures are for games that make no money, donations included. Choose No payments for that game (step 4 of Create the project), and read their terms.

Make the ZIP

itch.io takes a browser game as one ZIP file. Select the files and folders inside your release copy, not the folder itself, and compress them into a ZIP with your file manager’s compress or ZIP option, so index.html sits at the top of the ZIP. On a phone or tablet, you need a file manager that can make ZIP files.

itch.io only accepts .zip (not .rar or .7z), and checks what’s inside: at most 1,000 files, 500 MB once unpacked, 200 MB for any one file, and file names up to 240 characters including their folders. A starter game with a short story is far below all of them. Its server also tells capital letters apart, so Afternoon.jpg and afternoon.jpg are two different files there even when your computer treats them as one: check that every name in your script matches its file.

Create the project

  1. Sign in to itch.io, open your Dashboard (at the top of the page) and create a new project with its button.

  2. Fill in the basics. The Title is your game’s name; the Project URL comes from it (shorten it if the title is long). The Short description and the Cover image show wherever itch.io lists your game: make the cover 630×500 pixels, or any size with that shape (315:250). For Classification, choose Games.

  3. Set the kind of project to HTML, the kind that plays in the browser.

  4. Choose the pricing. No payments turns payments off. $0 or Donate lets players give what they like before they play. A browser game on itch.io can only ask for donations; to sell your game, offer desktop downloads instead.

  5. Upload your ZIP under Uploads, and tick This file will be played in the browser on it.

  6. Choose the embed options (below) that appear once the ZIP is uploaded.

  7. Describe your game. Write the description players read on the page, pick Visual Novel as the Genre, add up to ten Tags, and upload three to five Screenshots. Put the credits in the description too: the artists, the musicians, and “Made with Monogatari”.

  8. Choose Save & view page. A new project is a draft: only you can see it, so you can try it before anyone else.

The embed options

These decide how the game sits on its page:

Option What to choose
Embed in page or Click to launch in fullscreen Embed in page shows the game inside the page at the size you give. Click to launch in fullscreen shows a launch button, and the game opens over the whole screen. On phones, a game marked Mobile friendly always opens this second way.
Viewport dimensions For Embed in page: 960 × 540. That’s 16:9, the shape of the starter game ('AspectRatio': '16:9' in js/options.js), and small enough for a laptop’s screen. The game fills whatever size you give, so another 16:9 size works too.
Mobile friendly Tick it once you’ve played the game on a phone (see Mobile). Without it, itch.io warns phone players that the game may not work.
Click to play Leave it on: players click to start the game. Without it, the game starts as the page loads, and browsers may keep it silent until the player clicks inside it.
Fullscreen button Tick it for Embed in page: in a browser the game has no full-screen control of its own (the settings’ window sizes are for the desktop apps). Then make room for it in the corner (below).
Enable scrollbars Leave it off: the game fits its frame.

itch.io puts its full-screen button over the bottom-right corner of the game, where the starter’s quick menu ends with Quit. Add this line at the end of style/main.css, before you make the ZIP, to keep the corner free:

[data-component="quick-menu"] { padding-right: 3rem; }

Try it, then publish

On your draft’s page, play the game the way a player would:

  • Start a game and play through a few choices.
  • Listen for the music and sounds, if your game has them.
  • Save, reload the page, and load the save.
  • Try the full-screen button, and check the quick menu’s last button is clear of it.
  • On a phone, if you ticked Mobile friendly: open the page, launch the game and play a scene.

When it all works, edit the project and set its Visibility to Public. itch.io’s guide for HTML games has every embed option and the current limits, and Your first itch.io page covers the rest of the project page.

Saves on itch.io

The game keeps its saves and settings in the player’s browser, as it does on any web host:

  • On that device and in that browser. A player who opens the game on their phone after playing on their computer starts again. If they clear their browser’s data, their saves go too.
  • Under your game’s 'Name'. That’s why it needs a name of its own (see Before you upload).
  • Apart from the downloads. A desktop download keeps its own saves, separate from the browser’s.

Saving and Loading explains where saves are kept.

Update the game

  1. Make a new release copy and ZIP the same way, with the same 'Name'.

  2. Upload the new ZIP on your project’s edit page, tick This file will be played in the browser on it, and delete the old upload.

  3. Save, and play the update on the page.

Players who come back get your new script and styles on their next visit, and images or sounds you replaced under the same file name by the visit after at the latest. Update a released game explains when each kind of file reaches them. Their saves stay: the browser keeps them under your game’s 'Name', whatever the upload. If the update changes your script, read Keep saves working when you update your game first. To tell players what changed, post a devlog from your project’s page: people who follow you see it.

Offer downloads too

The same project can offer your game as an app for Windows, macOS and Linux, next to the browser version. Make the apps as Desktop explains (that part needs a computer with Bun), then upload each one under Uploads and tick its platform: Windows, macOS or Linux. Players download the one for their computer, and the itch.io app can install and update them.

To sell your game, set the kind of project to Downloadable and the pricing to Paid: itch.io sells downloads, while browser games only take donations. See itch.io’s pricing guide.

  • Web: the release copy, other web hosts, and how updates reach players.
  • Mobile: how the game plays on phones and tablets.
  • Desktop: Windows, macOS and Linux apps.
  • Share Your Game: the short version, from the tutorial.