首页
Tom Utilities

JSON 压缩

JSON 工具

删除所有不必要的空格和换行,生成尽可能小的 JSON 载荷。

输入

结果

使用方法

How to minify JSON

Paste JSON and press Minify to strip indentation and whitespace.

  1. Paste JSON into the input editor.
  2. Press Minify.
  3. Copy the compact result.

常见问题

Does minifying change my data?

No. Only whitespace between tokens is removed, the values stay exactly the same.

How much space can I save?

Typically 20 to 60 percent depending on how deeply the JSON is indented.