Format and Validate JSON
When you need to read a messy JSON.
Your text is never sent anywhere. Everything is processed on this device.
- 1Paste JSON
- 2Choose how to format
- 3Copy the result
Indent
Pasted text is processed on this device. Nothing is sent anywhere.
Done
🔒 Your files are never sent to an external server. Everything is processed safely inside this browser.
If PDF Mikata was useful, a small tip would mean a lot.
Send a tip (¥300)Send a gift (Amazon wishlist)Tools often used together
Convert CSV and JSONConvert between CSV and JSON instantly.
Convert Files and Base64Turn a file into Base64 and back.
Remove Duplicate Lines and Sort a ListRemove duplicates and sort a list.
Merge PDFsCombine PDFs into one.
How to use
- Paste the JSON into "Input".
- Choose the indent (2 spaces, 4 spaces or tab).
- Copy "Output" with "Copy result".
How it works
- A hard-to-read one-line JSON is turned into an indented, readable form.
- "Minify" removes extra whitespace to make it shorter.
- If something is wrong, the approximate line is shown.
Notes
- In JSON, keys and strings must be wrapped in double quotes (").
- Comments and a trailing comma are not allowed in JSON.
FAQ
Is the pasted text sent anywhere?
No. Everything is processed inside the browser on your device.
Why do I get an error?
Missing commas or quotes and a trailing comma are the usual causes.
If PDF Mikata was useful, a small tip would mean a lot.
Send a tip (¥300)Send a gift (Amazon wishlist)