Guide

How to host an HTML game for free

Hostus, GitHub Pages, Netlify, Cloudflare Pages and itch.io, compared on what matters for a game: time to a link, new versions and phones.

Updated 2026-11-07 · by Hostus Team

Your game is one HTML file, or a folder with one in it. For a game you send to friends, host it on Hostus: drop the file, make the page public, and the link is ready in about 30 seconds. Publish a new version every night on the same link, and nobody playing needs an account.

If you want Git, a domain you already have, or a store where strangers find your game, one of the others fits better, and this page says which. The file is yours either way, so nothing stops you from moving later. Facts about other hosts come from their docs and pricing pages, read on 7 November 2026.

How do the free options compare?

HostWhat you needTime to a linkNew versionOn a phone
HostusAn emailAbout 30 secondsUpload again: same link, last 20 versions keptOpens in the browser; public games can go on the home screen
GitHub PagesGitHub account; public repository on GitHub FreeCreate a repository, set the source; changes can take up to 10 minutesPush again: same URLOpens in the browser
Netlify DropNothing to try it; an account to keep itDrag a folder; password protected until you claim itDrag the folder again: 15 of 300 monthly creditsOpens in the browser
Cloudflare PagesCloudflare account and a projectName a project, drag the folder, deployNew deployment on the same pages.dev addressOpens in the browser
itch.ioFree account and a project pageFill in the page, upload, set the embed, make it publicUpload the new file, delete the old oneTurn on Mobile Friendly, or visitors see a warning

The free options, ranked

Hostus is first because it is the option we recommend when you send a link to people you know and keep changing the game. The rest follow with the case where each is the right pick.

1. Hostus. Built for pages your AI made. The people playing need no account, a leaderboard works with no backend, and rooms connect up to 8 players with an invite link. Free: 20 pages and 2 MB, media included, with no time limit and no card.

2. GitHub Pages. Pick it if you know Git and want a free site with room to grow. GitHub's limits are 1 GB per site and a soft 100 GB of bandwidth a month. On GitHub Free the repository must be public. It looks for index.html, so rename game.html first.

3. itch.io. Pick it if you want strangers to find the game, or you want to charge for it. It has a storefront, which Hostus doesn't. Its HTML5 docs accept a single self-contained HTML file, or a ZIP with an index.html, up to 1,000 files and 500 MB extracted. New pages start private.

4. Cloudflare Pages. Pick it if you already use Cloudflare. Drag and drop takes up to 1,000 files of 25 MiB each, and a project made that way can't switch to Git later. Cloudflare's docs now point new projects to Workers, so check that before you begin.

5. Netlify Drop. Pick it for a quick public test that may grow into a real project. Without an account, the URL is protected with a temporary password until you claim it. The Free plan has 300 credits a month and a production deploy costs 15, so about 20 deploys if nothing else uses credits. At zero credits your projects are paused and visitors get an unavailable page. For a game you change every night, that runs out inside a month.

How to host your game on Hostus

  1. Paste the game prompt into the conversation where your game lives. It gives you one .html file under 1.8 MB, with touch controls for phones.
  2. Drag the file onto hostus.io, type your email and click the magic link. That drop takes files up to 1 MB. For a bigger one, sign in first and upload from the dashboard.
  3. Make the page public and copy the link.
  4. Paste it in the group. Friends tap it and play, with nothing to install.

With the Hostus connector you can skip the file: see the steps for ChatGPT and Claude.

Why a game needs more than a file host

  • You change it all the time. The link has to survive every version. On Hostus, friends with the game open get a small new version notice.
  • Most players are on a phone. Keep buttons out of the badge corner, or move the badge. Touch, sound and full-screen layouts behave like any mobile page.
  • Friends want to beat each other. See a leaderboard for your game.
  • Sometimes they want to play together. See multiplayer with friends.

Your file, always

A game on Hostus is plain HTML. Download it, move it to GitHub Pages or itch.io, or publish it on both. If the game uses rooms or the Hostus leaderboard, those parts stay behind and the rest runs anywhere.

Play one first

Flipdot is a one-tap arcade game published on Hostus, with a leaderboard and no backend. Open it on your phone: this is what your friends get when you send the link.

Good to know before you switch

Every page shows a small Hostus badge, and you pick the corner. The link is yourgame.hostus.page, and you can't point a domain of yours at it. The page does not appear in Google, so people reach it from your link. A new page starts private: making it public is a switch in the dashboard. The free plan covers 20 pages and 2 MB, media included, and Hostus keeps the last 20 versions of each page. If the file has a secret key in it, the upload stops and warns you. A Firebase web config also raises a warning, and it is public by design, so you can go on. Only publish games that are yours. Hostus hosts HTML and JavaScript games, including Three.js with .glb models and WebAssembly files. Unity and Godot web exports don't upload complete yet, because they use file types and server headers Hostus doesn't support. It is not a storefront: nobody finds your game on Hostus, and there are no payments. Home screen, player errors and the new version notice work on public pages Hostus detects as games. On a new free account, the home screen and the link image unlock after the first week.

Questions people ask

What is the fastest free way to host an HTML game?

Drop the file on hostus.io, type your email, click the magic link and make the page public. The link is ready in about 30 seconds.

How do I host an HTML game on GitHub?

Create a public repository, add your game as index.html, then choose the publishing source in Settings, under Pages. GitHub says changes can take up to 10 minutes to appear. The address follows the pattern user.github.io/repository.

Can I upload an HTML game to itch.io?

Yes. Its docs accept one self-contained HTML file, or a ZIP with an index.html inside. Set the embed options and turn on Mobile Friendly if the game works on phones.

Do players need an account?

Not on Hostus. Anyone with the link can play once the page is public. You only need an account to publish.

What if my game is bigger than 2 MB?

Hostus pulls images and sounds out of the code when it can, offers to compress them, and shows you a prompt for your AI with the numbers from your file. Paid plans give your account 200 MB. On any plan, the HTML stops at 4.5 MB, each file at 25 MB and a page at 150 MB of files.

Host your game on one link tonight

Free plan, no card. Your link is ready in about 30 seconds.