Diese Seite ist noch nicht auf Deutsch verfügbar, daher zeigen wir die englische Version.

JSON Validator — Validate JSON Online

Paste JSON to check whether it is valid. Errors are reported with the exact line and column and a plain-English explanation — and valid JSON is formatted for you.

Aktualisiert am
Indent
Open file
Paste JSON or load the sample
Formatted JSON appears here.

Deine Daten verlassen nie deinen Computer. Die Verarbeitung erfolgt zu 100 % lokal im Browser.

So nutzt du: JSON Validator

  1. Paste your JSON — it is validated as you type.
  2. If there is an error, jump to the reported line and column and read the explanation.
  3. Valid JSON is formatted; switch to Minify or sort keys if you need to.

The most common JSON errors

  • Trailing comma — {"a": 1,} is valid JavaScript but not JSON.
  • Single quotes — JSON strings and keys need double quotes: "name", not 'name'.
  • Unquoted keys — {name: "x"} must be {"name": "x"}.
  • Missing comma between two values or properties.
  • Comments — // … and /* … */ are not allowed in JSON.
  • Special values — NaN, Infinity and undefined don’t exist in JSON.

Strict validation

The validator follows RFC 8259, the same rules as JSON.parse() in browsers and every standard JSON library. If it validates here, it will parse in JavaScript, Python, Java, Go and PHP.

Validating against a schema

Syntax validation checks that the text is JSON. To check that it has the right structure — required fields, types, allowed values — use the JSON Schema Validator.

Auch gesucht als: validate json, json checker, json lint, json syntax checker, check json online, jsonlint, json error finder.

Passende Tools zu: JSON Validator

  • JSON Formatierer — Füge JSON ein, um es zu formatieren, zu minifizieren oder zu prüfen.
  • JSON Schema Validator — Paste a schema and some JSON to see exactly which values break which rule — or generate a starting schema from example data.
  • JSON Viewer — Explore big or deeply nested JSON comfortably: fold and unfold objects, search for keys or values and click any node to get its JSONPath.
  • JSON Diff — Find exactly what changed between two JSON documents — API responses, config versions, fixtures or exports — as a list of paths with old and new values.

Häufige Fragen

Why is my JSON invalid?
Most often because of a trailing comma, single quotes, an unquoted key or a missing comma. The error message points to the line and column where parsing failed.
Does JSON allow comments?
No. Standard JSON has no comments. Some tools accept JSONC or JSON5, but APIs and JSON.parse() do not.
What is the difference between a JSON validator and JSON Schema validation?
A validator checks syntax. JSON Schema validation checks that valid JSON also has the expected structure and types.
Kann ich JSON Validator als Web-App installieren und offline nutzen?
Ja. JSON Validator ist eine installierbare Web-App (PWA) – sie wird über Ihren Browser installiert und nicht aus einem App-Store heruntergeladen. Klicken Sie oben auf dieser Seite in Chrome oder Edge (Windows, macOS, Linux, ChromeOS) auf „App installieren“ oder verwenden Sie auf Android-Geräten „Teilen“ → „Zum Startbildschirm hinzufügen“ auf dem iPhone und iPad bzw. „Datei“ → „Zum Dock hinzufügen“ in Safari 17+ auf einem Mac. Die App öffnet sich dann in einem eigenen Fenster mit einem eigenen Symbol, und da sie vollständig in Ihrem Browser ausgeführt wird, funktioniert sie auch offline. Firefox auf dem Desktop kann keine Web-Apps installieren. So funktioniert die Installation.

Ähnliche Tools