Ship your game to the browser
Export a WebGL build, upload it with one command, and let anyone play it right on your game's page — no downloads.
1. Export your game to WebGL
Unity: Build Settings → WebGL. Godot: Export → Web. You need a folder with index.html at the root. For the first try, use Gzip or Disabled compression for easiest compatibility.
2. Create an API key
In your profile → API Keys, create a key with the webgl:upload and webgl:deploy scopes. Copy it — it's shown only once.
webgl:upload webgl:deploy4. Log in & deploy
Log in with your key, then deploy your build folder. Grab the ready-made command — with your project ID — from the Manage WebGL tab on your game's page. The CLI does the rest: zip → upload → extract → activate. (Use --precompress only for Brotli/Gzip-compressed builds.)
tgn auth login tgn_k1_xxxxx
tgn deploy ./Build --project <PROJECT_ID> --precompress5. Publish it
In the Manage WebGL tab on your game's page, hit “Publish” → a “Play now” tab appears and any visitor plays right in the browser.
Limits
- Storage per developer
- 300 MB
- Max upload size
- ~500 MB
- Versions kept
- 10
- Entry point
- index.html
Safe by design
- Runs in a sandboxed iframe on a separate domain.
- Versioned — roll back to any build instantly.
- Any engine: Unity, Godot, or any HTML5 build.
Frequently asked questions
How do I export my game from Unity to WebGL?
+
In Unity open File → Build Settings, select the WebGL platform, hit Switch Platform, then Build. You get a folder with index.html at its root — that folder is exactly what you upload. For a first build, set compression to Gzip or Disabled in Player Settings for the easiest compatibility.
Do I need a CLI tool to upload my game?
+
It's not mandatory: you can upload a .zip directly from the Manage WebGL tab in the browser. The CLI is just the fastest path — one command handles zip, upload, extraction and activation — and it ships as a ready-to-run binary for Windows, macOS and Linux with no install, or as a dotnet global tool if you have the .NET 8 SDK.
How much free hosting storage do I get?
+
Every developer account gets 300 MB of hosting for free, and a single uploaded archive can be up to 500 MB. If you need more room, you can submit a custom-quota request from the quota management page.
Can I embed my game in another website?
+
Yes. Your game is served from a separate domain inside a sandboxed iframe, so you can embed it with an iframe tag on any site you own while it stays isolated from your parent page's cookies and data. There is no exclusivity — the same build can be published anywhere else too.
Ready to ship your game?
Start from your project page on TGN and add a WebGL build.
Further reading
- Game Developmentتاريخ العاب العربيةهذا مقال عن تاريخ العاب العربية
- Game Designلماذا يعتبر "مستند تصميم اللعبة" (GDD) سر نجاح مشروعك الأول؟تعرف على كيفية عمل وثيقة تصميم الألعاب (GDD) كمخطط أساسي لمشاريع Unity، وتحويل آليات اللعب المجردة إلى كود C# قابل للتوسع وأنماط تصميم برمجية.
- GeneralWhat Is a WebGL Game? How Browser Games WorkA WebGL game is a full 3D game that runs inside your browser with no plugins or download. Learn what WebGL is, how it works, and why it powers instant play.
- Tools & ResourcesUpload Your WebGL Game With the TGN CLIShip faster from the terminal. Learn to package and upload your WebGL build to The Gaming Nest with the TGN CLI, plus versioning and update tips.
- Game DevelopmentFix Unity WebGL Not Loading: Common ErrorsYour Unity WebGL game won't load? Fix black screens, memory errors, compression and CORS issues with this practical checklist to get your browser build running.
- Game DevelopmentUnity vs Godot: Which to Learn as a BeginnerUnity or Godot for your first game? Compare cost, learning curve, 2D vs 3D, jobs, and WebGL export to pick the right beginner engine in 2026.