YAML ⇔ JSON Converter
Paste YAML to convert it to JSON, or paste JSON to convert it to YAML — useful when you want to inspect a Docker Compose, GitHub Actions, or Kubernetes manifest file in the other format. To further format or validate the resulting JSON, try theJSON Formatteras well.
Glossary
YAML
A human-friendly data format that represents structure using indentation. It's widely used for config files such as Docker Compose, GitHub Actions, and Kubernetes manifests.
JSON
Short for JavaScript Object Notation, a text format for representing data as key-value pairs. It is widely used for APIs and configuration files.
Indentation error
YAML uses indentation depth to represent structure, so inconsistent spacing or a stray tab character will cause a syntax error.
Share this page
