TOML ↔ JSON Converter

Convert Rust Cargo.toml and Python pyproject.toml files to JSON and back.

Free Browser + server Privacy Guaranteed • Fast Execution
No ratings yet

Tool Instructions & Quick Guide

TOML ↔ JSON Converter

Add your file in the workspace below, choose the options you need, then run TOML ↔ JSON Converter and download the result. Browser + server.

Recommended Next Steps & Workflows

Tools people often use after TOML ↔ JSON Converter

Explore all Developer Tools

About TOML ↔ JSON Converter

TOML to JSON Converter reads a TOML configuration, such as a pyproject.toml or a Cargo.toml, and shows it as JSON, or takes a JSON object and writes TOML. It detects which way to go from the text you paste.

It covers the common building blocks of TOML: key-value pairs, [tables], arrays, strings, numbers and booleans. The text is processed on ProIT's server.

How to use TOML ↔ JSON Converter

  1. 1

    Paste your text

    Use the Input Text tab and paste TOML or a JSON object.

  2. 2

    Run the tool

    The converted text appears, along with the parsed result.

  3. 3

    Review

    Check dates, nested tables and arrays of tables, which are the parts most likely to need a closer look.

Example

a = 1, b = [1, 2] and a [t] table with c = "x" becomes {"a": 1, "b": [1, 2], "t": {"c": "x"}}.

Good to know

Text starting with { is treated as JSON and written out as TOML; anything else is read as TOML.
This is a lightweight converter for typical config files. Unusual TOML features may not convert, so test the result with your own tools before relying on it.
JSON has no comments, so TOML comments are dropped in the conversion.

Where it runs & limits

Where it runs Browser + server
Your data Some steps run in your browser and some on the ProIT server. Anything sent to the server travels over HTTPS and uploaded files are deleted after processing.
Limits Free: up to 10 MB per file • Pro: 100 MB • Business: 500 MB
Price Free, no account needed

Maintained by QUICKGRABBER LLC · Page updated 2026-11-12 How we handle files

Questions about TOML ↔ JSON Converter

Which direction does it convert?

It decides from your text: text starting with { is JSON and becomes TOML, otherwise it is read as TOML and becomes JSON.

Are comments kept?

No. JSON cannot hold comments, so they are dropped when converting from TOML.

Is it a complete TOML parser?

It handles common config features. Check results for unusual constructs before using them in production.

Guides and tutorials

All guides

YAML, JSON and TOML: Choosing and Converting Config Formats

How YAML, JSON and TOML differ, which fits which job, and what can go wrong when you convert between them, with a pre-conversion checklist. · 5 min read

How to Convert CSV to JSON (and Back) Without Breaking Your Data

Turn a spreadsheet export into a JSON array and back, keep IDs and leading zeros intact, handle quoted commas, and validate the result before you import it. · 4 min read

Accessible Color Contrast: A Practical WCAG Guide

What contrast ratios WCAG requires, how to check a text and background pair, how to fix a failing colour, and how to build a palette that passes. · 5 min read