Global Araç
Json Validator
✓ Valid JSON
Bytes
162
Minified
124
Nodes
11
Max depth
2
Uses your browser’s native JSON parser, so errors match what Node.js / Python / any standard parser would report. Common issues: trailing commas (not allowed in JSON), single quotes (must be double), comments (not allowed in standard JSON — use JSON5 if you need them).
Validate JSON with line/column error reporting. Uses your browser’s native parser, so error messages match what Node.js / Python / any standard library would produce. When valid, also reports byte size, minified size, total nodes, and max nesting depth.
Nasıl Kullanılır
- Paste your JSON.
- Watch validity update live.
- If invalid, the error message + line/column points to the exact problem.
Sık Sorulan Sorular
Can I use comments in JSON?
Standard JSON (RFC 8259) doesn't allow comments. JSON5 and JSONC do. If you need comments, your stack needs to be using one of those parsers — strict JSON.parse will reject any // or /* */.
What about trailing commas?
Strict JSON disallows them. JSON5 / JSONC allow them. Most production parsers (especially in browsers and APIs) reject trailing commas.