sqwartHome

Compress Image

Make photos and graphics much smaller without visible loss, many at a time, right in your browser.

  • Free
  • No upload
  • No watermark
  • No sign-up
How it works

How to compress Image

  1. 1

    Choose or drop your images: JPG, PNG, WEBP, HEIC and more, as many as you like.

  2. 2

    Pick a quality (75 is a good start) or switch to Target file size and type a size in KB.

  3. 3

    Press Compress and compare before and after with the slider.

  4. 4

    Download each image or all of them as a ZIP.

In detail

How each format is compressed

  • JPG and WEBP are re-encoded at the quality you choose. Quality 75–85 usually cuts a phone photo by 60–80% with no difference you can see at normal size.
  • PNG is compressed by reducing it to 256 colors or fewer with a smart palette, the method TinyPNG and pngquant use. Logos, icons, charts and screenshots look the same and often shrink by 60–80%.
  • HEIC, TIFF, BMP and other formats are saved as JPG, the smallest widely accepted format for photos.
  • If a re-encoded file would come out bigger than your original, you get the original back unchanged, so compressing never makes anything worse.

The biggest saving: fewer pixels

A 12-megapixel phone photo is 4000 pixels wide, but a website, email or chat shows it at 1000–2000 pixels. Setting Resize longest side to 1920 or 1280 cuts the file by another 50–75% on top of the quality setting, and the photo looks identical on screen.

For uploads with a hard limit, switch to Target file size: the tool finds the best quality that fits under your number in KB.

How compressing to an exact size works

A JPEG's size depends on its quality setting and its pixel dimensions. To hit a target, the tool encodes your picture at several quality levels, homing in on the highest quality that still fits under the limit (a binary search: about eight tries, each a fraction of a second).

If even low quality can't fit, it reduces the pixel dimensions a step at a time and searches again, because a slightly smaller picture at decent quality looks far better than a full-size one at very low quality. The file you get is always at or under the size you asked for.

How it works, and why nothing is uploaded

Your browser already knows how to open JPG, PNG, WEBP, GIF, BMP and SVG files, and recent browsers open AVIF too. This tool asks the browser to decode your picture, draws it on an HTML canvas, and has the browser write the new file. iPhone HEIC photos and TIFF scans, which Chrome and Edge can't open, are decoded by small open-source decoders (libheif compiled to WebAssembly, and UTIF.js) that load only when you add such a file.

Because everything happens on your device there is no upload wait, no queue and no file-size cap other than your device's memory. A browser canvas tops out around 16,000 pixels on a side (less on older iPhones), which is far beyond any phone or camera photo.

FAQ

Questions, answered.

How much smaller will my images get?

Phone photos usually shrink 60–80% at quality 75 and more with a smaller longest side. Screenshots and graphics saved as PNG often shrink 60–80% with the palette method. Pictures that are already heavily compressed shrink less.

Does compressing reduce quality?

JPG and WEBP compression removes fine detail the eye barely notices; at 75–85 it is very hard to see. Use the before/after slider to check. The PNG palette method keeps sharp edges but can band smooth gradients in photos; save photos as JPG instead.

Can I compress to an exact size like 100 KB?

Yes. Choose Target file size and enter the size in KB. There are also one-click pages for 10 KB, 20 KB, 30 KB, 50 KB, 100 KB, 200 KB, 500 KB and 1 MB.

Can I do many images at once?

Yes. Choose or drop as many images as you like and they are compressed one after another. Save each file on its own or download them all in one ZIP.

Is the photo's metadata removed?

Yes. Re-encoding drops EXIF data such as camera model and GPS location, which also saves a few KB.

Are my images uploaded anywhere?

No. The page does all the work inside your browser, so your pictures never leave your phone or computer. Once the page has loaded you can even turn off Wi-Fi and it keeps working.

Is it really free? Is there a limit?

Yes, it is free with no sign-up and no watermark. There is no daily limit or file cap, because your own device does the work rather than a paid server.

Keep going

More free image tools