Upload to Itch.io

itch.io is an online platform that serves as a hub for indie game developers, artists, and creators to publish, share, and sell their digital content. It offers a diverse marketplace for games, game assets, interactive fiction, and other digital creations, making it a popular destination for both creators and players seeking unique and innovative experiences. Users can discover, download, and support independent projects while creators can easily distribute and monetize their work through the platform.

Step by step

Step 1: Prepare Your Game

Before you can upload your game to Itch.io, you need to package it up in a .ZIP file.

First, build your project with the following commands in your project's directory.

npx tsc
npx vite build --base=./

This should have created a folder called dist.

If you are one window, open the project in the File Expolorer, right click the folder called "dist" and click "Compress to ZIP file".

If you are using Bash, you can run the following command to compress the dist directory into a .ZIP file.

zip -r dist.zip dist

Step 2: Create an Itch.io account

If you don't already have an itch.io account, sign up for one. You'll need an account to publish and manage your games on the platform. It is completely free.

Step 3: Upload your game

Once logged in, follow these steps to upload your game:

  1. Click your username in the top right corner and select "Dashboard."

  2. On your dashboard, click the "New Project" button.

  3. Fill out the necessary information for your game project, including the title, URL, and any additional details.

  4. Click "Create Project."

  5. On the project page, you'll find an option to "Upload Files." Use this to upload the .ZIP file you created earlier. Check the checkbox for "This file will be played in the browser"

  6. Once the upload is complete, you can set the visibility of your game. You can choose to keep it private, make it public, or restrict it to specific users.

You can read more about distributing HTML5 games on the official Itch.io documentation.

Last updated