Loading editor...

Quick Answer

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.

How It Works

1

Write your Lua code in the editor

2

Click Run to execute your script

3

View output and errors in the console

4

Share your code via URL

Key Facts

  • Run Lua code instantly in your browser
  • Tables, metatables, and coroutines
  • Perfect for game development scripting
  • Lightweight and fast execution
  • No Lua installation required
  • Syntax highlighting and error messages

Frequently Asked Questions

Which Lua version is supported?

We support Lua 5.4 with all standard features including tables, metatables, coroutines, and the string library.

Can I use Lua for game scripting?

Yes, Lua is widely used in games. You can test game logic, AI scripts, and data structures here before integration.

Are external modules available?

The Lua standard library is available. For external modules like LuaRocks packages, use a local setup.

Can I test coroutines?

Yes, full coroutine support is available for testing cooperative multitasking and generators.