Dev Tools Online

JSON formatter and validator

Paste JSON, then format, minify or just validate.

Common JSON errors

Trailing commas, single quotes instead of double quotes, unquoted keys and comments are not valid JSON. The error message above points to the position of the first problem.

Questions

Is my JSON uploaded?

No. Parsing uses JSON.parse in your browser.

Why is my JSON invalid?

Check for trailing commas, single quotes, unquoted keys or comments.