Compress images

Make photos and pictures small enough to email, post or upload to a form with a size limit. Choose how much to compress; your images never leave your device.

Tier 0 · browser · unlimited

Drop pictures here or choose them

Your images are compressed on this device and never uploaded.

Smaller pictures, same look

Phone photos weigh 3 to 8 MB each, far more than most websites, forms and messages need. This tool shrinks them in two ways:

  • Quality: pictures are saved again as JPEG or WebP. Medium is the sweet spot, usually 70 to 90 % smaller with no difference you'd notice on a screen; High keeps more detail, Low is for tight limits.
  • Max size: most phone photos are 4000 pixels wide or more. Scaling the longest side to 2560 px (or 1920 for messages) cuts the file a lot and still looks sharp on any screen.

Format Auto picks JPEG for photos and WebP for pictures with a transparent background, since JPEG can't keep transparency. You can also force JPEG, WebP or PNG.

If a picture can't be made smaller, you get the original back, so you never end up with a bigger file. Up to five pictures at once.

Private

Compression runs in your browser. Your photos aren't uploaded, so there is no sign-up and no daily limit.

How this works

Each picture is decoded by your browser in a Web Worker, with phone orientation applied (iPhone HEIC photos through libheif), optionally scaled down so its longest side fits the maximum, and encoded again with the browser's own JPEG or WebP encoder at the chosen quality (85, 72 or 55 out of 100). Transparency is detected by sampling the picture. The new file replaces the original only if it is smaller.

Frequently asked

How much smaller will my photos get?

Phone photos usually shrink by 70 to 90 % at Medium quality with Max size 2560. Pictures that are already small or heavily compressed shrink less.

Are my photos uploaded?

No. They are compressed in your browser on this device.

Why did my PNG become a WebP?

Auto keeps transparency, which JPEG can't store, so pictures with transparent areas become WebP. Choose PNG to keep the format, or JPEG if transparency doesn't matter.

Is the location data removed?

Yes. The compressed file contains only the pixels, not the camera's metadata or GPS location.

Sources

Reviewed Oct 19, 2026 · test vectors fixtures/tools/image/compress-image/