Zum Inhalt springen
ZeroKit

JSON-Formatierer

KostenlosBeliebt

JSON prüfen, verschönern und minifizieren – mit Fehlerpositionen.

Paste JSON to have it formatted with the indentation you prefer, minified to a single line, or checked for syntax errors that point to the exact line and column. Key, depth and array counts update as you type, and nothing leaves the tab.

Loading tool…
Läuft 100 % in Ihrem Browser – nichts wird hochgeladen.·Entwickler-Tools

JSON-Formatierer verwenden

  1. 1Paste JSON into the input box, or drop a .json file onto the drop zone.
  2. 2Pick an indentation of 2 spaces, 4 spaces or tabs, and turn on Sort keys if you want stable output.
  3. 3Use the Minify button to strip every optional whitespace character from the document.
  4. 4Fix anything the validator reports — it names the line and column of the first error.
  5. 5Copy the formatted JSON or download it as a .json file.

FAQ zu JSON-Formatierer

Why is my JSON invalid?

Almost every invalid JSON error comes from a trailing comma, single quotes instead of double quotes, an unquoted key, or a comment. The validator shows the first offending line and column so you can fix it directly.

Does this JSON formatter upload my data?

No. Parsing, formatting and minifying all run in JavaScript inside your browser. No request is made and nothing is stored on a server.

What is the difference between formatting and minifying JSON?

Formatting adds indentation and line breaks so humans can read the structure. Minifying removes all optional whitespace to make the payload as small as possible for storage or transport.

Can I format a large JSON file?

Yes, up to about 2 MB of text in the editor. Much larger documents are better handled by a command-line formatter such as jq, because rendering megabytes of text in a browser tab gets slow.

Nutzen Sie JSON-Formatierer oft?

Pro entfernt jede Werbung, erhöht die Dateilimits und ergänzt Batch-Modus sowie gespeicherte Presets in allen Tools.

Tarife vergleichen →

Verwandte Tools