← Converter tools

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

Drop a YAML file

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

Waiting
Converted JSON appears here.
StatusReady to start

Paste yaml input or load a sample to start.

Input lines0
Output lines0
Input size0 B
Output size0 B

PrivacyYour files are processed in your browser and are not uploaded.

How to Use YAML to JSON

  1. Paste YAML 1.2 or load a local .yaml or .yml file.
  2. Convert JSON-compatible YAML values into formatted JSON.
  3. 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.