YAML-Konverter
Convert between YAML and JSON online. Kostenlos, privat und 100% clientseitig.
Beispiel ausprobieren:
Local only
Letzte Verlauf
Noch kein Verlauf
Verwendung
- Paste YAML or JSON into the input box.
- Choose YAML to JSON or JSON to YAML mode.
- Kopieren oder laden Sie das Ergebnis herunter.
Aufgaben mit diesem Tool
Konvertieren CSV to YAML
Konvertieren tabular CSV data to YAML for structured configuration or documentation. Each row becomes a YAML list item with column headers as keys. AUFGABE
Konvertieren JSON to YAML and back without losing data
Translate zwischen JSON und YAML für Konfiguration Dateien, preserving nested Strukturen, Arrays, und scalar Typen across der round-trip. AUFGABE
Konvertieren TOML configuration to JSON
Analysieren a TOML config file (used by Rust, Python projects) into JSON for tooling that expects JSON input. AUFGABE
Konvertieren XML to YAML
Konvertieren XML documents to YAML for more readable configuration files. YAML's indentation-based syntax is cleaner than XML's tags for human-authored data. AUFGABE
Migrate Konfiguration zwischen JSON und YAML
Konvertieren a JSON config to YAML (or back) with a formatted intermediate step, and know the type-coercion pitfalls before you commit the file. AUFGABE
Verwenden YAML frontmatter für Dokument metadata
Frontmatter ist YAML metadata at der oben von ein Markdown Datei, delimited durch ---. Gemein in static site generators (Astro, Hugo, Jekyll) für Seite metadata. AUFGABE
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
JSON-Formatierer
Format, minify, or sort JSON online. Kostenlos, privat und 100% clientseitig. WERKZEUG
XML-Formatierer
Beautify or minify XML online with 2-space indentation. Kostenlos, privat und 100% clientseitig. WERKZEUG
JS-Formatierer
Beautify or minify JavaScript source code online. Text-only formatting, no execution. Kostenlos, privat und 100% clientseitig. WERKZEUG
CSV-Konverter
Convert between CSV and JSON online. Supports comma, semicolon, and tab delimiters. Kostenlos, privat und 100% clientseitig. WERKZEUG
TOML-Konverter
Convert between TOML and JSON formats online. Kostenlos, privat und 100% clientseitig. WERKZEUG