>_devtools

TOML Formatter & Validator

Format, validate, and explore TOML 1.0 documents with line and column errors.

What this does

Parses TOML 1.0 with a strict parser and rewrites it in a consistent layout: one space around =, a blank line between tables, and normalized strings and arrays. Use the Validate and Tree tabs for checking and exploring the same document.

Comments

Formatting rebuilds the file from its data, so comments are not kept. If you need to keep them, use the Validate tab to check the file and edit by hand.

Errors

A syntax error shows the line, the column, and a code excerpt with a caret. Duplicate keys, redefined tables, and invalid dates are all reported.

Dates

Offset date-times, local date-times, local dates, and local times are parsed and written back in their own form, so 1979-05-27 does not gain a time of day.

Privacy

Everything runs in your browser. Your input is never uploaded, stored, or put in the URL.