SmartKitio

JSON Minifier

Remove whitespace from valid JSON without changing the data.

Your input stays in your browser. Nothing is uploaded.

Valid JSON
Input
Output

About this tool

Minifying re-serializes parsed JSON with no extra spaces. Keys and string values are unchanged.

How it works

Paste JSON, then Minify. Copy the compact result for APIs or storage.

JSON.stringify(JSON.parse(input))

Examples

  • Pretty to compact

    Indented JSON collapses to a single line.

FAQ

Does minify change numbers?
JSON.parse may normalize number formatting. The value is the same.
Is my data uploaded?
No. Formatting, encoding, and generation run in your browser.
Can I use this offline after the page loads?
Yes, as long as the page stays open. Nothing is sent to a SmartKitio API.