Data
JSON formatter
Drop a JSON file or edit the sample. The download is pretty-printed text.
No file requiredDrop several to batch them into one zip. Paste works too. Nothing is uploaded.
R runs. Esc cancels. D downloads.
0%
Ready when you are.
- Before
- —
- After
- —
How JSON formatter works
- Paste JSON or drop a .json file. A file replaces the field.
- Pick 2 spaces, 4 spaces, or a tab.
- Run. The preview and the download use the same indent.
Objects and arrays keep their key order. A parse error names the line and column from the engine’s position, so you can jump to the typo instead of hunting through a minified line.
Questions
Does JSON formatter upload the file?
No. JSON formatter runs in this browser. Nothing is uploaded.
What does JSON formatter produce?
Objects and arrays keep their key order. A parse error names the line and column from the engine’s position, so you can jump to the typo instead of hunting through a minified line.
How is JSON formatter ahead of the usual version?
2 options are on the page before you run, and Run is the R key.