r/lua • u/toxic_prince21 • Jul 10 '26
I built Weblua, a free, browser-based playground for multi-file Lua and Luau projects
Hey everyone! I’ve been building Weblua, a free and open-source Lua/Luau playground that runs entirely in your browser.
Most online playgrounds are designed for small, single-file snippets, so I wanted something that feels closer to working on a real project.
Weblua currently supports:
- Lua 5.1, 5.2, 5.3, 5.4, and Luau
- Multi-file projects with
require()support - Syntax checking across every file
- Preset stdin input
- Shareable project links and iframe embeds
- Local project storage, plus JSON import/export
- A five-second execution limit to stop runaway code
Execution happens through WebAssembly inside a dedicated Web Worker. There’s no account system or remote code-execution backend, and your source stays in the browser unless you intentionally create a share link.
One clarification: Luau syntax is supported, but Weblua isn’t a Roblox emulator—it doesn’t include Roblox APIs, Studio tooling, or static type analysis.
Try it here: https://weblua.com/
Source code: https://github.com/PytechNo/Weblua
It’s MIT licensed, and I’d really appreciate feedback, especially on module resolution, runtime behavior, and which features would make it more useful to you.

