StacckApp

JSON Viewer, Formatter, Parser & Diff

Free online JSON viewer, formatter, validator, parser and diff. Pretty-print, minify, sort keys, explore in a collapsible tree, and compare two JSON documents side-by-side — 100% in your browser.

Paste your input, drop a file, or

About this tool

Paste any JSON to instantly format, minify, validate, sort, or browse it as a tree. Everything runs in your browser — your data is never uploaded.

About JSON Viewer, Formatter, Parser & Diff

Paste JSON to validate it, then pretty-print it with consistent indentation or minify it down to a single line. You can sort object keys, explore the structure in a collapsible tree, and load two documents side by side to see exactly what changed between them.

All parsing, formatting, and comparison run in your browser, so the JSON you paste is never uploaded to a server. This makes it suitable for inspecting API responses, config files, or other data that may be private, and the diff view is helpful for spotting unexpected changes between two payloads.

Frequently asked questions

Why does my JSON fail to parse?
Common causes are trailing commas, single quotes instead of double quotes, or unquoted keys, none of which are valid JSON.
What is the difference between formatting and minifying?
Formatting adds indentation and line breaks for readability, while minifying removes all extra whitespace to shrink the payload.
How does the diff compare two documents?
It shows the two JSON documents side by side and highlights the values, keys, or elements that differ between them.