From one format to another

JSON and YAML.
Both ways.

Convert JSON to YAML or YAML to JSON. Paste your data, choose a direction, and get a ready-to-use file.

Your data never leaves this browser
JSON ↔ YAMLValidate · Convert · Download
JSON0 characters
YAML
The converted result will appear here

Comments and formatting are not preserved. Use one YAML document with text keys.

Ready to convertCtrl + Enter to convert
YAML GUIDE

Convert configuration files in your browser

What stays the same?

Objects, arrays, strings, booleans, null values, and supported numbers retain their data types. Date-like text stays text. Comments and layout are not part of JSON.

Which YAML is supported?

One YAML 1.2 document with string keys. Standard anchors and merge keys are expanded. Duplicate keys, custom tags, circular references, and values that JSON cannot represent are rejected.

How are large numbers handled?

Numbers use JavaScript precision. Integers outside the safe range and non-finite numbers are rejected. Quote identifiers and exact decimal amounts to keep them as strings.

05 / DATA

Your format.
Your data.

01

Two directions

Convert either way and send the result back to the editor for another conversion.

02

Helpful validation

Get an error location when available, with checks for unsupported values and excessive nesting.

03

Local processing

Your data is converted on your device. No account, upload, or external conversion service is needed.