From YAML to JSON values
Mappings, sequences, strings, numbers, booleans, and null values are converted into their corresponding JSON representation.
Core transformations run locally in your browser.
Parse a YAML document and convert it into consistently formatted JSON in your browser.
Convert one YAML document into formatted JSON.
Your data stays on this device.
Mappings, sequences, strings, numbers, booleans, and null values are converted into their corresponding JSON representation.
Invalid indentation, incomplete collections, and other YAML syntax errors are reported without replacing your input.
No. JSON has no comment syntax, so comments are not included in the converted output.
This tool accepts one YAML document at a time so the result has one unambiguous JSON value.