TOML ↔ JSON Converter

Convert between TOML and JSON formats bidirectionally. Supports pretty print for JSON output.

How to Use

  1. 1

    Select conversion direction

    Choose whether to convert TOML to JSON or JSON to TOML using the tabs.

  2. 2

    Enter your data

    Paste or type your TOML or JSON into the input field.

  3. 3

    Configure options

    Toggle pretty print for formatted JSON output.

  4. 4

    Convert

    Click Convert to transform your data between formats.

TOML (Tom's Obvious Minimal Language) is a configuration file format designed to be easy to read and write. It's used by Rust's Cargo, Python's pyproject.toml, and many other modern tools. TOML is more readable than JSON for configuration.

  • Converting Cargo.toml for analysis
  • Working with pyproject.toml configurations
  • Migrating configuration file formats
  • Debugging TOML configuration issues
  • Generating TOML from structured data