About JSON to YAML
Paste JSON and get the same data as YAML, the format used by Kubernetes, Docker Compose, GitHub Actions, OpenAPI and many other configuration files. YAML is easier to read and edit by hand because it uses indentation instead of brackets and quotes.
Strings that would be misread in YAML, such as "yes", "no" or values that look like numbers, are quoted automatically, so the data means exactly the same thing in both formats.
How to use it
- Paste your JSON or open a .json file. The YAML appears as you type.
- Choose the indent size.
- Copy the YAML or download it as a .yaml file.
Going the other way
Use YAML to JSON to convert back. Converting JSON → YAML → JSON gives you the same data you started with.
Questions
Will my numbers and booleans stay the same type?
Yes. Numbers stay numbers and true/false stay booleans. Text that only looks like a number or a boolean is put in quotes so it stays text.
Is my data uploaded?
Everything happens inside your browser. Your file is never uploaded to a server, so it stays private and the tool keeps working even on a slow connection.