How to Compress an Image (Step by Step)
Compress JPG, PNG or WebP images to a smaller file size in your browser — step by step, no upload.
Shrink an image's file size for faster pages or email, right in your browser:
-
1
Open the compressor
Open the image compressor tool.
-
2
Add your image
Drag in or select the image. It is compressed locally — never uploaded.
-
3
Adjust and download
Tune the quality to balance size and clarity, then download the smaller file.
Do it now
常见问题
为什么 PNG 文件比 JPG 文件更大?
PNG 是无损格式,会精确保存每一个像素。而 JPG 采用有损压缩,因此文件通常小得多。将图片转换为无损格式并不能恢复已丢失的细节,反而会生成体积更大的文件。
这个工具支持动图吗?
不支持——GIF 和动态 WebP 等动图格式在转换后只会得到一张静态 PNG(仅提取第一帧)。
会保留 EXIF 元数据吗?
不会——通过 canvas 重新编码会移除 EXIF、IPTC 和 ICC 配置文件等元数据。这有助于保护隐私,但如果您需要依赖这些元数据,请留意这一点。