EN
EnglishEspañolPortuguêsFrançaisDeutschItalianoРусский中文
Get a website

Convert TOML to JSON

Convert TOML files to JSON online for free. No sign-up, no ads, and your file is deleted right after.

Your config is written in TOML. Your JavaScript only reads JSON. Fix that.

From Cargo.toml to Curly Braces: What Survives the Trip

Your Rust or Python project keeps its settings in Cargo.toml or pyproject.toml, but the dashboard, API, or JavaScript script that needs them only speaks JSON. Converting turns TOML tables into nested objects and arrays of tables (the [[double bracket]] kind) into arrays of objects, so the structure carries over intact.

Some things don't survive. Comments vanish, because JSON has no comments. TOML's native dates and times become plain strings, so your code has to parse them again. Very large integers can also lose precision when JavaScript reads them, since it can't exactly represent whole numbers beyond 2^53. Check those before you ship.

What are TOML and JSON?

TOML: fmt.toml

JSON: structured data used by most web applications

How it works

  1. Choose your TOML file.
  2. Check that JSON is selected and press convert.
  3. Download your new file. We delete both files automatically.

Questions

Will my TOML comments be kept in the JSON?

No. JSON has no comment syntax, so every comment in your TOML file is dropped. Keep the original TOML file if those notes matter to you.

Is my config file stored after I convert it?

No. Files are deleted right after conversion. There is no sign-up and there are no ads, so nothing ties your file to you.

Is it free to convert TOML to JSON?

Yes. Converting TOML to JSON on Kevora is free, with no sign-up and no ads.

What happens to my file?

It is only used to create your conversion. We delete it as soon as the result is delivered.

Made by Kevora

We built this. Imagine your website.

These tools are free because they show what we can do. We design websites with real character for businesses that want more customers, from $30 for the first year.

Visit Kevora