EN
PortuguêsEnglishEspañolDeutschFrançaisItaliano日本語Русский中文
Home Favorites
Voltar

TOML to JSON converter

Convert TOML to JSON and JSON to TOML, with the exact line shown when there is a syntax error.

How to use

Convert TOML and JSON.

Available in: PortuguêsEspañolEnglishDeutschFrançaisItaliano日本語Русский中文

Next toolJSON Schema validator→
Advertisement

TOML to JSON converter: what it is for

Convert TOML files such as pyproject.toml, Cargo.toml, netlify.toml and wrangler.toml into formatted JSON, or go the other way. Conversion is instant, shows the error message when the syntax is wrong and lets you copy or download the result.

Everything runs in your browser: nothing you paste or open is sent to a server.

How to use

  1. Choose the conversion direction.
  2. Paste the TOML or JSON.
  3. Copy or download the result.

When to use it

  • Read configuration files in another format.
  • Generate TOML from JSON data.
  • Check the syntax of a TOML file.

Frequently asked questions

Where is TOML used?

In configuration files such as Python’s pyproject.toml, Rust’s Cargo.toml, netlify.toml, Cloudflare’s wrangler.toml and Hugo’s config.toml.

What do TOML dates become in JSON?

TOML dates and times become ISO 8601 text (for example 2024-05-01T10:00:00Z), since JSON has no date type.

Does my data leave the browser?

No. The conversion runs entirely in your browser.

Is it really free?

Yes, 100% free. No sign-up, no subscription and no usage limits. All Tools123 are free.

Similar tools

Thank you so much for helping!

Every donation helps keep the site online. The tools were made to help you, but we have server costs. If you can chip in, it helps a lot! Pick or type an amount:

Secure payment by Stripe. Opens in a new tab.

The tools are provided as is, without warranty. We are not responsible for the results or for how they are used.