Beautify TOML Online — Free TOML Beautifier
Beautify TOML configs with consistent indentation. Optional comment stripping on parse-based beautify — see FAQ.
Loading…
TOML Beautification
Beautify TOML online.
Features
Format with indent control (comments not preserved on parse).
Beautify TOML
Format with indent control (comments not preserved on parse).
Basic example
TOML source
Beautified TOML
Options
Sort Keys
Sort object keys alphabetically when parsing and rewriting TOML.
Indent Width
2 or 4 spaces for beautify and unminify output.
TOML Style
Readable (spaced = and blank lines between tables) or tight (compact) formatting.
TOML conversion helpers
Use JSON → TOML, TOML → JSON, YAML → TOML or TOML → YAML for format conversion.
FAQ — Beautify TOML
Beautification
Why did comments disappear?
TOML parse drops # comments — documented limitation.
Minify instead?
Use TOML minifier with removeComments: false to keep # lines when possible.
pyproject.toml?
Same formatter works for Python project metadata — review PEP 621 fields after formatting.
Looking for converters, encoders, formatters, and minifiers in one place? Developer tools hub Open the curated developer tools catalogue.