Tree explorer will appear here once JSON is loaded
Select a node to inspect it
Tree explorer will appear here once JSON is loaded
Select a node to inspect it
Paste indented, readable JSON and click Minify to strip every space, tab, and line break, collapsing the document down to the smallest valid single-line representation. This is the opposite of beautifying - useful when you need to paste JSON into a one-line environment variable, a compact log line, or an API payload where every byte counts.
Minifying only removes whitespace between tokens; it never touches the data itself, so a minified document parses back to exactly the same values as the original - nothing is dropped, reordered, or approximated in the process.
Like every other action here, Minify is a single undoable edit against your pasted text - Cmd+Z (or Ctrl+Z) restores the original, indented version instantly if you minified the wrong pane or need the readable version back.
Minifying runs in the same background worker as parsing, so collapsing a multi-megabyte config file down to one line happens without freezing the tab, and the result is immediately visible in both the raw pane and the tree.