Compatibility, API Support, File Structure

Browser Compatibility

  • Chrome 80+
  • Firefox 75+
  • Safari 14+
  • Edge 80+

API Support

As of Godot 4.4.1, web exports are very limited in terms of API availability, only supporting the Compatibility render mode. Furthermore, C# isn't supported, so you can't use the .NET version of the engine for web exports. You can read more info about it here. More on [[#Compatibility]] section down below.

File Structure

When you export for web in Godot:

  1. The engine compiles your project into WebAssembly
  2. Resources are packaged into .pck files
  3. Generated files include:
    • .wasm files containing the compiled engine and game code
    • .pck files containing your game assets
    • .js files for browser integration and loading
    • .html files for displaying the content
    • Optional service worker files for PWA functionality

What’s Next