YAML ↔ JSON
Convert YAML to JSON or JSON back to YAML, so configuration can move between tools that disagree on format.
- 100% Free
- No account required
- Runs in your browser
- No data is uploaded
Not saved automatically
Private to this browser, not a cloud backup. Saves expire 7 days after the last save. Avoid saving sensitive data on shared devices.
Input
Paste or edit your YAML or JSON, then click “Run tool”.
Type, paste or drop a file
YAMLLn 1, Col 1Spaces: 2UTF-855 bytes
Output
Converted JSON (read-only).
Read-only
TextLn 1, Col 1Spaces: 2UTF-80 bytes
Using the YAML ↔ JSON
Overview
Convert YAML to JSON or JSON back to YAML, so configuration can move between tools that disagree on format.
Move configuration between tools that disagree on format — Kubernetes and CI in YAML, APIs and code in JSON.
How to use it
- Paste or type your YAML into Input, drop a file onto it, or press Example to load a sample.
- Choose the settings in the Direction bar under the editors.
- Press Run tool, or ⌘ ↵ from anywhere on the page.
- Read the result in Output, then copy or download it. The Result tab has size, line counts and next steps.
Input
YAML or JSON.
Settings
- Direction — YAML → JSON, JSON → YAML
Output
Converted JSON.
- YAML to JSON
- JSON to YAML
- Keeps nesting and lists
- Reports parse errors clearly
Tips
- Formatting a document also validates it: if it will not format, it will not parse.
- Minify for transport, format again when you need to read it.
- Keep inputs under about 2 MB so the tab stays responsive.
Keyboard shortcuts
- ⌘ ↵
- Run the tool
- ⌘ K
- Search every tool
- /
- Filter the sidebar