TOML to JSON
Convert TOML files such as Cargo.toml, pyproject.toml and Hugo configs to JSON.
Runs in your browser. Nothing is uploaded Free, no sign-up Works on mobile
Indent
How to convert TOML to JSON
- Paste your TOML or open a file.
- Adjust the options if needed.
- Copy the JSON or download it as a file.
Frequently asked questions
Are TOML dates supported?
Yes. TOML dates and times are converted to ISO 8601 strings in the JSON.
Is my data sent to a server?
No. Everything runs in your browser, so API keys, tokens, configs and customer data never leave your machine.
Related tools
All Developer Tools →- JSON to TOML Convert a JSON object to TOML for Rust, Python and static-site generator configs.
- YAML to JSON Convert YAML config files to JSON, with syntax errors reported with line numbers.
- Base64 Encode / Decode Convert text to and from Base64, the encoding used in data URIs, emails, JWTs and basic authentication headers.
- URL Encode / Decode Make text safe for URLs and query strings, or read encoded URLs from logs and analytics.
- HTML Entity Encoder Safely show code and special characters on a web page, or turn &-style entities back into readable text.
- SQL Formatter Make long, single-line SQL queries readable for code reviews, documentation and debugging.