TOML Editor & Converter
Validate TOML and convert it to JSON or YAML and back, for Cargo.toml, pyproject.toml and other config files.
TOML Editor & Converter
Supported TOML features
Strings, integers, floats, booleans, dates (ISO 8601), and special values (inf, nan).
Standard tables [section] and nested tables [section.subsection] with dotted key support.
Arrays [1, 2, 3] and inline tables {a = 1, b = 2} with proper nesting.
Triple-quoted strings """...""" for multi-line content and array of tables [[products]].
Related tools: YAML ↔ JSON Converter · JSON Formatter · YAML/JSON5 Validator
Updated . Provided as is. Check the output before you rely on it in production.
How to use TOML Editor & Converter
- 1
Paste TOML
Paste a TOML file such as Cargo.toml or pyproject.toml. Syntax errors are reported as you type.
- 2
Format or convert
Use Format to normalize the TOML, or convert TOML to JSON or YAML to see the parsed structure. Sort keys and indent width apply to the output.
- 3
Convert back to TOML
Switch the direction to turn JSON or YAML into TOML.
- 4
Copy or download
Copy the result or download it, then confirm your application reads the new config, for example by building the Rust project.
Questions and answers
What is TOML Editor & Converter?
Does TOML Editor & Converter store or send my data?
Which config files use TOML format?
For AI agents: how to call this tool
Machine-readable contract, endpoints and examples. Humans can ignore this section.
Best Path For Builders
Browser workflow
Runs instantly in the browser with private local processing and copy/export-ready output.
Browser Workflow
This tool is optimized for instant in-browser execution with local data handling. Run it here and copy/export the output directly.
/toml-editor/
For automation planning, fetch the canonical contract at /api/tool/toml-editor.json.