Skip to content
ConvertPassConvertPass home

TOML

TOML (Tom’s Obvious Minimal Language) is designed for config files. It has tables, arrays, and datetimes, and it refuses some of YAML’s cleverness.

Common uses

  • Cargo.toml and many Rust tools
  • Python pyproject.toml
  • Application config

Strengths

  • Readable tables
  • Comments
  • Less implicit typing than YAML 1.1

Weaknesses

  • No null
  • Not ideal as an HTTP payload
  • Datetime edge cases

Compatibility. TOML 1.0 is the ConvertPass target.

Size and quality. Similar to other text config formats.

How to open it. Any text editor.

How to convert it. TOML to JSON and JSON to TOML. JSON must be an object at the root.

Security and privacy. Treat config as secret-bearing. Convert locally. Do not execute TOML as code; it is data.

Related tools

  • TOML to JSON

    Turn TOML config into JSON without uploading your secrets file.

  • JSON to TOML

    Serialise JSON config as TOML when the root is an object.

  • .env to JSON

    Parse a .env file into JSON without sending secrets to a server.

Related comparisons

Last reviewed 16 August 2026.