How to Put an HTML5 Game on Steam: Electron or Tauri, the 100 Dollar Fee and the No-Ads Rule
Developers who build games in the browser keep asking whether, and how, they can sell them on Steam. One developer asked if a Steam game can just be a browser window that loads their game page (r/gamedev, January 2026); another asked about browser-based games on Steam in general (r/gamedev). On X, one developer put it simply: Steam wants a desktop build, so a web game ends up wrapped in Electron or Tauri, and save files and controller support usually break first (X, November 2026). Below is what Valve and the tool makers say on their own pages, checked November 21, 2026. Steam is a store, not a publisher in this directory.
Step 1: turn your web game into a desktop program
- Electron ships its own browser. Electron builds desktop apps by embedding Chromium and Node.js, so your game runs on the same browser engine on every player's machine (Electron docs). The trade-off is a bigger download.
- Tauri uses the browser already on the computer. On Windows that is WebView2, which is based on Microsoft Edge and so on Chromium; it comes preinstalled on Windows 11 and Tauri's installer adds it on older Windows (Tauri: Webview Versions). On other systems the engine differs, so test on every platform you ship.
- Ship the game files inside the program. In the r/gamedev thread above, the most upvoted reply said browser-based Steam games load their HTML from local files, not a remote server, and other replies said loading a live website works but makes updates and security your job (advice from replies, r/gamedev).
- Developers say it is not hard. One developer who released two Electron games on Steam wrote that it is "so so simple" (self-reported, r/electronjs).
Step 2: add Steam features (optional)
- A wrapped game can launch from Steam without any Steam code. For achievements and the Steam overlay, steamworks.js is a free, MIT-licensed Steamworks library for Electron and NW.js games. You install it with
npm i steamworks.js, start it with your app ID (or asteam_appid.txtfile), and callelectronEnableSteamOverlay()at the end of Electron'smain.jsto turn on the overlay (steamworks.js on GitHub). - Because it is a native module, its README says the Electron window needs
nodeIntegration: trueandcontextIsolation: falseto use it from the game page (steamworks.js README).
Step 3: join Steam Direct
From Valve's Steam Direct page:
- 100 US dollar fee per game, paid with a normal Steam payment method (not Steam Wallet). It is not refundable, but Valve pays it back after the game has at least 1,000 US dollars in adjusted gross revenue from Steam store sales and in-app purchases (Steam Direct Fee docs).
- Paperwork: bank, tax and identity details. Valve says this takes 15 to 30 days. The bank account name must match your legal ID.
- Review: before your store page or build goes live, Valve runs the game and checks the page. This takes 1 to 5 days.
- 21 day wait between paying the fee and releasing your first games.
- Coming Soon page for at least two weeks before release, so players can wishlist the game.
Step 4: take the ads out
- Steam does not accept "applications with advertising-based business models" (Steam Direct rules). If your web build shows portal ads or rewarded ads, remove them from the Steam version and sell the game instead.
- The same list bans blockchain apps that issue or trade cryptocurrencies or NFTs, and content you do not own the rights to (Steam Direct rules).
What you keep
- Valve takes 30 percent of sales, so you keep 70 percent, on a game's first 10 million US dollars. On earnings between 10 million and 50 million dollars Valve takes 25 percent (you keep 75 percent), and above 50 million it takes 20 percent (you keep 80 percent). Valve announced these tiers on November 30, 2018 (Steamworks announcement, reported by The Verge and Game Developer).
What we could not find
- A Valve page that says anything special about games built with web tech or wrapped in Electron or Tauri. The Steam Direct rules do not mention them.
- A Valve rule on Steam games that load a live website instead of local files.
Related: HTML5 game on Google Play · sell or license your HTML5 game · publish on itch.io · first players for your web game · Browse the directory
FAQ
Can I put an HTML5 game on Steam?
Yes. Steam installs desktop programs, so you wrap your web game in a tool such as Electron (which bundles Chromium) or Tauri (which uses the system web view), then submit it through Steam Direct.
How much does it cost to put a game on Steam?
A 100 US dollar Steam Direct fee per game. It is not refundable, but Valve pays it back after the game reaches 1,000 US dollars in adjusted gross revenue. Valve then takes 30 percent of sales on the first 10 million dollars, so you keep 70 percent.
Can my Steam game show ads?
No. Steam Direct rules say Valve does not accept applications with advertising-based business models, so remove web portal ads from the Steam build.
Sources checked 2026-11-21. Terms you sign override this page. Spot an error? Report a correction.