Skip to content

YAML to JSON Converter

Convert YAML configuration files to JSON format with proper nesting.

Runs locally in your browser — nothing is uploaded.

// Click Convert

How it works

  1. Step 1Paste YAMLEnter valid YAML - config files, docker-compose, etc.
  2. Step 2ConvertYAML is parsed into a JSON object with proper types.
  3. Step 3CopyCopy the JSON for use in APIs, databases, or applications.

Frequently asked questions

Does it handle nested YAML?

Yes. Indented YAML structures become nested JSON objects.

What about YAML arrays?

YAML arrays (lines starting with -) become JSON arrays. Inline arrays ([a, b]) are also supported.

Are types preserved?

Yes. Numbers, booleans, and null values are converted to their JSON equivalents, not kept as strings.

Related tools