Lua Beautifier
Split Lua statements onto separate lines so code is easier to read.
- Free
- No sign-up
- Runs in your browser
Your result will appear here.
What does Lua Beautifier do?
Lua Beautifier splits Lua statements onto their own lines and indents blocks, so compressed scripts become readable.
What you can use
Lua code, for example from a game mod or config.
How to use Lua Beautifier
- Step 1
Paste the Lua code.
- Step 2
Press Beautify.
- Step 3
Copy the formatted code.
Good to know
- Only whitespace changes — the script runs the same.
Your privacy
Everything happens in this browser tab: what you paste is converted by JavaScript on your device and never sent to our server. Closing the tab clears it. Even so, don’t paste live passwords, API keys or customer records into any website.
Related tools
All Trending ToolsFrequently asked questions
Is Lua Beautifier free?
Yes. Lua Beautifier is completely free, with no sign-up, no watermark and no daily limit.
Is the data I paste sent to a server?
No. Conversion runs in JavaScript inside this browser tab and nothing you paste is sent or stored. Even so, avoid pasting live passwords, API keys or private customer data into any website.
Why do I get an error?
Almost always the input isn’t quite valid: a missing comma or quote in JSON, an unclosed tag in XML, or a tab in YAML. The error message shows where parsing stopped — fix that spot, or press “Load example” to compare with input that works.
Does it work on my phone?
Yes. It works in any modern browser on Android, iPhone, tablets and computers — nothing to install.