Strict YAML parser, pretty-prints both directions.
100% in your browser · no uploads · no ad trackers
About YAML ↔ JSON
YAML ↔ JSON converts between the two formats in either direction, with strict YAML parsing and pretty-printed output. Useful for translating a Kubernetes or CI config to JSON for inspection, or generating YAML from a JSON snippet you copied from documentation.
Output
Drop .yaml or .json to load
Files are processed in your browser
How to use
1.Paste YAML or JSON.
2.Pick direction.
3.Copy result.
FAQ
Which YAML version is supported?
YAML 1.2, the version used by most modern tools (Kubernetes, GitHub Actions, Docker Compose).
Are comments preserved?
JSON has no comment syntax, so YAML comments are lost when converting YAML → JSON. JSON → YAML output is comment-free by default.
Is YAML ↔ JSON free?
Yes. Every tool on docsntools is 100% free with no signup, no watermarks, and no upload limits.
Are my files uploaded to a server?
No. All processing happens entirely in your browser. Your files never leave your device.
Does it work on mobile?
Yes - every tool is responsive and works in modern mobile browsers (Chrome, Safari, Firefox).