About JSON
Paste JSON to check that it is valid and see where the problem is if it is not. Format it with indentation, minify it to one line or sort the keys alphabetically.
String helpers escape and unescape quotes and special characters. Everything runs locally.
How to use it
- Paste your JSON.
- Choose format, minify or sort keys.
- Copy the result.
Frequently asked questions
- Why is my JSON invalid?
- Common causes are trailing commas, single quotes instead of double quotes, and unquoted keys. The error message points to the position.
- Is my JSON sent to a server?
- No. Parsing and formatting happen in your browser.