Decant

Convert YAML to JSON

Convert YAML files to JSON without uploading them. No ads, no tracking, no sign-up.

or drop them anywhere on the page, or paste

How to convert YAML to JSON

  1. Choose your YAML files, or drop them anywhere on this page.
  2. Check that JSON is selected, and adjust the settings if you like.
  3. Select Convert, then save your JSON files. Nothing is uploaded.

About YAML and JSON

YAML is a human-friendly data format for configuration files, such as Docker Compose and GitHub Actions workflows.

JSON is the data format of web APIs and app settings: nested objects and lists in plain text.

Questions

How do I convert YAML to JSON?
Choose your YAML files or drop them on this page, check that JSON is selected, then select Convert and save the result. It works the same on a phone or a computer, and the files never leave your device.
Is it safe to convert YAML to JSON here?
Yes. The conversion runs in your browser, so your YAML files aren't uploaded to a server, and nothing is stored or logged.
Can I convert several YAML files at once?
Yes. Add as many as you like and they convert together; when there are several results you can save them all as one ZIP.

More YAML conversions