YAML to JSON Converter

APIs, jq, and most programming languages want strict JSON — but your infrastructure config is YAML. Paste a manifest or config above and get the exact JSON equivalent, ready to pipe into an API call or to debug a subtle parsing difference.

YAML's whitespace sensitivity makes errors painful to find; when your input doesn't parse, you get the location so you're not hunting through a 300-line manifest by hand. Conversion happens locally in your browser — nothing is uploaded.

FAQ

What happens to YAML comments?

JSON has no comment syntax, so comments are dropped. Everything else — strings, numbers, booleans, nulls, nested structures — carries over.

Can I convert multi-document YAML?

Documents separated by --- are a YAML extension with no JSON equivalent; convert one document at a time.

Why does my YAML fail to parse?

Usually indentation: YAML requires consistent spaces (never tabs). The error message points at the offending spot.

Read the full YAML ↔ JSON Converter guide and the YAML ↔ JSON Converter API reference.