Decant

Convert JSON to YAML

Convert JSON files to YAML in your browser.

Drop files here

or paste them in. Whole folders work too.

  • Nothing is uploaded
  • Works offline
  • Free and open source

How to convert JSON to YAML

  1. Choose your JSON files, or drop them anywhere on this page.

  2. Check that YAML is selected, and change the settings if you need to.

  3. Select Convert, then save your YAML files.

About JSON and YAML

JSON

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

YAML

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

Questions

How do I convert JSON to YAML?
Choose your JSON files or drop them on this page, check that YAML is selected, then select Convert and save the result. It works the same on a phone or a computer.
Is it safe to convert JSON to YAML here?
Yes. The conversion runs in your browser, so your JSON files are never uploaded, stored or logged.
Can I convert several JSON files at once?
Yes. Add as many as you like and they convert together. Save each result on its own, or all of them as one ZIP.

More JSON conversions