Direction

How to use YAML to JSON Converter

Paste YAML (Kubernetes, Docker Compose, OpenAPI…) to get JSON, or the other way round. Errors point to the exact line.

  1. Choose the direction.
  2. Paste your YAML or JSON — the result appears as you type.
  3. Copy or download it.

Questions

Are YAML anchors and aliases supported?

Yes — aliases are expanded in the JSON output.

What about multiple YAML documents (---)?

Multi-document YAML becomes a JSON array with one item per document.

Are comments kept?

JSON has no comments, so YAML comments are dropped when converting to JSON.

Ratings & reviews

No ratings yet. Signed-in users can rate this app.