Back

JSON ↔ YAML converter

Data conversion

Loading

Loading tool

Preparing the tool. The remaining time is not yet known.

All processing for this tool happens in your browser. Your input is not sent to a server.

About this tool

Convert JSON to YAML or supported YAML structures back to JSON.

Common uses

  • Convert JSON to YAML or supported YAML structures back to JSON.
  • Select the conversion direction and paste JSON or YAML.

How to use it

  1. 1.Select the conversion direction and paste JSON or YAML.
  2. 2.Choose indentation, convert, and copy or download the target format.

Limits and notes

  • Uses a YAML library for JSON-compatible structures. Duplicate or non-string keys, aliases, unsupported tags and unsafe numbers are rejected. Indentation is 2 or 4 spaces, never tabs. Input/output limits are 2/4 million characters.

Frequently asked questions

What does this tool do?

Convert JSON to YAML or supported YAML structures back to JSON.

What should I check before using the result?

Uses a YAML library for JSON-compatible structures. Duplicate or non-string keys, aliases, unsupported tags and unsafe numbers are rejected. Indentation is 2 or 4 spaces, never tabs. Input/output limits are 2/4 million characters.

Related tools