PasteZap
🌐 简体中文
免费 · 无需注册

免费 · 图片

图片压缩.

批量压缩 JPG、PNG 和 WebP 图片:文件更小,提供前后对比、PNG 减色以及可选的目标大小(KB)。

开始之前

部分技术控件使用英语。支持 Unicode 文本;文件格式和输出语言取决于具体工具。

下面以英语列出技术限制。处理大型文件或使用结果之前,请先查看这些限制。

Drop images here, paste with Ctrl+V, or

JPG, PNG, WebP, GIF (first frame), BMP, AVIF, JPEG XL, HEIC, TIFF, PSD · up to 50 images, 50 MB each · nothing is uploaded

Output format
Recommended balance

Re-saving removes EXIF data such as GPS position and camera details. Photos: JPG, WebP or AVIF. Logos, screenshots and graphics: PNG with reduced colours or WebP. AVIF, JPEG XL, MozJPEG and OxiPNG use open-source Squoosh codecs running on your device (first use downloads up to 3.5 MB once).

如何压缩图片

  1. 添加最多 50 张 JPG、PNG、WebP 或 iPhone HEIC 图片(每张 50 MB,总计 300 MB)。
  2. 照片可选择画质(75 左右是不错的起点),或输入以 KB 为单位的目标大小,工具会找到符合大小的最高画质。
  3. PNG 截图和图形可保留无损优化,或减少颜色数以大幅缩小文件。
  4. 对比压缩前后效果,然后逐张或一次性下载。

常见效果:4.2 MB 的手机照片以画质 75 压缩后通常为 0.6–1.2 MB;减少颜色的 PNG 截图通常能缩小 60–80%。如果结果比原图还大,则保留原图。

注意事项

  • 压缩会重新保存图片,同时删除 GPS 位置等 EXIF 元数据。如只想删除元数据而不重新压缩,请使用图片元数据删除工具。
  • 如需同时缩小像素尺寸,请先使用图片尺寸调整工具:减少像素比降低画质更能缩小文件。
  • 默认情况下,JPG 使用 MozJPEG 编码,PNG 会额外经过一次 OxiPNG 无损优化:这两个开源编解码器都在您的设备上运行,生成的文件通常比浏览器自带的编码器更小。同样的原因,AVIF 和 JPEG XL 输出在所有新版浏览器中都可使用。
  • 图片在浏览器中处理,绝不会上传。

限制与支持格式

输入内容在您的设备上处理。

英语技术说明

Up to 50 images per batch, 50 MB and 50 megapixels each, 300 MB in total. AVIF, JPEG XL, MozJPEG and OxiPNG run as open-source codecs on your device (first use downloads up to 3.5 MB once). HEIC input is decoded locally.

Batch image compressor that runs in your browser. JPG files are re-encoded with MozJPEG (or the browser encoder) at the quality you choose, or automatically at the highest quality that fits a target size; WebP, AVIF and JPEG XL work the same way. PNG files are optimized losslessly (adaptive filters, smallest colour type, palettes for images with up to 256 colours, optional OxiPNG pass) or shrunk with TinyPNG-style colour reduction. The original is kept when it is already smaller. Re-saving also removes EXIF metadata such as GPS location.

A 4.2 MB phone photo at quality 75 typically becomes a JPG of 0.6–1.2 MB; a screenshot PNG with reduced colours often shrinks by 60–80%.

常见问题

如何把照片压缩到 100 KB 以下?

在目标大小中输入 100。如果在可接受的画质下达不到,请先缩小图片尺寸。

压缩会删除 GPS 位置吗?

会。重新保存的 JPG、PNG 和 WebP 文件不再包含 GPS 坐标等 EXIF 元数据。

我的图片会被上传吗?

不会。压缩使用浏览器自带的图片编码器,在您的设备上完成。