JSON ↔ YAML Converter
Convert JSON configuration to YAML and YAML manifests back to JSON for Kubernetes, CI pipelines, and serverless configs. Powered by js-yaml and fully client-side so secrets in your files never leave the device.
Runs entirely in your browser. Your data never leaves this device.
- JSON → YAML
- YAML → JSON
- js-yaml powered
- Pretty JSON output
- No upload
How it works
- Paste JSON or YAML into the editor.
- Click JSON → YAML or YAML → JSON. Parsing uses js-yaml in your browser.
- Copy the output for Kubernetes manifests, CI configs, or API payloads.
Key features
- JSON → YAML
- YAML → JSON
- js-yaml powered
- Pretty JSON output
- No upload
FAQ
Does this upload my configs?
No — conversion is 100% client-side with js-yaml.
Are YAML anchors supported?
Basic YAML 1.1 features via js-yaml. Complex merge keys may need review.
Will numbers stay numbers?
JSON numbers and booleans map to YAML scalars; very large integers may stringify depending on JSON.parse.
Can I pretty-print JSON after YAML?
Yes — YAML → JSON emits indented JSON you can refine in the JSON Formatter.
Keep building
Related developer tools
Format, validate, minify, and sort JSON in your browser. Privacy-first — nothing leaves your device.
Convert JSON arrays to CSV and CSV back to JSON in your browser. Privacy-first — no uploads.
Validate serverless.yml / SAM-like JSON snippets for common misconfigurations.