Skip to main content
>_devtools

TOML Formatter & Validator

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

What it does

Format TOML 1.0, check its syntax, or inspect parsed tables and arrays. Choose a mode to see normalized TOML, a validation summary, or the parsed tree.

Example

Input:
[owner]
name = "Ada"

Output (Format):
[owner]
name = "Ada"

Limits and behavior

  • Invalid TOML reports a source line and column and clears stale output.
  • Formatting rebuilds values, so comments are not retained.
  • Tree mode shows the parsed document without changing its source text.