Paste JSON to find out whether it is valid. The check runs in your browser as you type, points to the line and column of the first problem, and never uploads your data.
Add to Chrome Free: formats JSON pages right in the tab.
.json file onto
it, or load it from a URL.
Missing commas, quotes or brackets, trailing commas, comments and single quotes are reported with the parser's message and the line and column.
A complete document followed by more text, such as a stray
; or a log line, is pointed out instead of ignored.
Format drops that text and tells you what it removed.
NDJSON and other input with more than one top-level value is recognized. The message says how many values there are, and Wrap in array turns them into one document.
Copied "user": {…} out of a larger object? The validator
says so and suggests wrapping it in braces.
Nothing is rounded: 12345678901234567890 and
1.50 stay exactly as written when the JSON is formatted.
Documents up to about 10 MB are checked. Formatting runs in a background worker, so the page stays responsive.
No. Validation runs entirely in your browser, and there is no backend to send data to. See the privacy policy for details.
No. Standard JSON (RFC 8259) allows neither, so both are reported as errors with their position. Remove them to make the document valid.
A JSON document holds exactly one top-level value, and NDJSON has one per line. The validator counts them and offers Wrap in array, which keeps every value.