Skip to content

YAML ⇔ JSON Converter

Convert between YAML and JSON. Ideal for converting configuration file formats and editing Kubernetes manifests, Docker Compose, GitHub Actions, and OpenAPI specs.

✅ 100% free, no signup, runs entirely in your browser (powered by js-yaml)

Supported Formats

If something is broken or not displaying correctly, let us know via the contact form.

📖 How to Use

  1. 1
    Paste input
    Paste YAML or JSON on the left; the right side updates automatically.
  2. 2
    Toggle direction
    Switch YAML → JSON or JSON → YAML. Tab/space and indent width configurable.
  3. 3
    Check validation errors
    Syntax errors show line and reason — great for K8s manifests and GitHub Actions.

❓ FAQ

Are YAML anchors (&) and aliases (*) supported?
Yes, via js-yaml. Anchors, aliases, and tags are parsed. They get expanded when converted to JSON.
Are multi-document YAML (---) files handled?
Multi-doc YAML becomes a JSON array — works with multi-resource Kubernetes manifests.
Works with Docker Compose / K8s manifests?
Yes. Converts losslessly for CI pipelines that post to APIs as JSON.
Is the YAML Norway bug handled?
We use YAML 1.2, so NO/Yes stay strings — no Norway bug.