JSON ↔ YAML Converter

InputJSON
OutputYAML
   

How to Use

  1. Choose the conversion direction: JSON → YAML or YAML → JSON
  2. Paste your input into the text area
  3. The result appears automatically in the output panel
  4. Click Copy to copy the result to your clipboard
  5. Click Download to save the result as a file

Frequently Asked Questions

Is my data sent to a server?

No. All conversion runs locally in your browser using the js-yaml library. Nothing is uploaded anywhere.

What YAML version is used?

The converter uses YAML 1.2 via the js-yaml library, which is compatible with most tools and frameworks.

Are all JSON data types preserved?

Yes. Strings, numbers, booleans, null values, arrays, and objects are all correctly represented in the converted output.