Format and validate JSON privately
Paste JSON and it is checked as you type. When something is wrong, the validator points to the exact line and column and explains the problem, such as a trailing comma or a missing quote. Formatting and minifying happen locally, so API responses and config files with sensitive data never leave your device.
How to use it
- Paste JSON, open a .json file or drop it onto the editor.
- Fix any error using the line and column shown, or jump straight to it with Go to error.
- Format with 2 or 4 spaces or tabs, or minify it, then copy or download the result.
Frequently asked questions
Is my JSON uploaded anywhere?
No. Validation and formatting run entirely in your browser. Nothing is sent to a server, which makes it safe for tokens, logs and private data.
What are the most common JSON errors?
Trailing commas after the last item, single quotes instead of double quotes, unquoted keys and comments. JSON allows none of these, and the validator flags each one with its position.