JSON-Formatter
JSON formatieren, minifizieren und als interaktiven Baum erkunden.⌘⏎ run · ⇧⌘C copy · ⎋ resetINPUTEinrückung
2
JSON einfügen oder eingeben. Fehler werden rot unterstrichen.
OUTPUT
❯ _Operation ausführen, um Ergebnisse hier zu sehen.then press ⌘⏎
ADSponsored
What is JSON-Formatter?
The JSON Formatter pretty-prints, validates and minifies JSON entirely in your browser, and offers an interactive tree view. It pinpoints syntax errors with line and column and can sort keys for stable diffs. Nothing you paste ever leaves your device, so it is safe for production data.
How to use it
- 01Paste raw JSON into the input.
- 02Pick an indent width (or 0 to minify).
- 03Press Format, then copy, download, or explore the tree.
FAQ
Is my JSON uploaded?
No — parsing and formatting run locally; the page even works offline.
Can it minify instead of format?
Yes — set indent to 0 or use Minify to strip all whitespace.
What is the maximum size?
Large documents format smoothly; extremely large inputs may switch to a lighter view.
Beispiele
Format compact JSON{
"json": "{\"a\":1,\"b\":[2,3]}",
"indent": 2
}