Convert between JSON and YAML
Both directions, live, with validation.
Files stay on your device. No accounts. Free.
Loading tool...
About this tool
Converts in both directions, paste JSON to get YAML, or flip the direction and paste YAML to get JSON. The output updates live, and parse errors tell you what's wrong rather than failing silently.
The usual use case: moving config between JSON-first tools and YAML-first ones like Kubernetes, GitHub Actions and CI pipelines. Conversion runs locally via js-yaml.
How it works
- Paste your input, or drop a text file onto the box.
- The output updates live as you type.
- Copy it to the clipboard, or download it as a file.
Frequently asked questions
Does the conversion lose any data?
No. JSON and YAML describe the same structures, objects, arrays, strings, numbers, booleans and nulls, so converting between them is lossless. Comments in YAML are the one thing JSON cannot represent, so those disappear going to JSON.
Can I convert Kubernetes manifests or GitHub Actions workflows here?
Yes, that is the most common use. Paste the YAML to get JSON for scripting or API calls, or paste JSON output from a tool and get clean YAML to commit.
Is my configuration data kept private?
Yes. Conversion runs on js-yaml inside your browser tab, so config files, which often contain hostnames, keys and internal details, never leave your device.