Instant • private • developer-friendly

YAML & JSON Converter

Paste YAML to convert it to JSON, or paste JSON to generate YAML — both directions, instantly.

YAML

JSON

🔒 Your data stays on your device and is never uploaded.

Convert configs between YAML and JSON

YAML is popular for config files like Docker Compose and GitHub Actions, while JSON is the universal data-exchange format. This free converter handles nested maps, lists, quoted and unquoted strings, numbers, booleans and null values in both directions.

Two-way conversion

Convert YAML to JSON or JSON to YAML from the same two panes.

Nested structures

Handles nested mappings and sequences, plus inline flow lists and maps.

Private by design

Parsing and generation both run locally in your browser.

YAML to JSON converter FAQ

What YAML features are supported?

Nested mappings and sequences using indentation, strings, numbers, booleans, null, comments and inline flow lists like [a, b, c] and flow maps like {a: 1, b: 2}.

Does it support multi-document YAML?

No, only a single YAML document per conversion is supported. Remove any --- document separators before converting.

Will converting JSON to YAML change key order?

No. Keys are written to YAML in the same order they appear in the JSON object.

Is my data uploaded anywhere?

No. Both conversions run entirely in your browser using JavaScript.