TOML to JSON Converter
Parse TOML files (Cargo.toml, pyproject.toml) and convert them to formatted JSON.
About this tool
Easily convert Rust, Python, Hugo, or Netlify TOML configurations into standard JSON for programmatic analysis.
How to use this tool
- Paste your TOML text into the editor.
- Click Run TOML to JSON.
- Copy the parsed JSON structure.
How it works
Uses the robust smol-toml parser in WebAssembly/JS to validate and translate TOML tables, dates, and arrays to JSON.
When to use this tool
- Inspecting dependencies in pyproject.toml or Cargo.toml.
- Converting static site configurations into JSON data.
Frequently asked questions
Does it support inline tables and multiline strings?
Yes, full standard TOML 1.0 syntax is supported.
Limitations
Input must adhere to standard TOML syntax.
Privacy
Runs entirely in your browser without telemetry.