Loading editor...
Our free online Lua editor lets you write and run Lua code directly in your browser. Perfect for game scripting, embedded systems, and learning Lua with no installation required.
Write your Lua code in the editor
Click Run to execute your script
View output and errors in the console
Share your code via URL
We support Lua 5.4 with all standard features including tables, metatables, coroutines, and the string library.
Yes, Lua is widely used in games. You can test game logic, AI scripts, and data structures here before integration.
The Lua standard library is available. For external modules like LuaRocks packages, use a local setup.
Yes, full coroutine support is available for testing cooperative multitasking and generators.