DevToolsmith

Lua Formatter

Format Lua source using the Lua WASM formatter.

Runs 100% in your browser — nothing is uploaded

Input
Tip: drop a file here54 chars · 54 bytes · 2 lines
Result
0 chars · 0 bytes · 0 lines

Up to 200,000 input characters and 2 million output characters. Processing stays on this device.

Use Lua Formatter

Format Lua source using the Lua WASM formatter. Start with the sample, select the options and run the tool. Copy or download the result after reviewing it.

Behavior and limits

Format Lua source using the Lua WASM formatter. Source is parsed and formatted locally without executing it. Formatting is not compilation, linting or dependency resolution.

Example input

local function add(a,b) return a+b end
print(add(1,2))

Expected behavior for the example

Formats the Lua sample consistently and reports parser errors when supported by its formatter.

Check important output in the application that will consume it. Use the tool directory to find related formats and tasks.

Frequently asked questions

How does Lua Formatter handle my input?

Format Lua source using the Lua WASM formatter. Source is parsed and formatted locally without executing it. Formatting is not compilation, linting or dependency resolution.

Is my input uploaded or saved automatically?

Processing runs locally in this browser. Input and results are not saved automatically. Downloads happen only when you choose them. The static preview blocks scripts and external resources when one is available.