YAML ↔ JSON Konverter

Konvertiere zwischen YAML und JSON in beide Richtungen. Für Kubernetes-Manifeste, CI-Configs und OpenAPI-Specs.

Geben Sie oben eine Eingabe ein, um das Ergebnis zu sehen.

What is this for?

YAML and JSON describe the same things — nested maps, lists, primitives — but trade off readability vs strictness. YAML is friendlier for humans (Kubernetes manifests, GitHub Actions, OpenAPI, most CI configs); JSON is what APIs and machine-readable formats ship. This converter flips between them losslessly for the structures both can express. YAML uses js-yaml (YAML 1.2); JSON uses the native API. Both directions run in your browser.

When to use it

Common gotchas