TOML Formatter

Beautify and validate TOML. Format config files for Rust, Python, and more.

What is TOML?

TOML (Tom's Obvious Minimal Language) is a config format. It's easy to read, with sections in [brackets] and key = value pairs. Used by Rust's Cargo, Python's pyproject.toml.

What is it used for?

  • Rust: Cargo.toml for dependencies
  • Python: pyproject.toml for packaging
  • Config: App settings, tool configs
  • Static sites: Hugo, Zola config

How it works

Beautify reformats. Validate checks syntax. Uses smol-toml. All processing in your browser.