Zum Inhalt springen
uencoder

YAML-Konverter

Convert between YAML and JSON online. Kostenlos, privat und 100% clientseitig.

Beispiel ausprobieren:
Local only

Letzte Verlauf

Noch kein Verlauf

Verwendung

  1. Paste YAML or JSON into the input box.
  2. Choose YAML to JSON or JSON to YAML mode.
  3. Kopieren oder laden Sie das Ergebnis herunter.

Aufgaben mit diesem Tool

Pipelines mit diesem Tool

Häufige Fragen

What YAML features are supported?
Basic YAML with nested mappings, sequences, scalars (string, number, boolean, null), and quoted strings. Multi-line literals (|, >), anchors (&), and references (*) are not supported.
Werden meine Daten irgendwo hochgeladen?
Nein. Die gesamte Konvertierung erfolgt lokal in Ihrem Browser, ohne Server-Roundtrip.
How are YAML types inferred?
Unquoted scalars are inferred: 'true'/'false' → boolean, 'null'/'~' → null, digits → number, everything else → string. Use quotes to force string type for values like '3.14' or 'true'.
What indentation does JSON-to-YAML use?
2-space indentation, with sequences rendered in block style (- item). Flow style ([a, b]) is not used; this maximizes readability and diff-friendliness.
Can I convert Kubernetes manifests?
Yes, as long as they use only supported features. Multi-document YAML (--- separators) is not supported; convert each document separately.
Why does my YAML fail to parse?
Common causes: tabs for indentation (YAML requires spaces), missing space after colon, unsupported anchors/multi-line literals. Check the error message for the line number.

Verwandte Tools