YAML to JSON
Convert YAML to JSON and download the result. Your input stays in your browser.
For the reverse conversion, use JSON to YAML.
- Use it when
- Read YAML configuration as JSON for an application or script.
- Keep in mind
- Use a single YAML document with string mapping keys and JSON-compatible values.
YAML input
enabled: true
replicas: 3JSON output
{"enabled":true,"replicas":3} Input limit: 5 MiB
Your input stays in this browser. We don’t upload it. How we handle your data .
How to convert YAML to JSON
Paste YAML or open a local file. Select Convert to JSON, then download the result.
Frequently asked questions
Why is a YAML key rejected?
JSON object keys are strings. If a YAML key looks like a number or a Boolean, quote the key to keep it as text.