DevToolsmith

TOML Formatter

Parse and consistently serialize TOML tables, arrays and configuration values.

Runs 100% in your browser — nothing is uploaded

TOML input
Tip: drop a file here68 chars · 68 bytes · 4 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 TOML Formatter

Parse and consistently serialize TOML tables, arrays and configuration values. Start with the sample, select the options and run the tool. Copy or download the result after reviewing it.

Behavior and limits

Formatting rebuilds TOML from parsed values, so comments and original layout are removed. Dates and supported integers remain typed. Values that would lose numeric fidelity, including non-finite floats, are rejected before formatting.

Example input

title="Example"
[server]
port=8080
hosts=["localhost","example.com"]

Expected behavior for the example

A consistently spaced TOML document with a server table, port and hosts array.

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 TOML Formatter handle my input?

Formatting rebuilds TOML from parsed values, so comments and original layout are removed. Dates and supported integers remain typed. Values that would lose numeric fidelity, including non-finite floats, are rejected before formatting.

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.