Roblox has started rolling out Web Play, a public beta for playing Roblox games in Chrome on Windows, macOS, and Android. It lets anyone with a Roblox account click a link and play, with no app to download.
Getting Roblox to run in a browser was the hard part. Its engine is built on 20 years of C++ code that expects to stop and wait for things, like a network reply. Browsers don’t let code wait like that. In a post on its newsroom, Roblox engineer Fatih Bakır said the first browser build froze almost immediately.
The tech behind Web Play
The freeze came right at start-up. The engine asked for its settings over the internet and waited, but the browser couldn’t deliver the reply until the engine stepped aside.
The fix was JavaScript Promise Integration (JSPI), a WebAssembly feature that shipped in Chrome. It lets the engine pause mid-task and pick up exactly where it stopped. That way, Roblox didn’t have to rewrite the engine to never wait. Bakır wrote that without JSPI, “this web client would not have worked.”
Before that, the team tried giving each task its own thread, but that version quickly ran out of memory on an Android device. Roblox then built its own lightweight fibers on top of JSPI. They switch about 14x faster and use about 1/70th the memory, at about 44 KB each instead of 3.1 MB.
Roblox also found a memory leak. Chromium kept paused tasks alive even when nothing could wake them, so every dead fiber leaked 17 KB. The leak first caused crashes on Android, and later a kernel panic on a Mac running macOS Tahoe. The team found a way around it.
Minimum specs and missing features
In an announcement on its developer forum, Roblox said the “Play in browser” button only shows on devices that meet a minimum spec. Windows PCs and Intel Macs need a 5th-gen Intel Core i5 from 2015 or better. All Apple silicon Macs work, and so do Android phones like the Pixel 6, Galaxy S10, Galaxy A15 5G, and Redmi A5.
Some features won’t reach Web Play any time soon, including voice chat, party chat, and friends chat. For now, it only works in Chrome, though Roblox said more browsers will get it over the next few months. Even Chrome on iOS isn’t supported. Almost all iOS browsers run on WebKit underneath, and Roblox hasn’t fully verified Web Play on iOS Safari.
Web Play is rolling out slowly over the next couple of months, so not all players will get it right away. Once it reaches you, just open any game on roblox.com in Chrome and click “Play in browser.”



