Free online tool. All processing is client-side. No signup needed.
A TOML to JSON Converter transforms TOML configuration files into JSON format — bridging the modern config-file world (TOML) with the universal data-interchange world (JSON). As TOML becomes the standard for project configuration (Python's pyproject.toml, Rust's Cargo.toml, Hugo config), developers often need to convert these files to JSON for tool consumption, API responses, or integration with JSON-based systems. This converter handles the full TOML spec: tables, inline tables, arrays of tables, dotted keys, dates, and comments.
Paste TOML content. The parser produces a JSON representation: TOML tables become JSON objects, arrays of tables ([[a]]) become JSON arrays of objects, dotted keys (a.b.c) expand into nested objects, dates become ISO 8601 strings (JSON has no date type), integers and floats preserve their numeric types, booleans map directly. Comments are stripped (JSON doesn't support comments, but our tool can optionally preserve them as '_comment' keys).
TOML → JSON Conversion:\n\nFlat keys:\nname = \
Yes, via our TOML → JSON → YAML pipeline. First convert to JSON, then use our JSON to YAML converter. Direct TOML ↔ YAML conversion is planned.
Yes — strings, integers, floats, booleans, dates (to ISO 8601 strings), arrays, tables, arrays of tables, inline tables, and dotted keys. TOML-specific datetime types are converted to strings since JSON has no equivalent.
Free online Toml To Json — no signup, 100% client-side processing. All data stays in your browser.