JSON ↔ YAML
Round-trip between JSON and YAML — paste either, see the other. Browser-only via js-yaml.
100% in your browser. Files never uploaded.
{
"name": "cft-tools",
"version": 1,
"features": [
"browser-only",
"typed"
]
}How to use
- 1Pick a directionYAML → JSON or JSON → YAML.
- 2Paste inputAuto-detect picks based on whether the input starts with { or [.
- 3Copy resultJSON pretty-printed at 2 spaces; YAML emitted with sensible defaults.
FAQ
Are YAML anchors and tags supported?
Yes — js-yaml handles standard YAML 1.2 anchors, aliases, and explicit tags. They will be expanded when converting to JSON.