LOCALDEVTOOLBOX / PROBLEM / JSON-TOO-LARGE

My JSON is too large — minify and measure it locally

API body size limits and AI token budgets both hate whitespace. Paste JSON to validate it, minify it, and see exactly how much you save. Runs entirely in your browser.

Waiting for JSON…
Raw size—
Minified—
Saved—
Est. tokens (min)—

Why is pretty-printed JSON so much bigger?

Minifying removes all of it while keeping the data bit-for-bit identical after parsing. Typical savings: 20–40%.

When minifying is not enough

Is my JSON uploaded anywhere?

No. This page is a single static HTML file — validation and minification run entirely in your browser. Disconnect from the internet after it loads.

Need the full toolbox?

This page is one tool from LocalDevToolbox — 15+ local developer tools: context optimizer, stack trace analyzer, log doctor, cURL converter and more.