YAML to JSON Converter

Convert YAML configuration files to JSON format with proper nesting.

Text & Data100% private

YAML to JSON Converter

Convert YAML configuration files to JSON format with proper nesting.

// Click Convert

How it works

  1. 1
    Paste YAMLEnter valid YAML - config files, docker-compose, etc.
  2. 2
    ConvertYAML is parsed into a JSON object with proper types.
  3. 3
    CopyCopy 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