Indent
InputINPUT
Result
{ }Clarity starts here

Paste JSON or load an example to see the result.

Remove structural whitespace without changing strings or numeric precision.⌘ / Ctrl + Enter Run
Local processing. Peace of mind.

No server uploads, analytics or advertising scripts.

Every digit counts.

Preserve original precision without silently changing your data.

Type and see results.

Drop files and get instant results with fewer repeated steps.

JSON Minifier

Fewer bytes. The same data.

Remove JSON structural whitespace and see the byte savings. Spaces and escaped line breaks inside strings are preserved.

Remove structural whitespace without changing strings or numeric precision.

How to use this tool

  1. Paste JSON or select a file.
  2. Choose “Minify JSON” to process the input.
  3. Review the result and any warnings, then copy or download it.

Example

Input
{
  "message": "keep spaces",
  "value": 1.2300
}
Result
{"message":"keep spaces","value":1.2300}
Is this gzip compression?

No. It removes structural whitespace and produces JSON text that can still be parsed directly.

Does minification lose data?

Values, keys, field order and numeric precision are preserved. Duplicate keys are retained with a warning.

How do I make it readable again?

Choose “Open result in Format”, or switch to Format and paste the minified JSON.

Refreshing or closing the page clears your JSON. Copy or download results first. Files of 10 MB or more automatically use large file mode for validation, formatting, minification and download. Large file repair, Diff, conversion, sorting and tree view are unavailable. Files larger than 1 GB (1024 MB) are unsupported.

Related tools

YOUR DATA, YOUR DEVICE

Your JSON stays yours.

Formatting, validation, repair, minification, comparison and conversion all run in this browser. JSON is never uploaded. Open files and edits live only in this page’s memory, including when switching tools or languages.

Local storage holds only theme, interface and language preferences; the offline cache contains application resources only. Large downloads may use local temporary browser files, which are cleaned up after download or on a later startup after an abnormal exit. There are no analytics, ads or third-party font requests. The hosting provider may still keep routine access logs.

Refreshing or closing the page clears your JSON. Copy or download results first. Files of 10 MB or more automatically use large file mode for validation, formatting, minification and download. Large file repair, Diff, conversion, sorting and tree view are unavailable. Files larger than 1 GB (1024 MB) are unsupported.

Repair engine: jsonrepair (ISC). Repairs may infer missing content; review the result.