Lua Formatter
Indent Lua scripts consistently.
What it does
Indents Lua scripts so functions, loops and tables line up by depth. Useful for game mods, Neovim settings and other configs written in Lua. You get the same script with a clear layout.
About the .lua format
.LUA file extension.lua Lua Source File
Developer Files
- File Type
- Lua Source File
- Developer
- Roberto Ierusalimschy, Waldemar Celes, Luiz Henrique de Figueiredo
- Category
- Developer Files
- MIME
text/x- lua
Lua is a lightweight, multi-paradigm programming language designed primarily for embedded systems and clients. Lua was originally designed to be a superset of the ALGOL language, with support for data description, recursion, lexical scoping.
Related tools
More in Code FormattersLua Formatter questions
How do I use the Lua Formatter?
Paste the text into the Input box or open a file, set the options, then copy or download the result.
Does renaming a file to .lua change its format?
No. The extension only tells programs what to expect, and the content of the file stays the same. To change the format, convert the file. The .lua page lists programs and converters for it.