JSON Validator
Paste JSON and find out whether it is valid, where exactly it breaks, and what quietly went wrong even when it parses.
关于此工具
Validation here checks your document against RFC 8259 and names the actual mistake rather than reporting an unhelpful unexpected token. Single quotes, unquoted keys, trailing commas, wrong case keywords, NaN and Infinity, leading zeros and bad escapes each get their own message with a line and column. It also reports duplicate keys, which are legal JSON but almost always a bug: the last value silently wins and the earlier one is discarded. Most validators say nothing at all about them.
使用方法
- Paste your JSON into the editor, or load the sample.
- Validation runs as soon as you stop typing. You can also press Validate to run it immediately.
- Read the result above the editor. Errors mark the failing line in the gutter, and warnings are listed with their own line numbers.