TOML to JSON

Convert TOML configuration files to JSON instantly in your browser.

Input TOML
Output JSON

About TOML

TOML (Tom’s Obvious, Minimal Language) is a configuration file format designed for human readability. It is used by Rust’s Cargo (Cargo.toml), Python Poetry (pyproject.toml), Hugo, and many other tools.

Key TOML features: tables ([section]), arrays of tables ([[items]]), multi-line strings, typed values (integers, floats, booleans, datetimes), and inline tables. This converter handles all standard TOML v1.0 constructs.

Note: TOML datetimes are serialized to ISO 8601 strings in JSON, since JSON has no native datetime type. Array tables become JSON arrays of objects.