Bidirectional conversion between YAML and JSON. Paste YAML →get JSON. Paste JSON →get YAML. Supports nested objects, arrays, multi-line strings, and anchors. 100% client-side.
YAML (YAML Ain't Markup Language) is a human-readable data serialization format used heavily in DevOps: Kubernetes manifests, Docker Compose, Ansible playbooks, CI/CD pipelines, and OpenAPI specs. JSON (JavaScript Object Notation) is the machine-oriented equivalent —compact, schema-friendly, and the lingua franca of web APIs.
This converter handles:
| (literal) and > (folded) block scalars# comments are stripped during conversion to JSON&anchor and *alias referencesTypical use cases: converting Kubernetes YAML manifests to JSON for programmatic processing, migrating config from YAML to JSON, inspecting Docker Compose files as structured data, or preparing OpenAPI specs for tooling that expects JSON. All conversion happens entirely in your browser.