YAML ↔ JSON Converter
Loading…
About this tool
Convert Kubernetes, Docker Compose or GitHub Actions config to JSON, or the other way round. Everything runs on your device and nothing is sent to any server.
Fully offline
Features
- Two-way conversion with one-click swap
- Multi-document YAML (separated by ---) becomes a JSON array
- Big integers keep full precision
- Shows the line and column of errors
- Protection against alias bombs (billion laughs)
- Works offline
Examples
YAML to JSON
- Input
- name: jibzar tags: - offline - private
- Output
- { "name": "jibzar", "tags": [ "offline", "private" ] }
JSON to YAML
- Input
- {"port": 8080, "debug": false}
- Output
- port: 8080 debug: false
FAQ
Are YAML comments preserved?
No. JSON has no comments, so they are dropped during conversion.
What about very large numbers?
Integers larger than 2^53 are written to JSON as-is, without rounding.
Is my input uploaded?
No. All processing happens on your device.