Free tool
Paste any YAML and get clean, pretty-printed JSON. Multi-document YAML, anchors, and nested structures are all handled. Runs entirely in your browser. Need the reverse? Try our JSON to YAML converter.
Used when you click Download .json. The .json extension is added if you leave it off.
Paste some YAML to get started.
How it works
1. Paste your YAML
Drop in a config file, Kubernetes manifest, docker-compose, or any YAML. Click Load sample to see an example.
2. Parsed and pretty-printed
We parse the YAML (including multi-document files separated by ---) and emit clean JSON with two-space indentation.
3. Copy or download
Click Copy JSON to paste straight into your code, or Download .json to save a file. Everything happens locally.
Why use this converter
- Private by design. Your YAML never leaves your browser. Nothing is uploaded, logged, or stored.
- Multi-document support. Files with multiple YAML documents (--- separators) parse cleanly into a JSON array.
- Real YAML parser. Anchors, references, multi-line strings, and complex nesting all work correctly.
- Free forever. No signup, no rate limits, no paywall.
Need more than conversion?
If you find yourself converting config files over and over because your team has no central place to capture configuration changes, you might want a proper intake queue. We are building one.
Learn about the Workforge intake queue