JSON Schema-Generator

Leite ein normkonformes JSON Schema aus Beispieldaten ab.

JSON-Eingabe

Knotendetails

Knoten auswählen, um Details anzuzeigen

Hauptfunktionen

Format Detection

Strings matching email, date, date-time, uri and uuid patterns get their proper format annotation automatically.

Required Inference

For arrays of objects, only keys present in every element land in required — optional keys are detected, not forced.

Union Types

A field seen as both string and null becomes type: ["string","null"], never silently collapsed.

Draft Choice

Emit Draft 2020-12 or Draft-07 $schema URIs plus optional additionalProperties: false strictness.

So verwenden Sie JSON Schema-Generator

1

Paste Example JSON

Provide a representative payload — ideally an array covering all shape variations.

2

Tune the Schema

Pick the draft, required strictness and additionalProperties mode.

3

Copy or Download

Use the schema in your validator, docs or code generation pipeline.

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 JSON Schema drafts are supported? ▾

Both Draft 2020-12 and Draft-07 $schema URIs can be generated.

How is required computed? ▾

Inside object arrays, a key appears in required only if every element defines it — matching real-world optional fields.

Which string formats are detected? ▾

email, date, date-time, uri and uuid are recognized from value patterns.

Are mixed-type fields handled? ▾

Yes — conflicting types merge into JSON Schema union arrays like ["string","null"].

Can I get strict schemas? ▾

Enable the additionalProperties: false option to reject undeclared fields.