Skip to content

JSON to YAML Converter

Converts JSON documents to indentation-based YAML. Handy for writing config files or reviewing documents.
Checking browser support
Verifying file selection and download support before starting.

Drop a file here or choose one

Supports files up to 20 MiB each.

Drop in a file, click convert, and you're done. Everything runs directly in your browser with no upload to wait for, and the result is ready to download right away.

Things to know

  • Malformed JSON is not converted; you'll see a message instead.
  • Object key order is kept exactly as in the original.
  • JSON has no comments, so the resulting YAML has no comments either.

How to use

  1. Select a JSON file

    Choose a JSON file up to 20 MiB.

  2. Start converting

    Once the file check is done, the YAML conversion starts.

  3. Save the YAML

    Download the finished YAML file.

Frequently asked questions

Does converting change my data?

No. Objects, arrays, strings, numbers, booleans, and null values are carried over to YAML notation as-is, and key order is preserved.

Can any JSON be converted?

Yes. As long as the JSON is valid, the top level can be an object, an array, or a single value. If there's a syntax error, the file is not converted and you'll see a message.

How is indentation handled?

The output uses 2-space indentation in standard YAML style, so the structure stays easy to follow even with deep nesting.

Can I convert back to JSON?

Yes. Use the companion YAML to JSON converter to get the same data back.

Is my data sent anywhere?

No. Your files never leave your device. Conversion runs inside your browser and nothing is uploaded.