Skip to content
Tesserae

Keyboard shortcuts

Focus search
/
This help dialog
?
Run the current tool
Ctrl/⌘ +Enter
Copy the output (when an output is focused)
Ctrl/⌘ +C

Shortcuts are ignored while you are typing in an input, a textarea or a select.

Data Formats

TOML ⇄ JSON Converter

Convert TOML configuration files (pyproject.toml, Cargo.toml, netlify.toml) into JSON and back. The parser understands tables, arrays of tables, dotted keys, inline tables, nested arrays, basic/literal/multi-line strings, integers in all bases, floats, booleans and date-time values, plus comments. Everything runs on-device with no uploads.

On-device No network Offline-ready

🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.

Try:

Options

Your result will appear here

Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.

How it works

Two directions in one box

TOML to JSON parses a configuration file and prints the result pretty-formatted with two-space indentation. JSON to TOML serializes a top-level object back out, emitting scalar assignments first, then nested objects as [section] headers and arrays of objects as repeated [[section]] blocks, so a pyproject.toml or Cargo.toml structure survives the round trip.

The TOML features the parser understands

Tables, arrays of tables, dotted keys, inline tables, nested arrays, basic, literal and multi-line strings, integers in decimal, hex, octal and binary, floats, booleans and all four date-time flavours are recognized, with comments dropped. Keys that are not bare words are re-quoted on the way back out, and date-time values stay as strings in the JSON.

When the round trip earns its keep

Convert a hand-maintained netlify.toml into JSON to diff it against a generated config, or flip an API-style JSON fixture into TOML to paste into a repo. Because everything happens locally, you can paste a config that holds credentials or machine paths without worrying about where it goes.

Nulls and shapes TOML cannot express

TOML has no null, so keys with null values are omitted when serializing and the result reports how many were skipped. A bare JSON scalar or array at the top level cannot become a TOML document, so wrap it in an object first. A JSON array of objects serializes as an array of tables rather than a single array value.

Conversion stays in the tab

Parsing and serialization both run in the browser on the pasted text, so no document, comment or value is uploaded anywhere. The only trace left behind is the text you paste yourself.

Questions

Is any data uploaded?

No. Parsing and serialization happen inside your browser tab.

Does it support date-time values?

Yes — offset date-times, local date-times, local dates and local times are recognized and kept as their original string form.

What about null in JSON?

TOML has no null. Keys whose value is null are omitted when serializing, and the result reports how many were skipped.

See category