Beautify or minify JSON, validate it to pinpoint syntax errors by line and column, and explore its structure with a collapsible tree view. Supports escaping, key sorting, copy, and download. A free JSON formatter and viewer that runs right in your browser — no sign-up required.
Format JSON into a readable layout with your choice of 2-space, 4-space, or tab indentation.
Strip whitespace to compress JSON onto a single line and show the size savings vs. the original.
Catch syntax errors with a clear message and the exact line and column where the problem occurs.
Collapse and expand nodes, with the type and child count shown for each one.
JSON-escape a string or unescape it back to its original form.
Copy the result to your clipboard or download it as a .json file.