BROWSER-ONLY IMAGE TOOL
Compress images without leaving your browser.
Pick one or many images, choose quality and size, and get lighter versions instantly. Batch processing, a before/after compare slider, and one-click ZIP download. Files up to 25 MB work best.
Drop images here
or choose images — several at once, including iPhone HEIC
How do I compress an image?
Pick one or many images, choose the output format, quality and maximum width, then hit "Compress". Every result has a slider you can drag to compare the original and the compressed side by side; download a single file or grab everything as a ZIP. JPG and WebP usually shrink photos a lot; PNG suits graphics that need crisp edges or transparency.
FAQ
How much quality do I lose?
JPG and WebP are lossy, but around 80% quality is visually indistinguishable while cutting the file dramatically. PNG is lossless and shrinks by reducing colours or dimensions, so keep PNG for images that need crisp edges or transparency.
How does compress-to-target-size work?
Tick the box and enter a target in KB: the tool then tunes the WebP quality parameter to get as close as it can. Note that target mode switches to JPG or WebP automatically, because PNG is lossless and cannot be steered to a precise size.
Why is my output larger than the original?
Small images, or files that are already heavily compressed, can get bigger when re-encoded. In that case just keep the original, or pick the Original preset to skip resizing. The tool shows before and after sizes so you can tell at a glance.
Is the GPS location still in my photo?
No. Images are auto-oriented from their EXIF data while reading, and the export is a freshly encoded file with no EXIF, including GPS coordinates, which makes it safer to share.
Are there size or count limits?
Up to 25 MB per image and 12 images per batch. For responsiveness the tool also flags images wider than 4096 pixels, and extremely wide or tall images are better off resizing first.
使用步骤How to use
- 把 JPG / PNG / WebP 拖进页面或点击选择Drop JPG / PNG / WebP files or click to choose
- 拖动质量滑杆(或勾选「压缩到目标大小」填 KB)Move the quality slider or set a target size in KB
- 预览压缩前后的大小,点下载保存Compare before/after size and download
示例与注意事项Example & notes
一个例子A worked example
一张 3 MB 的手机照片想压到 200 KB 以内:勾上「压缩到目标大小」填 200,工具会先二分搜索质量,仍超目标就按 85% 逐级缩小尺寸,直到落在 200 KB 上下。To squeeze a 3 MB phone photo below 200 KB, tick the target-size option, enter 200, and the tool binary-searches the quality first — if that is still too big it shrinks the dimensions in 85% steps until it lands near 200 KB.
注意事项Things to watch
- 「压缩到目标大小」对 JPG 与 WebP 有效;PNG 走的是 256 色量化,不受质量参数影响,体积主要由像素数决定。The target-size mode works for JPG and WebP. PNG uses 256-colour quantisation and ignores the quality setting, so its size is driven mostly by the pixel count.
- 尺寸预设只是「上限」:图片本身比预设还小时不会被放大,选「原图」即不做尺寸限制。Size presets are upper limits only: an image smaller than the preset is never enlarged, and the Original preset means no size limit at all.
- 输出是重新编码的全新文件,不含 EXIF 信息(含 GPS 定位),但方向会按 EXIF 自动摆正,分享更安全。The output is a freshly encoded file with no EXIF data (GPS included), while the orientation is auto-corrected from the EXIF tag — safer to share.
- 照片建议不超过 25 MB;超大图片在手机上处理会占用较多内存,导出前可先缩小尺寸再压。Keep photos under 25 MB. Very large images use a lot of memory on a phone, so resize first and compress second.
相关问答More Q&A
为什么输出比原图还大?Why can the output be larger than the original?
小图或已经高度压缩的图片再压一次可能反而变大——这时直接导出原图,或选「原图」预设跳过尺寸限制;页面会显示压缩前后的体积对比,方便判断。A small or already heavily compressed image can come out larger. In that case just export the original, or pick the Original preset to skip size limits. The page shows the before/after sizes so you can judge.
压缩后画质会损失多少?How much quality do I lose?
照片用 JPG 或 WebP 在质量 80 左右通常看不出差别;截图、线稿和文字图片建议用 PNG(无损或量化版),避免文字边缘出现马赛克。For photos, JPG or WebP around quality 80 is usually indistinguishable. Screenshots, line art and text images are better off in PNG (lossless or quantised) so edges stay crisp.