Favorite places of your favorite city
Home
Add to preferred sources on Google

TOML to JSON

Turn TOML configuration into JSON for inspection or reuse. Review the result's number and date notes before passing it to another tool.

TOML input

One UTF-8 TOML document up to 256 KiB. JSON output up to 2 MiB.

JSON output

TOML and JSON are processed on your device. Files and text stay in your browser.

Convert TOML

  1. Paste TOML or choose a local UTF-8 file.
  2. Choose Pretty or Compact and select Convert.
  3. Review the result, then copy it or download a JSON file.

How the values map

Tables become objects. Arrays keep their item order. Strings and booleans keep their values.

Integers keep exact decimal digits within the signed 64-bit range. A JSON reader can round large integers even when the text contains the original value.

Dates and times become strings. Local times stay local, and numeric offsets remain in the string.

Examples

The integer 9007199254740993 appears with all its digits. Its floating-point spelling with .0 rounds to 9007199254740992.

A time written as 09:10 becomes the JSON string 09:10:00.

Conversion boundaries

The converter applies input and output limits. Nonfinite numbers, floats that underflow to zero and leap seconds are refused.

Floating-point values use binary64. Fractional seconds beyond nine digits are truncated. TOML comments have no JSON field.

Local conversion

The browser converts the input on your device. The result is available to copy or download.

TOML conversion questions

Admitted integers are written as exact decimal JSON number tokens.

They become strings without an added timezone.

They use the same conversion rules. Only the JSON layout changes.

The JSON represents the converted data. Comments and other TOML source details are outside its format.

Sources

These references describe TOML syntax and JSON interoperability.

References reviewed November 19, 2026.

JSON to TypeScript

Infer a TypeScript type alias from a JSON sample, then review, copy or download the code.

Open tool — JSON to TypeScript

JSON to YAML

Convert JSON to YAML locally while preserving number text and quoted strings; copy or download the complete result.

Open tool — JSON to YAML

YAML to JSON

Convert one YAML document locally to JSON with exact number text and bounded aliases, then copy or download the complete result.

Open tool — YAML to JSON

JSON Diff Checker

Compare JSON values and see added, removed and changed paths.

Open tool — JSON Diff Checker

XML to JSON

Convert XML to an ordered JSON tree with attributes, namespaces and mixed content.

Open tool — XML to JSON

JSON to XML

Convert local JSON to typed XML with exact keys and number text.

Open tool — JSON to XML

YAML Formatter

Format YAML indentation and copy the checked result while retaining comments and source details.

Open tool — YAML Formatter

XML Formatter

Check namespace-aware XML 1.0, format or compact locally, and copy or download UTF-8 output.

Open tool — XML Formatter

JSON Formatter & Validator

Check JSON syntax, format or minify locally, and copy or download output while preserving original data tokens.

Open tool — JSON Formatter & Validator
View all tools in this category