Luaudit
Decompilers

Luau decompilers, measured

Tools that turn compiled Luau bytecode back into source code, scored from 0 to 100%. Higher is better.

Overall

One number per decompiler. The best in each chart is highlighted. Click a decompiler to open its page.

Scores

The overall number is built from four questions: is the output correct, did the tool behave, is the output readable, and was it fast.

Every score in one table

Click a column to sort by it. The best value in each column is green. A name opens that decompiler's page.

What readability is made of

Readability is a blend of these parts. Each runs from 0 to 100%, higher is better, and the best value in each column is green. The two columns marked ↓ are penalties: the share of callbacks pulled out into separately named functions, and the share of variables that reuse a name already in use. Lower is better there.

Red team

Bytecode damaged on purpose. Some inputs are impossible and should be refused, some are damaged but still valid and should decompile, and some exist only to crash the tool.

Decompilers

Who makes each tool, where to get it and how it scored. Each one has its own page.

Test set

What the decompilers were run on.

How it works

Each decompiler receives compiled Luau bytecode and has to return source code. What comes back is checked automatically.

Correctness
The returned source is compiled again and the result is compared with the original bytecode. The closer the two are, the higher the score. Code that does not compile scores nothing here.
Safety
The tool has to start, answer within the time limit, not crash and not flood its output. Most tools score close to 100%.
Readability
Meaningful variable names, clean control flow, little clutter and code that looks hand-written. Measured by rules, not by opinion.
Speed
How much of the time limit was left over. It only nudges the overall score, so a slow correct answer still beats a fast wrong one.
Overall
Normal, obfuscated and red-team tests are scored separately, and the overall score is the plain average of the three. No group can drown out another.
Normalized
A tool that returns nothing still earns points for not crashing. The normalized score subtracts that floor, so doing nothing scores 0%.
Red team
Damaged inputs test honesty. Refusing impossible bytecode is correct. Returning source code for it means the tool invented an answer.
Private test set
The tests are not published. A decompiler cannot be tuned to inputs it has never seen, so a high score means it works in general.