Title here
Summary here
Paste any YAML configuration — Kubernetes manifests, Docker Compose files, OpenAPI specs, or Spring Boot application.yml — on the left, and the tool validates and converts it into 2-space indented JSON on the right. Everything runs 100% client-side in your browser, so private config files never leave your machine. Need the reverse? Switch to the JSON to YAML Converter.
| YAML Feature | JSON Output | Notes |
|---|---|---|
Indented key: value |
{"key": "value"} |
Keys are always emitted as double-quoted strings |
Block sequence - item |
["item"] |
Nested lists and lists of objects are preserved |
Comments # ... |
Stripped | Standard JSON does not support comments |
Anchors &ref & aliases *ref |
Expanded inline | Reused YAML blocks are materialized into plain JSON values |
Literal | & folded > blocks |
Single JSON string with \n |
Preserves or folds newlines per YAML block scalar rules |
Empty value (key:) or ~ |
{"key": null} |
Maps directly to JSON null |
message: error: timeout fails to parse because YAML sees a second mapping colon. Wrap the value in quotes (message: "error: timeout").# comments in YAML are discarded during conversion — keep your YAML source if you rely on inline documentation.---): A single JSON output expects one root value. If your Kubernetes file contains multiple manifests separated by ---, convert one document at a time.js-yaml), so the YAML you paste never leaves your browser. The page only records anonymous usage events (such as a conversion or a copy click), never the content.&defaults) and aliases (*defaults) are automatically dereferenced and expanded into valid JSON objects.2026-11-26) as Date objects and serialize them into full ISO timestamp strings in JSON ("2026-11-26T00:00:00.000Z"). Quote the date ("2026-11-26") in YAML if you want a plain string.application.properties dot notation.