JSON and YAML represent the same underlying data — objects, arrays, strings, numbers, booleans, and null — just with different syntax. This tool detects which one you pasted and converts it to the other, so you don't need to run two separate tools depending on direction.
JSON has no comments, so converting YAML → JSON drops any # comments in the source. YAML also
supports anchors and aliases (&name / *name) for reusing a block — these get
expanded to their full value in the JSON output rather than preserved as references.
JSON: {"name": "api", "port": 8080, "debug": false}
YAML: name: api
port: 8080
debug: false
Reach for YAML in files a person edits directly — Docker Compose, CI pipelines, Kubernetes manifests — where comments and readability matter. Reach for JSON when a program is the primary consumer, or when you need strict, unambiguous parsing (JSON's grammar has far fewer edge cases than YAML's).
Paste either format — the tool detects which one you pasted.
100% client-side processing keeps your config files private.