⇄

YAML ↔ JSON

Convert between YAML and JSON

πŸ”’ 100% client-side β€” your data never leaves this page
Input
πŸ”’ 100% client-side
Output
Converted output will appear here

About this tool

Paste YAML or JSON and the format is detected automatically. YAML is converted to JSON and JSON is converted to YAML with correct formatting. Useful for working with Kubernetes configs, CI/CD pipelines, API definitions, and any project that uses both formats. Entirely browser-based.

Frequently Asked Questions

Does it auto-detect the input format?

Yes. If your input starts with [ or { it is treated as JSON. Otherwise it is treated as YAML.

What YAML features are supported?

Common YAML structures including nested objects, arrays, strings, numbers, booleans, and null values. Complex anchors and multi-document YAML are not supported.

Is my data sent to a server?

No. All conversion happens in your browser using JavaScript. Nothing is uploaded.