YAML to JSON Converter
Convert YAML to JSON instantly in your browser. Paste or upload a .yaml file, get formatted JSON. Supports multi-document YAML. No upload, no sign-up.
🔒 Private: runs in your browser, no upload
How to convert YAML to JSON
- Paste YAML in the left box or upload a .yaml / .yml file.
- JSON appears instantly on the right as you type.
- Copy it or download it as converted.json.
Frequently asked questions
Is my YAML sent to a server?
No. Parsing is done in your browser with the open-source js-yaml library.
Does it support multiple YAML documents?
Yes. If your file contains several documents separated by ---, the output is a JSON array with one item per document.
Why do I get an error?
YAML is indentation-sensitive. The error message shows the line and column where the parser stopped — usually a tab character or misaligned indentation.
Can I convert JSON back to YAML?
Yes — use the JSON to YAML converter.