About this tool
Copy a JSON response straight out of an API call or a log file and it usually arrives as one unbroken line. Nobody reads JSON like that comfortably, so this formatter re-indents it into something a person can actually follow, while checking the syntax at the same time.
Paste JSON into the box and pick an action. Format rebuilds the document with the indentation you prefer, 2 spaces, 4 spaces or a tab. Minify strips out every space and line break, handy when a payload needs to be as small as possible or you're embedding it in a config value. Sort keys puts object properties in alphabetical order so two documents line up for comparison. The tree view adds collapsible branches, so a large response doesn't mean scrolling past thousands of lines to find one field.
When something is wrong, the tool points at it: trailing commas, single quotes where double quotes belong, property names without quotes, a missing bracket. Browsers usually report a line and column too, so you can jump straight to the problem and fix it.
All of this happens in your browser. Nothing you paste here, including tokens or internal API responses, gets sent anywhere.


