YAML-Formatierer
Kostenloser YAML-Formatierer. Normalisieren Sie die Einrückung, lösen Sie mehrdeutige Anführungszeichen auf und richten Sie Schlüssel in Kubernetes-Manifesten, CI-Konfigurationen und allem anderen, was YAML ist, aus. Prettier-gestützt, im Browser.
YAML Input
Output
Häufig gestellte Fragen
›Does it handle anchors and aliases?
Yes — Prettier's YAML parser understands *anchors, &aliases, block scalars, flow-style sequences and maps, all of it. The output round-trips cleanly.
›Will it change my values?
Only whitespace and quoting. If a value was ambiguous (like unquoted `yes` being coerced to boolean), it stays as-written — Prettier won't silently re-parse scalars.
›Is this a linter?
No — it's a formatter. For lint rules (required keys, schema validation) use yamllint or a Kubernetes-specific linter.
›Safe for Kubernetes manifests?
Yes — tested on Deployments, Services, ConfigMaps, Helm templates. Multi-document files (--- separators) round-trip cleanly.