Entwickler-Tools

JSON-Prüfer

Prüfen Sie die JSON-Syntax und finden Sie Fehler schnell.

JSON-Prüfer

Unterstützt von UtilBrix

Ihre Eingaben bleiben in Ihrem Browser. Kein Konto erforderlich.

Detaillierte Methoden, Beispiele und einige erweiterte Hinweise sind derzeit auf Englisch verfügbar.

Step-by-step instructions (English)

  1. Paste the complete JSON document or value.
  2. Select Validate and run the check.
  3. Read the parser error and line or column information when available, fix the input, and validate again.

Formel und Methode

Validation parses the entire input as JSON. A valid document can be an object, array, string, number, boolean, or null. Errors are reported using the JavaScript parser message and line/column information when available.

Ein praktisches Beispiel

{"name":"Aman"} is valid JSON. {name:"Aman"} is invalid because JSON object keys require double quotes.

When this tool is useful

Troubleshoot a rejected API body or a configuration file that will not load. Validate the actual copied payload, including quotes and commas, rather than a shortened fragment that may hide the problem.

Common mistakes and limitations

  • JSON property names and string values require double quotes; single quotes belong to other syntaxes.
  • A successful syntax check does not verify business rules, required fields, or the trustworthiness of the values.

Practical questions about this tool (English)

Can a JSON document be just a number or null?

Yes. Standard JSON allows an object, array, string, number, boolean, or null at the top level. Your consuming API may impose stricter requirements.

Why can the reported error position be after the mistake?

The parser points to where it can no longer continue. A missing quote, comma, or bracket earlier in the input can make a later character appear to be the problem.

References and further reading

Put this tool into practice

Weitere nützliche Tools

UtilBrix installieren

Ihre Tools mit einem Tippen direkt vom Startbildschirm öffnen.

  1. Öffnen Sie das Menü Ihres Browsers (⋮).
  2. Wählen Sie „App installieren“ oder „Zum Startbildschirm hinzufügen“.
  3. Bestätigen Sie, um UtilBrix zum Startbildschirm hinzuzufügen.

Wenn die Installationsoption fehlt, öffnen Sie die Seite in Chrome auf Android.

Tools suchen

↑ ↓ Navigate · Enter Open · Esc Close