Input
{a: 1,}Fixed
{
"a": 1
}Developer Tools
Locate invalid JSON error positions in your browser, highlight the character that triggers SyntaxError, and apply heuristic fixes for trailing commas, single quotes, and unquoted keys.
Favorite this tool
No favorite storage mode has been selected.
Quick actions
Copy this tool URL or open the system share sheet on a supported device.
开发工具
Input
{a: 1,}Fixed
{
"a": 1
}Not always. It only applies common heuristics; heavily broken nested JSON still needs manual edits at the reported position.
This tool focuses on breakpoint location and small repairs. Use JSON validation or formatting tools when you need structure overview or pretty printing.
Tools
Continue with another translated tool for a nearby task.
JSON Formatter
Format, minify, sort, and validate JSON in your browser. Parsing errors include location details, and your data never leaves the page.
JSON Validator
Validate JSON syntax, locate parsing errors, inspect structure, and try safe repairs locally in your browser.
JSON Diff
Compare two JSON documents recursively and list added, removed, and changed paths. Processing stays in your browser.