Text tools

YAML to JSON and JSON to YAML converter online

Convert YAML to JSON and JSON to YAML instantly. Paste or drop Docker Compose, Kubernetes or GitHub Actions files; errors show the line and column, and multi-document YAML (---) becomes a JSON array.

🔒 Files are processed in this browser and never sent to a server.

한국어

Loading tool…

How to use

  1. 1

    Choose YAML → JSON or JSON → YAML.

  2. 2

    Paste or drop a file.

  3. 3

    Copy or download.

When to use it

Kubernetes

Inspect manifests.

Configs

JSON to YAML.

Debugging

Find indentation errors.

Good to know

  • Fix indentation errors using the line number.
  • YAML comments are dropped in JSON.
  • Switching direction carries the result over.

FAQ

Uploaded?

No.

Multiple documents?

Yes, as a JSON array.

Validation?

Yes, with error positions.

Related searches

  • #yamltojson
  • #jsontoyaml
  • #yamltojsonconverter
  • #jsontoyamlconverter
  • #yamltojsononline
  • #yamlvalidator