I made a game in Godot. How do I share it on the web and get players?
Export the project with Godot's Web preset, name the main file index.html, and upload every exported file to a web host or to itch.io as a ZIP. Since Godot 4.3 the web export is single-threaded by default, and that build needs none of the special server headers a threaded one needs, so most hosts can serve it. Test it on a phone, then list the link on Foundplay.
Checked November 22, 2026 against Godot's Exporting for the Web docs. Written by Foundplay, a game discovery platform for free browser games. Foundplay also sells Boost, a paid promotion for games, and this guide says where it fits. The advice before that part works without it. All guides
What a Godot web export needs
- WebAssembly and WebGL 2 in the player's browser. Godot's docs say a web export needs both.
- The Compatibility renderer. Godot 4 can only target WebGL 2 on the web, and the Forward+ and Mobile renderers are not supported there, so switch early in the project rather than the week you ship.
- GDScript, not C#. Godot's docs say projects written in C# with Godot 4 currently cannot be exported to the web, and point to Godot 3 for C# on web platforms.
- An https address. Godot's docs say browsers keep more and more features for pages served over a secure connection, with localhost usually exempt while you test.
Export for the web
- Install the export templates for your Godot version from the editor's export templates manager.
- Open Project, Export, add a Web preset and set the export path to a file named
index.html. Godot's docs warn that renaming exported files afterwards can cause problems, so pick the name before you export. - Export, and upload everything in that folder: the HTML page, the
.jsstart-up code, the.wasmengine, the.pckpack that holds your game and the.pngboot splash. - Test with the button that appears in the editor's toolbar when a runnable web export template is installed, or from a local web server. The export is meant to be served by a web server, not opened from your disk.
Threads and special headers
Since Godot 4.3 the single-threaded export is the default, and Godot's docs call it the preferred way to export for the web. It can't use threads and runs slower than a threaded export, but it needs no special server setup.
If you turn on Thread Support, the export uses SharedArrayBuffer. That needs an https page and two response headers on every file: Cross-Origin-Opener-Policy: same-origin and Cross-Origin-Embedder-Policy: require-corp. Godot's docs point out that this full cross-origin isolation means no ads and no third-party integrations on the page that hosts the game.
If your host won't let you set headers, the Progressive Web App option in the export adds a service worker that simulates them, and the page still has to be on https. Without the headers or that workaround, a threaded export does not run at all.
File size and loading
- Serve the files compressed. Godot's docs say the
.wasmengine shrinks to around a quarter of its size with gzip, and suggest Brotli where your server supports it. - Check what your host does. itch.io's upload docs say its CDN gzips
.wasmand.pckfiles that you upload uncompressed. - Serve
.wasmasapplication/wasm. Godot's docs say another type can prevent some start-up optimizations. - For phones, Godot's docs suggest compiling an optimized export template with unused features turned off, which can make the WebAssembly download much smaller.
- Use the Custom HTML shell option for your own loading screen. Edits made straight to the generated HTML are lost on the next export.
- Measure the first load with the network throttled in your browser's developer tools.
Saves, sound and background tabs
Saves in user:// live in the browser's IndexedDB. Godot's docs say they last only if the player allows it, a game shown inside an iframe also needs third-party cookies, and private windows keep nothing. OS.is_userfs_persistent() checks, though it can report a false positive, so save often and offer an export for long games.
Since Godot 4.3, web exports play sound through the Web Audio API by default. That keeps latency low without threads, but audio effects, reverb, doppler and procedural audio aren't supported in that mode. Browsers also block sound until the player clicks, taps or presses a key, so put a start screen first.
The browser pauses the game when its tab isn't the active one, so a networked game can disconnect if a player switches tabs for long.
Fit phones and the browser
- The page sizes the game to the browser window by default. Set the stretch mode to canvas items and pick an aspect setting that suits portrait and landscape.
- Enter full screen from inside an input event, such as a button press. Godot's docs say browsers refuse it otherwise.
- Use touch screen buttons or an on-screen stick for controls, and test with the emulate-touch settings and a real phone.
- Say in the listing whether the game needs a keyboard.
How Foundplay can help
Foundplay is a game discovery platform for free browser games. It doesn't host games: every listing sends players to the creator's own site.
The free listing
Listing a game is free. Paste the link where people play it at /submit, check the details and publish. The game goes live right away, and Play sends players to your own site.
Paste the address of the hosted export or of your itch.io page. When Foundplay finds Godot's signs on an original game's play page, the game shows up among Godot games on Foundplay. The engine checker shows what Foundplay reads on any web game's page.
Boost, the paid option
Foundplay sells Boost, so it has a reason to want you to buy it. The free listing works without it.
The plan called Boost lets strangers try your export on their own devices. Look at your analytics afterward, because a web export that doesn't load on some phones shows up as visitors who never started.
The Boost plan costs $10 for 30 plays in 5 days, which works out to 33¢ a play. Where it shows: Your genre's game pages, the top of matching searches and surprise me picks.
A play is a counted click on Play from a sponsored spot, the same way public play counts work: once per game per network a day. Every sponsored spot is labelled Sponsored, and the share of plays not delivered by the end of the plan's days is refunded automatically. Foundplay can't see what players do after the click. Fan games and copies of commercial games can't be boosted. A game has to be listed before it can be boosted. List it first, or start a Boost and add your play link there, and Foundplay lists the game for free as part of the same flow.
For scale, Foundplay's own visit counter shows an average of 3,000+ visitors a day over the last three full days, and 3,500+ games are listed. It updates every few minutes.
More free ways to find players are in the full guide.
Questions
- Why is my Godot web export a black screen or stuck loading?
- Open the browser console. Common causes are opening the file from disk instead of a web server, a missing or renamed file in the upload, a
.wasmserved with the wrong type, a project set to Forward+ or Mobile, or a threaded export on a page without the cross-origin isolation headers. - Can I put a Godot web game on itch.io?
- Yes. Zip the export with
index.htmlat the top of the ZIP and mark it to be played in the browser. Godot's docs say the single-threaded export, the default since Godot 4.3, is more compatible with stores like itch.io. - Can I export a Godot 4 C# project to the web?
- Not at the moment. Godot's docs say projects written in C# with Godot 4 currently cannot be exported to the web, and suggest Godot 3 for C# on web platforms.
- Can I host a Godot game on a host that won't let me set headers?
- Yes, with the default single-threaded export, which needs no special headers. A threaded export needs cross-origin isolation headers, and where you can't set them, Godot's Progressive Web App option simulates them with a service worker on an https page.
- Does Godot's web export work on phones?
- Godot's docs say it can, with some caveats, and that native phone exports always perform better. Use the Compatibility renderer, keep assets small, consider an optimized export template and test on real phones.