Jsontify

Ad-free, fast, private JSON viewer & editor

Paste JSON, drop a file, or Open

Explorer

Tree explorer will appear here once JSON is loaded

Inspector

Select a node to inspect it

Paste or open a file to begin
🔒 Processed in your browser - nothing is uploaded to our servers

JSON Minifier

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.

Frequently asked questions

Does minifying lose or change any data?
No - minifying only removes whitespace between tokens; every key, value, and number is preserved exactly.
Can I undo a minify?
Yes - Minify is a single edit, so Cmd+Z/Ctrl+Z restores your original, readable text.
What's minified JSON useful for?
Anywhere byte size or single-line format matters - environment variables, compact log lines, or an API request body where extra whitespace is wasted bytes.
Is the JSON uploaded anywhere to be minified?
No. Minifying runs entirely in your browser - nothing is uploaded to our servers.