Convert TOML configuration files to JSON — parse Cargo.toml, pyproject.toml, Hugo config, and any TOML format instantly.
Click the left panel and paste your data (Ctrl+V / Cmd+V), or use the Paste or Sample buttons.
Press the ⚙️ Convert to JSON button. The result appears instantly in the right panel.
Any syntax issues in your input are shown in the red error bar with a clear description so you can fix them quickly.
Click Copy to copy to clipboard or Download to save the file locally.
TOML (Tom's Obvious Minimal Language) is a config file format used by Rust (Cargo.toml), Python packaging (pyproject.toml), Hugo static sites, and many modern tools. It is designed to be easy to read and write.
This tool uses @ltd/j-toml, a fully spec-compliant TOML v1.0 parser for JavaScript, loaded from jsDelivr CDN.
Yes — strings, integers, floats, booleans, dates, arrays, and inline tables are all supported and convert cleanly to their JSON equivalents.
TOML datetime values are converted to ISO 8601 strings in JSON, since JSON has no native date type.
Yes. All conversion runs locally in your browser. Nothing is sent to any server.
Not in this tool — TOML-to-JSON is a one-way conversion here. Use a dedicated TOML editor for the reverse.