Program converter

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.

Converted on this device, never uploaded

What changes

LUAC to LUAWhat happens
ReadsLua 5.1, 5.2, 5.3 and 5.4, LuaJIT 2.0 and 2.1, and Luau
WritesLua source: ifs, loops, and/or, closures, tables, method calls
NamesKept where the file kept them; made up where it was stripped
CheckedCompiled again by the same Lua and run beside the original
UploadNone: read and written on your device

How to convert LUAC to LUA

  1. Add your LUAC. Drop the file in the box, or click to choose it. It becomes LUA straight away.
  2. Check the result. Look at the preview and the size. The defaults are right for most files.
  3. Download. Press Download to save the LUA.
Why 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.

Related conversions