Decant

Convert TOML to JSON

Convert TOML files to JSON in your browser.

Drop files here

or paste them in. Whole folders work too.

  • Nothing is uploaded
  • Works offline
  • Free and open source

How to convert TOML to JSON

  1. Choose your TOML files, or drop them anywhere on this page.

  2. Check that JSON is selected, and change the settings if you need to.

  3. Select Convert, then save your JSON files.

About TOML and JSON

TOML

TOML is a simple configuration format used by tools like Cargo, Python’s pyproject.toml and Hugo.

JSON

JSON is the data format of web APIs and app settings: nested objects and lists in plain text.

Questions

How do I convert TOML to JSON?
Choose your TOML files or drop them on this page, check that JSON is selected, then select Convert and save the result. It works the same on a phone or a computer.
Is it safe to convert TOML to JSON here?
Yes. The conversion runs in your browser, so your TOML files are never uploaded, stored or logged.
Can I convert several TOML files at once?
Yes. Add as many as you like and they convert together. Save each result on its own, or all of them as one ZIP.

More TOML conversions