How to use it
- 1
Choose YAML → JSON or JSON → YAML.
- 2
Paste the document and run the conversion.
- 3
Copy the result and verify it in the target application.
What the tool can do
- Indented mappings and sequences using two-space indentation.
- Plain, single-quoted, and double-quoted scalars, numbers, booleans, and null.
- Inline arrays and objects when written with JSON syntax.
- JSON → YAML for JSON-compatible values with safe quoting of ambiguous strings.
Common use cases
- Preparing a simple CI/CD or application configuration.
- Finding duplicate keys and indentation errors.
- Converting a safe fixture between JSON and YAML.
How it works inside
YAML indentation must use multiples of two spaces; tabs are rejected.
Input is limited to 500,000 characters, 5,000 nodes, and depth 32.
Questions and answers
Why are anchors and aliases rejected?
The tool deliberately excludes graph-like and tag-driven features so the conversion contract remains bounded and predictable.
Are comments preserved?
No. JSON has no comment model, so a round trip cannot preserve them without a separate AST contract.
