File Tools

JSON Validator and Formatter

Check JSON syntax, format it for reading, or minify it for sharing. Your data stays in your browser.

Your JSON

Paste JSON below or open a JSON file, up to 2 MB.

Enter JSON to get started.

JSON validator guide

JSON validator guide

How to use it

Paste JSON or open a file, then select Validate. Format adds indentation; Minify removes unnecessary whitespace. Copy or download the result when ready.

What is checked

This checks JSON syntax, not a JSON Schema or whether the data is correct for a particular application. Objects, arrays, strings, numbers, booleans, and null are accepted.

Common errors

Use double quotes around keys and strings, remove trailing commas, and escape special characters inside strings. Error details depend on your browser.

Privacy and limits

JSON is processed in your browser and is not uploaded. Input is limited to 2 MB; deeply nested documents may be too large to format. Keep a copy of your original file.