Text and dataRuns in your browser

TOML ↔ JSON Converter

Convert common TOML configuration documents to JSON and back without external requests or hidden object construction.

  • Two-way conversion
  • TOML tables
  • Up to 5,000 nodes
Online tool

Try the tool

Add your data, choose the settings, and get the result.

Input data

Result

—

A bounded TOML 1.0 configuration subset is supported: tables, array tables, dotted keys, arrays, inline tables, and JSON-compatible scalars. Multiline strings and inf/nan values are not converted.

Your data stays here

Text and selected files are processed in the current browser and are not sent to a server to produce the result.

Reviewed: 2026-07-17
01

How to use it

  1. 1

    Choose TOML → JSON or JSON → TOML.

  2. 2

    Paste the configuration document.

  3. 3

    Run conversion and review warnings and output.

02

What the tool can do

  • Basic and literal strings, booleans, safe integers, finite floats, and arrays.
  • Tables, dotted keys, array tables, and inline tables.
  • Hexadecimal, octal, and binary integers checked against the JSON safe-integer range.
  • TOML date/time values are preserved as strings with an explicit warning.
03

Common use cases

  • Converting application configuration for an API or tests.
  • Finding duplicate keys and type conflicts.
  • Preparing readable TOML from a JSON-compatible object.
04

How it works inside

Input is limited to 500,000 characters, 5,000 nodes, and depth 32.

JSON → TOML accepts a root object; arrays of objects are emitted as array tables.

05

Questions and answers

Why do dates become strings?

JSON has no dedicated date/time type. The tool preserves the lexical TOML value as a string and reports a warning.

Is null supported?

Not for JSON → TOML: TOML 1.0 does not define a null literal.