YAML ↔ JSON Converter
Translate configuration data between YAML and JSON while catching parse errors before you copy the result.
How this tool works
The converter parses the source format into a data structure and serializes that same structure into the target syntax using the YAML and JSON parsers.
Example
Paste a Kubernetes-style YAML object to inspect it as JSON, or convert a JSON configuration into indentation-based YAML.
Common questions
Does this support nested YAML?
Yes. The YAML parser supports mappings, sequences and common scalar types.
Can comments survive a round trip?
Not reliably. Conversion preserves data structure, not every formatting choice or source comment.