// IMAGE / IMAGE-COMPRESS

图片压缩Image Compressor

批量压缩 JPG、PNG、WebP,逐张对比画质与体积,图片不上传。Batch compress JPG, PNG and WebP, comparing quality against size for each image, without uploading.

拖拽图片到这里,或点击选择Drop images here or click to choose

也可以直接 Ctrl+V 粘贴截图。支持 JPG、PNG、WebP、AVIF、BMP,图片不会离开浏览器。Or paste a screenshot with Ctrl+V. JPG, PNG, WebP, AVIF and BMP, all processed in your browser.

全程在本地处理,不上传任何图片。PNG 按颜色数压缩、JPEG 与 WebP 按质量压缩;转成 JPEG 时透明区域会填成白色。Everything runs locally. PNG is compressed by color count, JPEG and WebP by quality. Transparent areas turn white when converting to JPEG.

表格只列出不大于原图的档位。质量拉高重新编码只会把已有细节以更高精度再存一遍,体积变大而画质不会变好,所以不提供。Only steps no larger than the original are listed. Re-encoding at a higher quality only stores existing detail more precisely, which grows the file without improving it.

常见问题FAQ

图片压缩会上传到服务器吗?Does image compression upload my files?

不会。压缩在浏览器里用 canvas 重新编码完成,图片始终留在本机,断网也能用。No. Compression re-encodes with canvas inside the browser, so files stay on your device and the tool works offline.

为什么 PNG 压缩后反而变大了?Why did my PNG get larger?

PNG 是无损格式,重新编码不会让它变小。体积主要来自缩放,如果不缩小尺寸,压缩后变大是正常现象,建议保留原图。PNG is lossless, so re-encoding cannot shrink it. Size mostly drops when you resize, so keeping a larger PNG as original is normal and expected.

转成 JPEG 后透明背景怎么没了?Why did the transparent background disappear in JPEG?

JPEG 格式没有透明通道,透明区域会被填充为白色,这是格式限制。需要保留透明度请选择 PNG 或 WebP。JPEG has no alpha channel, so transparent areas are filled with white. Choose PNG or WebP when transparency must be preserved.

同类工具Related tools

所有计算都在你的浏览器本地完成,输入内容不会上传到任何服务器。Everything runs locally in your browser. Nothing you type is ever uploaded to a server.