TOML to JSON Converter

Convert TOML data to JSON format instantly in your browser. Free, private, no server upload. Supports bidirectional conversion, file upload, and download.

Drag & drop a .toml, .json or .txt file here, or click to browse

Options

About TOML to JSON Converter

Convert TOML (Tom's Obvious, Minimal Language) documents to JSON format and vice versa instantly in your browser. TOML is widely used for configuration files in projects like Rust's Cargo, Python's pyproject.toml, and many modern tools. This converter is perfect for developers working with multi-language ecosystems, CI/CD configurations, and application settings. All processing happens client-side — your data never leaves your device.

Features

How to Use

  1. Paste your TOML or JSON into the input area, or drag & drop a file.
  2. Select the conversion direction (TOML → JSON or JSON → TOML).
  3. Choose your preferred output options (indent, mode, sort).
  4. Click Convert.
  5. Copy or download the resulting output.

Common Use Cases

FAQ

Is this tool free?

Yes, 100% free. No sign-up, no limits.

Is my data private?

Absolutely. All conversion happens in your browser. We never see your data.

What TOML versions are supported?

We support TOML 1.0.0 via the @iarna/toml library, handling all standard types including inline tables, arrays of tables, and dotted keys.

Can I convert multiple files?

You can process one file at a time. For batch conversion, consider scripting with tools like yq, tomljson, or similar CLI utilities.

Does JSON → TOML preserve all data types?

TOML has a rich type system. We do our best to preserve types, but some JSON edge cases (like undefined, functions, or circular references) cannot be represented in TOML.

Related Tools