跳转到主要内容
CuteJSON
↑↓ 导航 Enter 选择 Esc 关闭

JSON Validator

Paste JSON and find out whether it is valid, where exactly it breaks, and what quietly went wrong even when it parses.

返回所有工具
0 行 0 B

键盘快捷键

这些快捷键在页面上对应操作存在时有效。

打开命令面板
Ctrl/Cmd + K
运行主要操作
Ctrl/Cmd + Enter
格式化
Ctrl/Cmd + Shift + F
压缩
Ctrl/Cmd + Shift + M
复制输出
Ctrl/Cmd + Shift + C
打开文件
Ctrl/Cmd + Shift + O
下载输出
Ctrl/Cmd + S
关闭此对话框
Esc
打开此对话框
F1 / ?

本地数据

以下所有内容仅存储在此浏览器、此设备上。

未保存的草稿
记住选项的工具

最近打开的文件

    此设备上尚未打开任何文件。

    通过链接分享

    内容被打包在链接 # 号之后的部分。

    分享此页面上的第一个输入。

    暂无可分享的内容。

    从 URL 加载

    直接从浏览器获取 URL。

    完全在您的浏览器中运行。

    关于此工具

    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.

    使用方法

    1. Paste your JSON into the editor, or load the sample.
    2. Validation runs as soon as you stop typing. You can also press Validate to run it immediately.
    3. Read the result above the editor. Errors mark the failing line in the gutter, and warnings are listed with their own line numbers.