How to Publish an HTML5 Game on Snapchat as a Web Lens: Zip Rules, 8 MB Limit, Review, Payouts
Developers who already ship HTML5 games keep listing Snapchat next to Facebook Instant Games and TikTok as a place to put them, and asking how it works (dev on X adding a puzzle game to Facebook Instant Games, Snapchat lens and TikTok, dev on X listing web game outlets incl. Snapchat lens). Snap now has a route built for exactly this, called Web Lenses. Everything below comes from Snap's own developer docs, checked November 4, 2026. Snap says Web Lenses are in beta and details can change (Snap: Web Lenses).
1. What a Web Lens is
- A Web Lens is a web app that runs inside Snapchat as a Lens. You build it with normal web tech, zip the build, and upload it through My Lenses. You never open Lens Studio (Snap: Web Lenses).
- Games are the first supported use. Snap says portrait, touch, small mobile web games are a natural fit (same page).
- Any framework works, but Snap "strongly recommends" PlayCanvas, its own HTML5 engine (Snap: Developer FAQ).
- Snap also offers Easy Lens, where Lens+ subscribers describe a game in a chat and it writes the code for them (Easy Lens: Web Lenses).
2. What your game can't do (yet)
A Web Lens can't reach the network, can't use the camera or microphone, can't read motion sensors, and its browser storage starts empty on every launch (Snap: Web Lenses). That rules out loading ads or assets from a server. Scripts loaded from a URL are blocked too, so everything has to ship inside the zip (Snap: Web Lens API).
Snapchat features come through the Web Lens API (npm package @snap/web-lens-api): leaderboards, Bitmoji, and storage that survives between launches. Outside Snapchat it answers from a built-in stub, so you can build and debug in a desktop browser (same page). Easy Lens says leaderboards and saved progress work now and Bitmoji is "coming soon" (Easy Lens).
3. The zip rules
From Snap: Platform requirements, which says most failed submissions trace back to one of these:
- index.html at the root of the zip, not inside a dist/ folder. Zip the files inside the build folder, not the folder itself.
- Relative paths only:
./a/game.js, never/a/game.js, in index.html, scripts and runtime fetches. In Vite setbase: './'. Absolute paths give a blank screen. - Forward slashes in zip entries. PowerShell's Compress-Archive writes backslashes, which break the Lens; Explorer's "Compress to ZIP" and
zip -rare fine. Check withunzip -l. - Zip 8 MB or smaller (compressed), and index.html 1 MB or smaller. Snap calls 8 MB enough for a hypercasual game and says the beta limit may change.
4. Icon, preview video, upload
From Snap: Publishing:
- Upload three things in My Lenses: the zip, a Lens icon and a preview video. Create a new Lens, choose the Web Lens option, add the name, icon and video, and submit for review.
- Icon: 512 x 512 PNG, no transparency, no text, subject centered, because Snapchat crops it into a circle on the Snapcode.
- Preview video: 720 x 1280, 5 seconds, H.264 with AAC audio, MP4, constant 30 fps, with the faststart flag. Snap's advice is to show your game's most exciting moment, not a fresh start.
- Easy Lens limits the Lens name to 18 characters (Easy Lens).
5. Review
- Web Lenses go through the same review as other Lenses, under the Lens submission guidelines. Once approved they show up wherever Lenses do, and players can find them by name or Snapcode (Snap: Publishing).
- You can't open a Web Lens inside Snapchat before it passes review, and every new upload is reviewed again. Snap suggests testing each build on a phone in portrait and batching fixes rather than submitting one at a time (same page).
6. Money: Lens Creator Rewards
There are no in-game ads (the Lens can't reach the network). Snap pays through Lens Creator Rewards, which needs you to be 18 or older and based in one of the listed countries (the US, Canada, UK, most of Western Europe, India, Japan and others). A Lens can be in only one payout program at a time, and once enrolled you can't un-enroll it, only delete it.
- Top Performer Payouts: open to anyone eligible, no follower minimum. A Lens must reach at least 15,000 "Qualified Posters" (unique people in qualifying regions who post a Snap using it to Spotlight or Stories) within 90 days of submission. It must be Public. Enrolling doesn't guarantee a payout (Snap: Top Performer Payouts). Payouts come in the month after the 90-day window ends (Snap: Monetization FAQ).
- Lens+ Payouts: only for creators Snap approves after an application. Your Lens becomes Exclusive to Lens+ and Platinum subscribers and earns a revenue share based on their engagement. It needs a Lens+ score of 100 or more to be paid, and payouts are monthly for the previous month, usually 1 to 2 weeks after it ends. No unlicensed music or sounds (Snap: Lens+ Payouts). Snap's pages we checked don't publish the revenue-share percentage.
- Rewards usually take about 14 days to show in your balance, and you cash out through the Rewards Hub in Snapchat (Snap: Monetization FAQ).
Since the Lens is an offline zip, a version for Snapchat usually means a cut-down build: no ad SDK, no server calls, under 8 MB. Check each portal's exclusivity rules before you reuse the same game elsewhere.
Related
Publish on TikTok Minis · Publish on Facebook Instant Games · Publish on YouTube Playables · One HTML5 build, many portals · Portal exclusivity compared
FAQ
Can I put my HTML5 game on Snapchat?
Yes, as a Web Lens (in beta): zip a static web build with index.html at the root and relative paths, keep it under 8 MB, and upload it through My Lenses with a 512x512 icon and a 5-second preview video.
Can a Snapchat Web Lens show ads or load from a server?
No. Snap says a Web Lens cannot reach the network, so everything must ship inside the zip. Leaderboards and saved progress come through the Web Lens API.
How do Snapchat Lens games make money?
Through Lens Creator Rewards: Top Performer Payouts need 15,000 unique posters within 90 days, and Lens+ Payouts (approved creators only) pay a revenue share on Lens+ subscriber engagement. Snap does not publish the percentage.
Sources checked 2026-11-04. Terms you sign override this page. Spot an error? Report a correction.