TOML ↔ JSON client-side
?
How to use TOML ↔ JSON

Convert freely between TOML and JSON in both directions, all inside your browser. TOML is loved for writing clear hand-written configuration, while JSON remains the standard for exchanging data between applications and APIs. This tool lets you move from one to the other without friction. It is handy for preparing a configuration file, testing it in a web app, then converting it back to TOML once validated. The result is always indented and ready to copy. No data is sent over the Internet. The conversion runs locally in JavaScript, which keeps your keys, tokens and other sensitive configuration details safe

Convert freely between TOML and JSON in both directions, all inside your browser

TOMLJSONDataConversion

How to use TOML ↔ JSON

Convert freely between TOML and JSON in both directions, all inside your browser. TOML is loved for writing clear hand-written configuration, while JSON remains the standard for exchanging data between applications and APIs. This tool lets you move from one to the other without friction. It is handy for preparing a configuration file, testing it in a web app, then converting it back to TOML once validated. The result is always indented and ready to copy. No data is sent over the Internet. The conversion runs locally in JavaScript, which keeps your keys, tokens and other sensitive configuration details safe

Frequently asked questions

Does the conversion work both ways?

Yes. You can convert TOML to JSON and back again, depending on the format you need

Is the hierarchy preserved?

Yes. TOML tables map to JSON objects, and arrays are kept consistent between both formats

Do my configurations stay private?

Yes. Everything is processed in your browser, and no data leaves your machine

Why use TOML instead of JSON?

TOML is more human-readable and allows comments, which makes it a good choice for hand-edited configuration files