YAML to JSON Converter
Convert YAML to JSON in your browser. Choose an indentation style, then copy or download the result.
Prepare YAML for JSON
The parser reads YAML 1.2. Use text for mapping keys, since JSON object keys are strings. Quote numeric-looking keys to keep them as text.
The converter reports integers outside JavaScript’s safe integer range. Quote a large integer if its exact digits should be preserved as text in the JSON output.