All tools Developer Tools

JSON Validator

Check whether JSON is valid and see exactly where it is not.

Your details

Paste your JSON here.

100 of 100 free uses left today

Your result will appear here

Fill in the details on the left and press the button. You will see the answer right here, without the page reloading.

About this tool

Paste JSON to find out whether it is valid. If it is not, you get the line and column and a hint (trailing comma, single quotes, comments, unquoted keys). Valid JSON gets a summary: how many objects, arrays, strings and numbers, how deeply nested, and a warning for repeated keys. Your text is processed for this request only and is never stored.

Frequently asked questions

What makes JSON invalid?

Trailing commas, single quotes, unquoted keys, comments, missing brackets and values such as undefined or NaN.

Can JSON contain comments?

No. Remove comments before you validate or send JSON.

Does a valid result mean the data is correct?

It means the syntax is right. It does not check that the values make sense for your application.

Guides and tutorials

Related tools