JSON Minifier
Shrink JSON to a single compact line.
- Free, no sign-up
- Runs in your browser
Drop your file here, or
TXT, CSV, JSON, Markdown, HTML, XML, DOCX, PDF, RTF and more
Options
Runs in your browser
Result
Your result will appear here.
Add your text, then press Minify JSON.
How to use JSON Minifier
- Paste your text into the input box, or drop a file onto it.
- Choose your options.
- Press Minify JSON.
- Copy the result or download it in the format you need.
Example
{
"a": 1,
"b": [true, false]
}{"a":1,"b":[true,false]}Whitespace removed, data unchanged.
Good for
- Reducing payload size
- Embedding JSON in a single line of config
- Preparing JSON for URLs or environment variables
What happens to your text
Your text is processed in your browser and kept only in this tab’s memory. It is not uploaded, saved or used for analytics.
Questions about JSON Minifier
More answers in the TextVix FAQ.
Is whitespace inside strings removed?
No. Only whitespace between values is removed; text inside strings is untouched.
Is my text uploaded anywhere?
No. This tool runs entirely in your browser. Your text and files are never sent to a server or stored.

