Free Places to Host Your Browser Game: GitHub Pages, Cloudflare Pages, itch.io
Developers keep asking where to put a simple browser game so they can share one link (r/aigamedev, "Where do you host simple browser games?"; r/gamedev, "Best sites to post my web games"). Here are three free options and the limits each one publishes. This page is about hosting your own copy. Portals that show your game to their players are covered in the directory. Pages checked November 13, 2026.
1. GitHub Pages
From GitHub's GitHub Pages limits page:
- Free for public repositories. Private repositories need a paid GitHub plan.
- Size: a published site can be no larger than 1 GB, and 1 GB is the recommended limit for the source repository.
- Bandwidth: a soft limit of 100 GB per month.
- Builds: a soft limit of 10 builds per hour (not applied if you publish with your own GitHub Actions workflow), and deployments time out after 10 minutes.
- Not for running a business. GitHub says Pages is not meant as free hosting for an online business, e-commerce site, or a site mainly for commercial transactions or SaaS. Read this before you add payments.
- Compression: Godot's docs list GitHub Pages as a host that gzips files on the fly (Godot, Exporting for the Web).
2. Cloudflare Pages
From Cloudflare's Pages limits page (Free plan) and Pages pricing page:
- Static requests are free and unlimited on free and paid plans, as long as they don't run Functions (pricing page).
- Files: up to 20,000 files per site on the Free plan, and no single file over 25 MiB. Big engine exports (a large .wasm or .pck) can hit that per-file cap.
- Builds: 500 builds per month on Free, one at a time, each timing out after 20 minutes.
- Custom headers: a
_headersfile can hold up to 100 header rules. That matters for the Godot case below. - Projects: up to 100 Pages projects per account.
3. itch.io
From itch.io's Uploading HTML5 games doc:
- Upload a ZIP with an index.html, or a single HTML file. itch.io hosts the files and plays the game in an iframe on your page.
- ZIP limits: no more than 1,000 files, 500 MB extracted in total, 200 MB per file, and paths up to 240 characters. itch.io says you can contact them if you need more.
- Payments: HTML5 games can only take donations. To sell access you set the game as Downloadable instead.
- Common failures: absolute paths (starting with
/) and file names whose upper or lower case doesn't match break on itch.io's case-sensitive server, often showing a 403 error. - Compression: itch.io's CDN gzips files like .html, .js, .wasm and .pck if you upload them uncompressed, and serves .br files as Brotli.
- Built-in audience. Unlike the two above, itch.io is also a store people browse. See Publish on itch.io (HTML5).
4. The Godot catch: threads need special headers
Godot's web export docs say:
- Since Godot 4.3 the default web export is single-threaded, and Godot calls it more compatible with itch.io and portals such as Poki and CrazyGames.
- If you turn on threads, the server must send
Cross-Origin-Opener-Policy: same-originandCross-Origin-Embedder-Policy: require-corp, which also means no ads or third-party integrations on that page. - If you can't set headers on your host, Godot's Progressive Web App export option adds a service-worker workaround. Without the headers or the workaround, a threaded export won't run.
- Godot 4 projects written in C# can't be exported to the web yet.
Quick picks
- Want one link plus a store page people browse: itch.io.
- Want your own site with free static traffic and custom headers: Cloudflare Pages.
- Already on GitHub and the game is small: GitHub Pages, within its 1 GB and soft 100 GB per month limits.
- Want to earn from it: hosting alone doesn't pay. See ads in your own HTML5 game or put it on portals with one HTML5 build, many portals.
Related
First players for your web game · Publish on itch.io (HTML5) · Publisher vs self-publishing · Browse the directory
FAQ
Can I host a browser game on GitHub Pages for free?
Yes, from a public repository. GitHub limits a published site to 1 GB with a soft bandwidth limit of 100 GB per month, and says Pages is not meant for running an online business or e-commerce site.
Is Cloudflare Pages free for a static game?
Cloudflare says requests to static assets are free and unlimited on free and paid plans. The Free plan allows up to 20,000 files per site and 25 MiB per file.
What are the itch.io HTML5 upload limits?
A ZIP with index.html, at most 1,000 files, 500 MB extracted, 200 MB per file. itch.io says to contact them if you need more.
Why does my Godot web export not run on my host?
If threads are enabled, Godot needs Cross-Origin-Opener-Policy and Cross-Origin-Embedder-Policy headers, or the PWA service-worker workaround. The default single-threaded export since Godot 4.3 does not need them.
Sources checked 2026-11-13. Terms you sign override this page. Spot an error? Report a correction.