YAML โ‡„ JSON Converter

Convert YAML to JSON and JSON to YAML.

Convert config files between YAML and JSON – with helpful error messages.

🔒 Converted in your browser.

How to use the yaml โ‡„ json converter

  1. Paste YAML or JSON.
  2. Click the conversion you need.
  3. Copy the result.

Common uses

Kubernetes manifests, Docker Compose, GitHub Actions workflows, OpenAPI specs and app config files.

Frequently asked questions

Are comments kept?

YAML comments are lost when converting to JSON (JSON has no comments).

Multiple YAML documents?

Convert one document at a time.

Is my config uploaded?

No.

Guides

Related free tools

See all 147 free tools →