All tools

JSON validator

Check whether JSON is valid and find the line and column of the first mistake. Free, with no account or uploads.

Paste JSON to check it

The first mistake is shown with its line and column. A repair is offered as a preview, never applied unasked.

Paste below or drop a text file here · up to 10 MB
Indentation
2 spaces4 spacesTabs
More transformations

Sorting changes key order recursively, preserving array order. Repair can add or remove content; review its preview. Redaction matches exact property names, ignoring case, and does not guarantee every secret is removed.

Results appear here; your source stays intact.
Start with a document or try the example.Ctrl/Cmd + F to find · Ctrl/Cmd + Z to undo · Escape, then Tab to leave the editor

Source, comparison and schema text stay in this tab and clear on refresh. Files are not uploaded. The editor never runs pasted JavaScript. Cancel stops the worker without changing your source.

How it works and help
One workspace. All on your device.
5 million characters · 100 levels · 100,000 values

A little help along the way

Say what you want to do: make it readable (Edit, to format or repair), look through it (Explore), turn it into CSV or YAML (Convert) or compare two (Compare). The page says at once whether your JSON is valid. Under More options every workflow has its tab, with Query to select data and Schema to check a contract. Results stay separate until you choose Use result as source.

Questions people ask

How do I find the error in my JSON?
Paste it. The page says at once whether it is valid; when it is not, it gives the parser's own words with the line and column, and Go to error puts the cursor on that place.
Can it fix broken JSON for me?
Preview repair suggests a fixed copy (trailing commas, single quotes, missing commas and similar slips) in the result pane. It can guess wrong, so it is never applied until you choose Use result as source.
Does it accept comments or trailing commas?
No. It checks strict JSON as the standard defines it, so comments and trailing commas are reported as mistakes. Repair can take them out for you to review.
Is the JSON I paste sent anywhere?
No. It is checked in a worker inside this browser tab, nothing is uploaded, and the text is cleared when you refresh the page.

This page is the JSON formatter, opened for this one job; every other tool it has is one press away. Each of its settings is explained on the JSON formatter's own page.