No. Godot 4’s HTML5 export template does not support the Mono/.NET build, so C# (Mono) projects cannot export to web. Use GDScript for a web-bound Godot project, or pick an engine/framework that supports C# in the browser if C# is required.
At a glance
| Fact | Value | Source |
|---|---|---|
| Godot HTML5 export purpose | publish Godot games to browser | docs.godotengine.org |
| Recommended web build file name | index.html | docs.godotengine.org |
| Web builds call JS via | JavaScriptBridge singleton | docs.godotengine.org |
No. Godot 4’s HTML5 export target only supports the standard GDScript build; the Mono/.NET (C#) build does not have a web export template, so a C# project cannot be exported to a browser build as-is. If you need Godot for a web game, write the project in GDScript, or keep game logic in GDScript and call out to C# only for non-web platforms if you maintain separate builds.
When targeting web, publishing through Playgama lets you adapt HTML5 builds to 25+ platforms using the open-source Playgama Bridge SDK, which includes a Godot plugin.
Once you have a working web export, Godot’s HTML5 export docs describe the process: the engine outputs an HTML page plus WebAssembly and data files, and the docs recommend naming the output index.html. Test it by serving the files over HTTP (not opening the file directly), since browsers restrict WebAssembly loading from local file paths.
What if the project genuinely needs C#?
If C# is a hard requirement, look at engines with first-class web export for C#-like workflows, or use a JavaScript/TypeScript framework such as Phaser, PixiJS or Babylon.js directly, per MDN’s game development docs. Unity’s WebGL export supports C# scripts compiled to WebAssembly, and browser interop goes through a .jslib plugin as described in Unity’s manual.
Once you have a browser build, you can host it yourself or submit it to portals like Poki, CrazyGames, GameDistribution, itch.io, or playgama.com.
Sources
- Godot docs: exporting for the Web
- Godot docs: JavaScriptBridge
- Unity manual: Web
- MDN: Game development
- Playgama for developers
Related questions
Can I use Godot 4 GDScript for a web game instead?
Yes. GDScript builds export to HTML5 using Godot’s standard web export template, described in Godot’s exporting-for-web documentation, with no C#/.NET restriction.
How do Godot web builds talk to browser JavaScript?
Godot 4 web exports use the JavaScriptBridge singleton to call browser JavaScript from game code, replacing the JavaScript singleton used in Godot 3.
Last updated: 24 September 2026