JSON to YAML Converter
Convert JSON to YAML instantly — no upload, no sign-up, fully private. 100% free.
Built for Obsidian, Hugo, Jekyll, and CI pipelines.
How to use
- Paste your JSON into the box on the left.
- The YAML output appears on the right in real time.
- Copy the result or download it as a
.yamlfile.
Uses js-yaml and runs entirely on your device.
Example
{
"name": "YAMLTools",
"type": "converter",
"private": true,
"features": ["browser-based", "no-upload"]
}name: YAMLTools
type: converter
private: true
features:
- browser-based
- no-uploadWhen this works best
JSON numbers with no fractional part become YAML integers; very large integers may lose precision when re-parsed. Flow-style JSON stays readable but is not minified.
How it differs from related tools
Unlike our YAML to JSON converter, this converts in the opposite direction — JSON in, YAML out.
Frequently asked questions
Is this JSON to YAML converter free?
Yes. It is free, runs in your browser, and requires no sign-up.
Can I convert YAML back to JSON?
Yes — use our YAML to JSON converter.
Why does my long number look different?
JSON has no integer size limit, but YAML may parse very large integers as strings on re-read; keep such IDs as quoted strings if precision matters.
Does it handle nested objects and arrays?
Yes. Any JSON object or array is converted recursively into nested YAML mappings and sequences.