YAML, JSON and TOML converter

Convert between YAML, JSON and TOML in every direction, with multiple YAML documents, a choice of indentation and errors with line and column. Everything runs in your browser: your config files are not sent anywhere.

Your data stays on your computer. Files are processed in your browser and are never uploaded.

Tabs apply to JSON only: YAML forbids them and TOML does not indent, so those use 2 spaces.
Drop a .yaml, .yml, .json or .toml file here, or type below.

YAML

Anchors, aliases and merge keys (<<) are understood, as used in docker-compose and CI pipelines. Dates stay text, as YAML 1.2 says. Written text does not wrap long lines.

TOML

TOML dates and times become ISO 8601 strings in JSON and YAML. Writing TOML needs an object at the root and no null: if something is missing, the error tells you where.

Where your data goes

Everything happens on this page: the text is not stored, put in the address or sent. It disappears when you reload.

Keyboard shortcuts

In this tool

This tool has no keyboard actions.

Everywhere

Open this panel (outside text fields)
?
Closes panels and menus, never clears data
Esc
Search for a tool
/ or CtrlK

Tool chains

Link several tools into a path: after using a tool, “Send to…” offers the next step first. Saved chains keep only a name and the tools, never your data.

Saved chains

No saved chains.

New chain