TOML to JSON Converter screenshot

TOML to JSON Converter

Convert TOML to JSON in your browser. Tables, array-of-tables, inline tables, dotted keys and every string form are parsed locally.

Privacy First
0 Runs
Updated 2026-11-06
No upload
Instant
No signup

What this toml to json converter does

The reader understands table and array-of-tables headers, inline tables, dotted keys, all four string forms and TOML integers, floats, booleans and dates. Dates are kept as the literal string TOML wrote, because JSON has no date type and guessing a timezone would change the value.

How to use it

TOML to JSON Converter: paste the TOML into the box above, and press Run to get the JSON below.

Worked example

Input:

title = "TOML Example"
[owner]
name = "Tom"
dob = 1979-05-27T07:32:00Z

Output:

{
  "title": "TOML Example",
  "owner": {
    "name": "Tom",
    "dob": "1979-05-27T07:32:00Z"
  }
}

Why it runs in your browser

The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads TOML and returns JSON; reloading the page discards both.

The reader understands table and array-of-tables headers, inline tables, dotted keys, all four string forms and TOML integers, floats, booleans and dates. Dates are kept as the literal string TOML wrote, because JSON has no date type and guessing a timezone would change the value.

Convert TOML to JSON in your browser. Tables, array-of-tables, inline tables, dotted keys and every string form are parsed locally.

How to use it

TOML to JSON Converter: paste the TOML into the box above, and press Run to get the JSON below.

Why it runs in your browser

The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads TOML and returns JSON; reloading the page discards both.

What to Expect

Best for

  • Converting TOML to JSON when the data is already on screen.

What this tool keeps

  • Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere.

Sample input

title = "TOML Example" [owner] name = "Tom" dob = 1979-05-27T07:32:00Z

Sample output

{ "title": "TOML Example", "owner": { "name": "Tom", "dob": "1979-05-27T07:32:00Z" } }

Frequently asked questions

How do I use the toml to json converter?

TOML to JSON Converter: paste the TOML into the box above, and press Run to get the JSON below.

Is my input uploaded?

No. The text is parsed on this page with JavaScript and is never posted to a server.

Is there a size limit?

Yes: 5 MB per run. Larger input is refused with a message rather than freezing the tab.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.