Result appears here after you select
{ } How to use
- Paste or type your JSON in the input box.
- Select Process to remove every space, tab and line break between tokens.
- Copy the result, or download it as a .json file.
{ } How it works
JSON Minifier works on the text you provide. Select Process ▸ and it runs entirely in your browser — nothing is uploaded to a server — then shows the result in the Output panel.
Input
- JSON input — paste or type your input in the left panel (use Sample for an example)
Output
JSON — copy it, download it, or switch the Output panel to Tree view to explore it.
{ } Common uses
- Shrink a config file or an API payload before you ship it.
- Cut request and response size where bandwidth or a payload limit matters.
- Collapse a formatted fixture onto one line for a test or an environment variable.
{ } Limitations
- The input must be valid JSON. Minifying re-serializes the parsed document rather than deleting characters, so a syntax error is reported instead of being minified.
- Whitespace inside a string value is data, not formatting, so it is kept — minifying will not shrink it.
{ } FAQ
Is my data uploaded to a server?
No. Everything runs locally in your browser — your files never leave your device.
Can I process more than one file at once?
This tool works on one input at a time.
Is this tool free?
Yes — it’s completely free and needs no sign-up.
Does minifying change my data?
No. Keys, values and array order are preserved; only the formatting between them is dropped.
How much smaller will the result be?
It depends on the indentation you started with. A document indented with two spaces typically loses 10–30% of its bytes, and one indented with tabs or four spaces loses more.