LUAC to LUA converter
To convert LUAC to LUA, drop your LUAC file in the box below. It converts straight away; press Download to save the LUA. It all happens in your browser, so your file stays on your device.
What changes
| LUAC to LUA | What happens |
|---|---|
| Reads | Lua 5.1, 5.2, 5.3 and 5.4, LuaJIT 2.0 and 2.1, and Luau |
| Writes | Lua source: ifs, loops, and/or, closures, tables, method calls |
| Names | Kept where the file kept them; made up where it was stripped |
| Checked | Compiled again by the same Lua and run beside the original |
| Upload | None: read and written on your device |
How to convert LUAC to LUA
- Add your LUAC. Drop the file in the box, or click to choose it. It becomes LUA straight away.
- Check the result. Look at the preview and the size. The defaults are right for most files.
- Download. Press Download to save the LUA.
A .luac file (or a .lua file that won’t open as text) is compiled Lua: bytecode made by luac, LuaJIT or Roblox’s Luau. Decompiled, it is Lua source again that runs the same as the bytecode.
Questions
How do I decompile a .luac file?
Drop it here: the .lua file is ready straight away. The file viewer shows the same source beside every function’s instructions.
Will I get the original script back?
Its code, yes, but not its comments or layout: bytecode doesn’t keep them. When the file was stripped (luac -s, luajit -b, Roblox) local names are made up too.
Which Lua made my file?
The file says: drop it in the file viewer to see the version, whether it was stripped and every function it holds.
Is my file uploaded?
No. The conversion happens right in your browser, so your file stays on your device. There is no account to make, either.