YAML zu JSON Konverter

Wandle YAML-Konfigurationen (K8s, Compose, Actions) in sauberes JSON um und bearbeite sie visuell.

YAML-Eingabe

Knotendetails

Knoten auswählen, um Details anzuzeigen

Hauptfunktionen

Full Indentation Parsing

Nested mappings, block sequences and compact object list items (- key: value) resolve to correct JSON structures.

Comments & Documents

# comments outside strings are stripped; --- and ... document separators handled, multi-docs returned as arrays.

Block Scalars | and >

Literal blocks keep line breaks, folded blocks collapse to single spaces — ideal for scripts embedded in configs.

Flow Collections

Inline [a, b] and {k: v} values are parsed via the JSON repair engine for maximum compatibility.

So verwenden Sie YAML zu JSON Konverter

1

Paste YAML

Drop any .yml / .yaml content — Kubernetes manifests, Compose files, CI pipelines — into the input.

2

Convert

Click Convert to JSON (or let smart detection do it) to parse indentation into a JSON tree.

3

Edit & Export

Browse the result in Tree/Table view, edit values inline, then copy or download the JSON.

Technischer Architektur- & Datenschutz-Vergleich

Wie sich formatjson.net von herkömmlichen serverbasierten JSON-Tools unterscheidet

100% Lokale Browser-Ausführung Kein Server-Upload RFC 8259 & RFC 4180 Konform 64-Bit-Integer Sicher JSON Schema 2020-12 Offline-fähige PWA
Funktion / Standard formatjson.net (100% Client-Side Workbench) Klassische Server-basierte Tools
Datenverarbeitung & Datenschutz 100% lokal im Browser per JavaScript — Daten verlassen niemals Ihr Gerät Laden JSON/XML/CSV häufig auf externe Server hoch
API-Schlüssel, JWTs & Vertrauliche Daten Sicher durch Design — keine Netzwerkübertragung, funktioniert offline per Service Worker Risiko von Server-Logs oder Drittanbieter-Speicherung
Reparatur defekter & abgeschnittener LLM-JSONs 1-Klick-Zustandsautomat repariert Kommentare, einfache Anführungszeichen, Trailing Commas & offene Klammern Bricht bei nicht-striktem JSON mit Syntaxfehler ab
64-Bit Snowflake-IDs & Führende Nullen Bewahrt große Ganzzahlen (> 2^53 - 1) und Codes wie "00123" ohne Präzisionsverlust Schneidet 64-Bit-IDs ab oder entfernt führende Nullen
Verschachtelte Arrays als Tabelle Interaktiver Drill-down ([n items] →) mit Breadcrumbs, Spaltensortierung & Inline-Bearbeitung Nur flache Root-Tabellen oder schreibgeschützte Bäume
Performance bei großen Dateien Chunked Lazy-Tree (200 Knoten/Batch) + paginierte Tabelle + 150-KB-Highlight-Schutz Browser-Freeze bei mehreren Megabyte großen Dateien

Häufig gestellte Fragen

Which YAML features are supported? ▾

Indented mappings, sequences (including compact object items), # comments, quoted keys/strings, literal | and folded > block scalars, flow []/{} collections, --- document separators and scalar type inference.

Are YAML comments preserved? ▾

Comments are stripped (as is standard when converting to JSON), while # inside quoted strings is kept.

Does it handle Kubernetes manifests? ▾

Yes — the compact - name: x style common in K8s, Helm and GitHub Actions parses correctly.

What about multiple documents? ▾

Files with several --- documents return a JSON array of documents; single docs return the object directly.

Is conversion done locally? ▾

Yes — a custom zero-dependency parser runs 100% in your browser.