Make JSON smaller

Remove extra spaces from JSON while keeping every value.

[]1,2,3{}+ Pine"Fern"Fern%20Gate/2RmVybg==Fern2ce36bad…ba7816bf…

How to use it

Paste or open a JSON document, compact it, then copy or save the shorter text.

Example

The spaced array [1, 2, 3] becomes [1,2,3]. Spaces inside quoted text are kept.

Common questions

Does compacting JSON shorten words inside a string?

Spaces inside quoted text belong to the value and stay in the output.

Which files can I open here?

Supported file types include JSON.

Where does the work happen?

Your browser does the work on your device. The site serves the tool. You choose what to copy, download or share.