Free JSON Formatter, Validator & Escape/Unescape Tool
Format, validate, minify, escape and unescape JSON. It runs in your browser and nothing is stored.
Advertisement
How to use it
- Paste your JSON or text into the Input box.
- Click Format / prettify, Minify, Escape or Unescape.
- Copy the result from the Output box, or fix the error shown under the buttons.
Frequently asked questions
Is my JSON sent to a server?
No. Everything runs in your browser, so API responses, tokens and config you paste stay on your device.
How do I pretty print JSON?
Paste it in the Input box and click Format / prettify. Choose 2 spaces, 4 spaces or tabs for indentation.
What does escape and unescape do?
Escape turns quotes, backslashes and line breaks into sequences like \" and \n so text can sit inside a JSON string. Unescape reverses it.
Why does it say my JSON is invalid?
Common causes are trailing commas, single quotes instead of double quotes, unquoted keys and comments. The error message points at the problem.
Can it minify JSON?
Yes. Minify removes all extra whitespace to make the JSON as small as possible.
Advertisement
