JSON Minifier

Input
Output

JSON Minifier

Remove every space and line break from JSON to make it as small as possible for an API request, a config value or a URL. Bracely shows how many characters you saved.

How do I use the JSON Minifier?

  1. Paste formatted JSON or open a file.
  2. The minified JSON appears in the Output box straight away.
  3. Copy it or save it to a file.

What does the JSON Minifier do?

  • Removes all insignificant whitespace without changing the data
  • Validates the JSON while it minifies
  • Shows the size before and after
  • Turn it back into readable JSON with the formatter in one click

Frequently asked questions

Does minifying change my data?
No. Only whitespace between tokens is removed; keys, values and their order stay exactly the same.
How do I unminify JSON?
Open the JSON Formatter (Beautify) tool, or press the format button above the Input box.
Is there a size limit?
No fixed limit. Large inputs run in a background worker, so the only limit is your device's memory.

More JSON tools

Bracely has 108 JSON tools in one page. Related ones:

Runs entirely in your browser. Nothing you paste is uploaded. Made by Saurabh Pagrut · About · Privacy policy
Last updated · Version 6.7 · Changelog
Saurabh Pagrut on GitHub · LinkedIn · X · YouTube · Instagram