ToolWren logo ToolWren
ToolWren › JSON ⇄ TOML

JSON ⇄ TOML Converter

Convert JSON into TOML or TOML into JSON instantly. Built for config files like Shopify’s shopify.app.toml, Rust’s Cargo.toml and Python’s pyproject.toml.

100% client-side · nothing is uploaded

Loading tool…

How to use the JSON ⇄ TOML

  1. Choose a direction with the JSON → TOML / TOML → JSON toggle.
  2. Paste your JSON (or TOML) into the Input box — conversion happens instantly.
  3. Nested objects become [table] sections and arrays of objects become [[array]] blocks (e.g. Shopify [[extensions]]).
  4. Click Copy to grab the result for your shopify.app.toml, Cargo.toml or pyproject.toml.

Privacy: this tool runs entirely in your browser. Your input is never sent to, received by, or stored on any server — there are no uploads and no tracking of what you enter.

About JSON ⇄ TOML

What is TOML?

TOML (Tom’s Obvious Minimal Language) is a configuration file format designed to be easy for humans to read and write, mapping cleanly onto a hash table. It powers Cargo.toml (Rust), pyproject.toml (Python) and Shopify app configuration files.

Tables and arrays of tables

TOML uses [table] headers for nested objects and [[array]] headers for arrays of objects. This converter handles both directions, so deeply nested JSON becomes valid TOML and vice-versa.

Great for Shopify app developers

Shopify’s CLI stores app settings in shopify.app.toml (with sections like [[extensions]], [access_scopes] and [webhooks]). Paste your JSON to generate the TOML, or paste your TOML to inspect it as JSON while debugging.

Frequently asked questions

Does it support arrays of tables?
Yes — JSON arrays of objects convert to TOML [[name]] blocks, and back again.
Can I use it for Shopify app config?
Yes. It is well suited to shopify.app.toml and extension TOML files, as well as Cargo and pyproject.
Is my config uploaded anywhere?
No — conversion runs entirely in your browser; nothing is sent to a server.
What TOML features are supported?
Key/value pairs, nested tables, arrays of tables, inline arrays, strings, numbers and booleans. Very advanced edge cases (e.g. some date-time literals) are treated as strings.

Related tools