// DEV / JSON-VALIDATE

JSON 校验JSON Validator

校验 JSON 语法并定位错误行列,同时给出节点数、深度与类型统计。Validate JSON syntax with exact error location, plus node count, depth and type stats.

边输入边校验,内容不会上传到服务器。Validated while you type, nothing is uploaded.
等待输入。粘贴或输入 JSON 后,这里会显示校验结果和结构统计。Waiting for input. Validation and structure stats will appear here.

常见问题FAQ

JSON 校验工具能显示错误位置吗?Does the validator show where the error is?

能。校验失败时会给出第几行第几列,并高亮出错字符,同时显示该行的上下文,方便直接定位。Yes. Failures report the line and column, highlight the offending character and show the surrounding line so you can jump straight to it.

校验通过后会显示什么?What is shown when the JSON is valid?

会显示字符数、节点数、对象数、数组数和最大嵌套深度,用来快速判断数据结构是否符合预期。Character count, node count, object count, array count and maximum depth, which makes it easy to check whether the structure matches your expectation.

同类工具Related tools

所有计算都在你的浏览器本地完成,输入内容不会上传到任何服务器。Everything runs locally in your browser. Nothing you type is ever uploaded to a server.