YAML to JSON Converter
Paste YAML, get clean JSON. Handles YAML 1.2 features: anchors and aliases, multi-document streams (split by ---), flow vs block style, complex scalars (timestamps, booleans, nulls). Round-trip safe with our JSON converters.
How to use the YAML to JSON Converter
Paste YAML. Pick output indent. For YAML files with multiple ----separated documents (common in Kubernetes manifests), enable multi-document — the output becomes a JSON array of documents.