JSON Validator
Check that JSON is valid and see the exact line and column of any error.
Input
Waiting for JSON
Output
or press ⌘/Ctrl + EnterYour result appears here.
- Runs in your browser
- Nothing is uploaded
- Free, no sign-up
How to use it
- Paste your JSON, open a file, load a URL, or drop a .json file anywhere on the page.
- Choose the indentation, or Minify to remove all whitespace. Sort keys orders every object alphabetically.
- Read the result as code with line numbers and folding, or switch to Tree to collapse, filter and copy paths.
- If the JSON is broken you see the line and column; Repair fixes quotes, trailing commas and comments.
Why Tool Dock
- FastEverything runs on your own device, so there is no queue and no waiting for uploads.
- PrivateYour files and text never leave the browser. Close the tab and they are gone.
- Batch friendlyDrop several files at once and download each result, or all of them together.
Questions
What are the most common JSON mistakes?
A trailing comma after the last item, single quotes instead of double quotes, comments, and unquoted keys. The error message points to the line where parsing stopped.
Does it check against a JSON schema?
No. It checks that the text is valid JSON syntax, which is what most errors are.
Related tools
- HTML FormatterBeautify HTML, CSS and JavaScript with consistent indentation.
- SQL FormatterFormat messy SQL into readable, consistently indented queries.
- XML FormatterPretty-print or minify XML and see mistakes at a glance.
- Base64 DecodeTurn Base64 back into text, images or files, right in your browser.
- Base64 EncodeTurn text or any file into Base64, right in your browser.
- BIMI CheckerCheck whether your brand logo can show next to your emails: BIMI record, logo, certificate and DMARC.