Convert YAML to JSON.
YAML flattened to portable JSON — right on your device.
Drop YAML files here
or browse your files
Paste with ⌘V · or drop files anywhere on the page
Files never leave your device. Everything runs in your browser, nothing touches a server — tools you've used even work offline.
Convert YAML to JSON entirely in your browser — anchors and aliases resolved, pretty or minified output, strict validation with real error messages. Configs become portable JSON any tool can read. Nothing is uploaded.
How it works
- Drop files anywhere on the page, click to browse, or paste with ⌘V.
- Pick a quality or preset — or set an exact target size and let the tool find it.
- Compress, compare before/after, and download — individually or as a ZIP.
What conversion resolves
YAML’s conveniences are expanded into plain data: anchors and aliases become the values they reference, block scalars become normal strings, and the result is exactly what a YAML parser would hand your program — now portable to anything that speaks JSON. Comments have no JSON form and are dropped; that is inherent to the format, not a bug.
Strict where it matters
Duplicate keys and syntax errors fail loudly with the parser’s message instead of guessing, and multi-document files are refused with a clear note rather than silently truncated. Dates written like 2024-01-15 stay strings — YAML 1.2 semantics, and what you want in JSON. The reverse trip is JSON to YAML.
Frequently asked questions
What happens to anchors and aliases?
They are resolved — each alias becomes a full copy of the anchored value, which is exactly how any YAML-consuming program sees the data.
Pretty or minified?
Your pick — 2-space pretty printing for reading and diffs, or minified single-line output for payloads. The toggle sits right on the page.
Why was my file refused?
Usually a syntax error, a duplicate key, or a multi-document stream (---separated). The error message quotes the parser so you can fix the exact line.
Is my data uploaded?
No. The conversion is plain parsing that runs entirely in your browser — the server only delivers this page. Kubernetes secrets and CI configs never leave your device. Want proof? Run one file through, switch your connection off, and run another — it still works.