Convert YAML to JSON

YAML data → JSON data: convert online for free. YAML to JSON conversion runs right in your browser — your files never leave your device.

Drop files here or choose them

You can also paste files with Ctrl+V

Files never leave your device

About the formats

YAML data
Readable config format that uses indentation instead of brackets: Docker Compose, Kubernetes, CI and app settings.
JSON data
Text data format of web APIs and configs: objects and arrays of values readable by any programming language.

How to convert YAML to JSON

  1. Choose a YAML data file or drag it onto the page.
  2. Check the settings and click Convert.
  3. Download the JSON data file when it is ready.

Frequently asked questions

Is converting YAML to JSON free?

Yes. Conversion is free, with no sign-up and no watermarks.

Are my YAML files uploaded anywhere?

No. The conversion runs in your browser, so your files never leave your device.

What is kept when converting YAML to JSON?

The whole structure and every value: nesting, lists, numbers and booleans. XML attributes become keys prefixed with @, repeated elements become arrays, and codes with leading zeros stay strings. Comments are not carried over.