JSON validator
Check JSON syntax and see parsing errors.
JSON validator
Type or paste to update the result automatically.
Your result appears here
Type, paste, or use an example. Copy your result when it is ready.
ວິທີໃຊ້ JSON validator
JSON validator checks whether your text is valid JSON and reports the line and column of the first syntax error. Valid input returns the root type and its size in UTF-8 bytes. When the only problem is trailing commas, it offers a repaired candidate you can download as repaired.json while leaving your original text unchanged.
- Type or paste your source, or load an example.
- Results update automatically as you edit.
- Review and copy or download your result. Pause Live results to run manually. Sources or individual settings above 20,000 characters require an explicit run.
ສິ່ງທີ່ເຄື່ອງມືນີ້ຮອງຮັບ
Reports the line and column of invalid JSON. When the only problem is a trailing comma outside a string, a repaired candidate is offered and the original input stays unchanged.
ຂໍ້ຈຳກັດ ແລະ ການປະມວນຜົນ
Text operations generally accept up to 2,000,000 characters. Individual parsers, generators and formulas apply additional limits shown by their controls.
ແຫຼ່ງຕົວຢ່າງ
{"name":"ToolCabana","count":2}ຄຳຖາມທີ່ພົບເລື້ອຍ
How do I find where my JSON is broken?
Paste the JSON and run the validator. If parsing fails, the error message starts with the line and column where the problem was detected, followed by the parser message describing what was unexpected.
Can the JSON validator fix trailing commas?
Yes, but only that case. If removing commas that sit outside strings makes the JSON valid, it shows the repaired candidate and a download. Any other error is reported without a repair.
Why is my JSON with a very large number rejected?
Integers outside the exact range of -9,007,199,254,740,991 to 9,007,199,254,740,991 are rejected because they would be rounded. Store large IDs or amounts as quoted strings to keep every digit.
Where is my input processed?
This operation processes its source in your browser. Copy and download are explicit actions; source input is not saved in an account or history.
What are the input limits?
Text operations generally accept up to 2,000,000 characters. Individual parsers, generators and formulas apply additional limits shown by their controls.