Masukkan
Arah
Hasil
Choose an operation to start

Konverter JSON <-> TOML

Enter JSON or TOML on the left, pick a direction, and get the other notation. TOML is the config format behind Go and Rust projects (e.g. Cargo.toml); converting to and from JSON makes it easy to move data between editors, APIs and config files.

Conversion uses the @iarna/toml library loaded in your browser; no text is uploaded.

Features

How to use

  1. Enter JSON or TOML on the left.
  2. Pick the direction on the right.
  3. The result appears instantly; click Copy to take it.

FAQ

Is TOML better than JSON for config?

For config it is often clearer: comments, unquoted keys and explicit grouping (tables) mean fewer braces and quotes than JSON, and none of YAML’s indentation traps — which is why many language templates adopt it by default.

Does conversion need a network?

No. The @iarna/toml parser is served from this site’s own domain alongside the page, with no third-party CDN involved; the whole conversion runs locally in your browser.

Umpan balik

Situs ini murni front-end: tanpa backend maupun akun. Umpan balik via GitHub Issues, Discussions, atau email.

Tempel ini ke issue atau email untuk membantu menemukan masalah; tidak menyertakan apa pun yang Anda ketik

Also: Lihat umpan balik yang ada · Umpan balik email (tanpa akun GitHub):278975598@qq.com