π
Lua PlaygroundFengari (VM)
About This Lua Online Compiler
Welcome to the fastest Lua online editor. Write, test, and run Lua code in your browser using the Fengari VM. Perfect for testing Roblox scripting logic, World of Warcraft addons, or learning Lua 5.3 features.
Key Features
- check_circleFengari Web β the most robust Lua VM for the web
- check_circleLua 5.3+ with modern syntax and standard libraries
- check_circleInstant feedback β see output immediately
- check_circleShare code snippets via unique URLs
- check_circleZero latency β runs entirely client-side
How to Use
- 1Enter your Lua source code in the editor.
- 2Click 'Run' to execute via the Fengari VM.
- 3View console output in the terminal pane.
- 4Use the Share button to generate a link.
Frequently Asked Questions
The playground supports Lua 5.3+ via the Fengari JavaScript implementation.
You can test pure Lua logic, but Roblox-specific APIs (like game, workspace) are not available in this environment.
Yes, completely free with no signup required.
Embed this sandbox
Drop this into any page and readers can run code without leaving it. The snippet travels in the URL, so there is nothing to host and no account to create. Open the sandbox, write your example, press Share, then paste that linkβs query onto the embed URL to preload it.
<iframe src="https://webfiddle.xyz/embed/lua" width="100%" height="480" loading="lazy"
style="border:1px solid #ddd;border-radius:8px"
title="WebFiddle lua sandbox"></iframe>