Skip to content
No uploads · runs in browser

JSON ↔ YAML

Convert between JSON and YAML for config files and manifests.

Favorite it to find it fast on home

When to use it

Convert docker-compose.yml to JSON for inspection
Turn a JSON config into readable YAML
Inspect a Kubernetes manifest structure

How to use it

1Step 1Paste your text into JSON to start
2Step 2Press JSON → YAML and the result appears below
3Step 3Use the copy button to take the result anywhere

If the result looks off

The result looks cut off

Use the copy button to get the full result.

My input disappeared

It is saved on this device. Clearing browser storage removes it too.

Frequently asked questions

Are YAML comments preserved?

No. JSON has no comment syntax, so comments are dropped in that direction.

Why did my YAML comments disappear?

JSON has no comment syntax, so comments are dropped in that direction. Keep the original YAML.

Related tools

View all →