JSON ↔ YAML Converter

Convert between JSON and YAML instantly. Swap direction in one click.

100% client-side Instant Private

Input (JSON)

Paste JSON to get started

or drag & drop a .json file

0 charsReady

Output (YAML)

Converted YAML appears here
Output previewWaiting to convert

Sample JSON

Load an example object and try the converter in either direction.

When to use YAML

  • Kubernetes manifests
  • GitHub Actions workflows
  • Docker Compose configuration

About JSON ↔ YAML conversion

YAML is designed to be easy for people to read and write, while JSON is widely used by applications and APIs. Both formats represent the same structured data, so nested objects and arrays retain their hierarchy as you convert between them.

Your content stays in this browser; it is never uploaded to a server.