Developer Tools

Converters

YAML to JSON Converter

Convert YAML into JSON.

YAML0 chars
JSON

Guide & explanation

The YAML to JSON Converter parses YAML and emits it as JSON.

What it handles

  • Scalar types: string, number, boolean, null (~).
  • Block lists and maps, plus flow style ([a, b], {k: v}).
  • Anchors (&x) and aliases (*x) are expanded.

Example

name: api
tags: [web, edge]
meta:
  retries: 3
{ "name": "api", "tags": ["web", "edge"], "meta": { "retries": 3 } }

Indentation or syntax errors are shown with a message. Pick Minify for single-line JSON.