New

TOML to JSON

Runs in browser

Parse TOML configuration files to formatted JSON in your browser. Paste text or open a .toml file — ideal for Rust, Hugo, and CI configs.

TOML to JSON tool

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
JSON
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

Files never leave your browser.

Drag and drop a file here, or tap to select

How to use

  1. Paste or upload

    Paste TOML or load a .toml file from disk.

  2. Review JSON

    Formatted JSON updates as you edit.

  3. Copy or download

    Copy the JSON or download a .json file named after your source file.

Examples

  • Cargo-style TOML

    Package and dependencies tables.

    Input
    [package]
    name = "demo"
    Output
    { "package": { "name": "demo" } }

Frequently asked questions

Is TOML parsed on a server?
No. Parsing uses @iarna/toml entirely in your browser.
Does it support TOML 1.0?
The parser follows the @iarna/toml implementation; typical Cargo and Hugo files work well.

You might find these useful too.