Text tools
JSON Formatter and Validator: Beautify or Minify JSON
Paste JSON to check that it's valid, then format it with clear indentation or minify it to one line. If something is wrong, you see the line and column of the mistake. Your data stays on your device.
Your data stays on your device.
How to use the JSON Formatter
- Paste your JSON.
- Click Format or Minify, and pick an indent size.
- Copy the result or download it as a .json file.
Frequently asked questions
- How do I know if my JSON is valid?
- Click Format. Valid JSON is formatted straight away; if it isn't valid you'll see what's wrong and where.
- What does minify mean?
- It removes all spaces and line breaks that aren't needed, so the JSON is as small as possible.
- Is my data sent anywhere?
- No. Your JSON is checked and formatted on your device and never leaves it, so it's safe for private data.
Related tools
- Word CounterPaste or type your text to count words, characters (with and without spaces), sentences and paragraphs as you type, plus an estimated reading time. What you type stays on your device.
- Case ConverterChange text to UPPERCASE, lowercase, Sentence case, Title Case, aLtErNaTiNg case and more with one click, then copy it. What you type stays on your device.