IDEAFACTORYS LAB · Developer

TOML Formatter

Paste TOML, then beautify or minify it locally. Errors stay on the page.

Paste TOML

Everything runs in your browser and is not uploaded. Input is parsed with the vendored smol-toml library and then written back: beautify uses indentation, minify drops extra blank lines. Parse failures are shown on this page; the tool never silently emits bad output. This page only formats TOML; it is not a TOML-to-JSON converter.

This is not a TOML-to-JSON converter. A parse failure is shown on the page and is never emitted as if it succeeded.

Result