Converter Tool
YAML to JSON
Parse YAML 1.2 and convert JSON-compatible values into formatted JSON.
Convert YAML to JSON
Parse YAML 1.2 and convert JSON-compatible values into formatted JSON.
YAML input
Choose a .yaml, .yml or text file. It is read locally in your browser.
YAML 1.2 mappings, sequences, comments, block strings, anchors and aliases are supported when they resolve to JSON-compatible data. Multiple documents become one JSON array. Custom tags and circular aliases are rejected.
JSON output
Converted JSON appears here.
Paste yaml input or load a sample to start.
PrivacyYour files are processed in your browser and are not uploaded.
How to Use YAML to JSON
- Paste YAML 1.2 or load a local .yaml or .yml file.
- Convert JSON-compatible YAML values into formatted JSON.
- Review the JSON, then copy it or download the .json file.
FAQ
Which YAML features are supported?
Mappings, sequences, quoted and block strings, comments, anchors and aliases are supported when the resulting value can be represented by JSON.
How are multiple YAML documents converted?
Each document becomes an item in one deterministic JSON array.
Are custom YAML tags supported?
No. Custom tags, circular aliases and values that JSON cannot represent are rejected with an error.
Is YAML uploaded?
No. Parsing, conversion, copying and downloading happen in your browser.