YAML ↔ JSON

Convert YAML to JSON and JSON to YAML. Free, no sign-up, files stay on your device.

🔒 100% private — processing happens in your browser. Nothing is uploaded.

How to convert YAML to JSON

  1. Paste YAML or open a file.
  2. Choose YAML → JSON (or JSON → YAML).
  3. Copy or download the result.

Between config formats

YAML is common in Docker, Kubernetes, CI pipelines and app configs; JSON is what APIs and JavaScript expect. Converting lets you validate a YAML file (errors are reported), feed config into a script or compare formats.

Indentation errors in YAML are the most common mistake — the converter points them out.

Questions and answers

Why does my YAML give an error?

Usually wrong indentation or a tab character; YAML needs spaces.

Are comments kept?

No, JSON has no comments.

Is my data uploaded?

No, it stays on your device.

Is it free?

Yes, no sign-up.