JSON Minifier

This free online JSON minifier helps you minify your JSON string and make it more cleaner. It can remove indentation and new lines to reduce size and make it one line.

Input
Output
Settings

About the JSON Minifier

The JSON minifier removes all unnecessary whitespace and line breaks from JSON, giving the smallest equivalent document for API payloads, config files and storage.

The tool is free, needs no sign-up and runs entirely in your browser, so your data never leaves your device.

Frequently asked questions

Does minifying change my data?

No. Only whitespace outside strings is removed; keys, values and order stay the same.

Related tools