Lua minifier

Input

Minified result ()

for a=1,10 do for b=1,10 do for c=1,10 do if c^2+b^2==a^2 then print('found a Pythagorean triple:',c,b,a)goto d end end end end::d::
Before
202 bytes
After
132 bytes
Compression ratio
34.65%

About this tool

This tool uses luamin to minify any Lua snippet you enter. Under the hood, luamin uses luaparse.