⌕
Developer · free online tool

JSON Minifier.

Remove unnecessary spacing from JSON.

Your workspace◈ Processed on your device
Your result
Your result will appear here.

A little context.

Parses then serializes JSON without formatting whitespace. Whitespace inside strings remains unchanged. Numeric precision follows JavaScript number semantics.

Try an example

{ "a": 1 } → {"a":1}

How to use this tool

  1. Enter json in the workspace above.
  2. Select Run tool to process your input. Invalid values produce a message next to the form.
  3. Copy the result or download it as a file. Reset example restores the original input.

Keep a good thing going.

A few related tools for your next step.