Invalid JSON can come from many sources: hand-editing a config file, copying from an API response that wrapped JSON in HTML, a template that left a trailing comma, or a serialiser that used single quotes. The most common JSON errors — and how to fix them — are:
Trailing comma after last element — remove the final comma before ] or }
Single quotes instead of double quotes — replace ' with " around strings and keys
Unquoted keys — add double quotes around all property names
JSON Tool
All processing happens in your browser — your files are never uploaded to any server.
🚀Open JSON Validator100% Free · No account · Works on any device
Paste your invalid JSON and click Validate to get the exact error location and what needs to be fixed.
Step-by-step guide to fix invalid json:
Paste the invalid JSON
Copy the JSON you need to fix and paste it into FixTools.
Read the error message
FixTools reports the line, column, and type of error. Common messages: "Unexpected token", "Expected comma", "Unexpected end of input".
Fix the error
Correct the issue at the reported location. Common fixes: add a missing comma, remove a trailing comma, replace single quotes with double quotes, or add quotes around a key.
Revalidate
Click Validate again. Repeat until the JSON shows as valid.
More use-case guides for the same tool:
Open the full JSON Validator — free, no account needed, works on any device.
Open JSON Validator →Free · No account needed · Works on any device