How to prepare an HTML game for upload
Get a single-file HTML game ready for Upload Arcade: inline your assets, drop network calls, and add real controls.
One self-contained file
Upload Arcade hosts a single .html file up to 2 MB. That means every script, style, image, sound, and font has to live inside that file. Inline CSS in a <style> block, inline JS in a <script> block, and embed images and audio as data: URIs. Anything loaded from another server will be flagged by the scanner and blocked in the preview sandbox.
No network calls
Games run in an isolated sandbox with no network access. fetch, XMLHttpRequest, WebSocket, and external <script> or <link> tags will not work. This is deliberate: it is what keeps uploaded games safe for everyone. Design your game to run fully offline.
Add real controls and a title
Give the document a <title> and a viewport meta tag so it behaves on mobile. Wire up both keyboard and touch input where it makes sense, and include a visible way to pause, restart, and mute. The scanner checks for these and reports them honestly.