YAML ⇆ JSON Converter – Convert YAML & JSON Online
Converted output will appear here...
Convert YAML to JSON and JSON to YAML in your browser. Paste a single YAML document or JSON value, select its conversion button, and copy the result for use in configuration files or API payloads.
Converted output will appear here...
Paste a single YAML document — including nested maps, lists and multi-line strings — and select YAML → JSON. YAML comments are omitted, aliases are resolved and scalar types follow the parser. Multiple documents separated by --- must be converted one at a time.
Paste JSON and select JSON → YAML for readable output with two-space indentation. Parsing errors are reported when you select the conversion button. Numbers follow JavaScript numeric precision.
Paste a single YAML document and select YAML → JSON. The converter displays JSON or a parsing error; use Copy result after a successful conversion.
Yes. Paste JSON and select JSON → YAML. Comments and YAML-specific formatting from an earlier conversion are not restored.
It converts a single YAML document containing nested mappings and lists. A multi-document Kubernetes manifest must be split into separate documents before conversion. Application-specific tags or templating syntax may not parse as ordinary YAML.