ToolBoxAlllocal toolkit
All tools

Developer Tools

JSON Minifier

Remove every unnecessary space and newline from JSON while keeping it byte-for-byte valid, then compare the size saved.

Developer ToolsFreeLocal
Input
fmtText
Output
JSON
Runs
Your browser

shortAnswer

ToolBoxAll's JSON Minifier removes every unnecessary space, newline and indentation from a JSON document while keeping it strictly valid, then reports how many characters were saved. Because it re-serialises the parsed value, number formatting and escapes are normalised too.

keyFact
Output stays valid strict JSON
keyFact
Shows characters and percentage saved
keyFact
Key order is preserved

reviewedOn 2026-11-20

Runs in your browser · nothing is sent
0 characters
Updates live

Output

Output appears here as you run the tool.

Tip: this tool runs entirely in your browser — your input never leaves the device.

How it works

three steps
  1. 01

    Paste formatted JSON.

  2. 02

    Press Minify — invalid JSON is reported instead of silently altered.

  3. 03

    Copy the single-line result or download it.

About this tool

Handy before shipping config payloads or storing JSON in a single line. The minifier re-serialises the parsed value, so it also normalises number formatting and escapes.

JSON Minifier · Technical specifications
InputfmtText
OutputJSON
BatchOne at a time
Per-file limit—
ProcessingYour browser
AccountNot required