Compress images

Free, private and fast: everything runs in your browser and your image files are never uploaded.

Why compress images

Photos straight from a phone or camera are often several megabytes each, which is too much for an email with a dozen attachments, an upload form with a size limit or a web page that should load quickly. This tool saves each image again as JPG or WebP at the quality you choose, and can also scale down images wider than a maximum you set, which saves the most. The list shows the size before and after for every file. If an image comes out larger than it was, because it was already well compressed, you get the original back instead of a worse, bigger copy. Everything runs inside your browser, so private photos and screenshots never leave your device, and the location and camera data stored in photos are removed on the way.

How to compress images

  1. Drop your JPG, PNG or WebP images in the box, or click to choose them.
  2. Choose JPG or WebP, a quality, and if you like a maximum width.
  3. Click Compress images, check the sizes in the list, and download the image or a zip with all of them.

What to know about image compression

What to expect from photos and screenshots

Phone photos are usually saved at a high quality, so saving them again at 80 % often makes a large difference with little visible change. Screenshots saved as PNG with photos or gradients in them shrink a lot as JPG or WebP, but screenshots of plain text and flat colours are already efficient as PNG, and JPG can blur the letters; WebP handles them better. The before and after sizes tell you what you actually saved.

Fewer pixels save the most

Quality settings have limits; pixel count matters more. A 12-megapixel phone photo is about 4000 pixels wide, far more than a laptop screen or an email needs. Limiting the width to 1920 pixels keeps less than a quarter of the pixels, and the file shrinks accordingly. Images narrower than the limit are left at their size, never enlarged.

When the result is bigger

An image that was already saved at low quality, or a small PNG with a handful of colours, can grow when it is encoded again. The tool compares sizes and puts the original file in the download in that case, with a note in the list, so you never end up with a larger file than you started with.

Location and camera data are removed

Saving through the browser writes only the pixels. EXIF data such as the GPS position, the date taken, the phone model and the serial number of a camera is not copied. Photos are turned upright first, so removing the orientation tag does not leave them on their side. Colours are saved in sRGB.

Every save adds loss

JPG and lossy WebP discard detail each time they are saved. Compress from the original, not from a copy that was already compressed, and keep the originals for printing and editing.

Transparency and JPG

PNG and WebP images can be transparent, JPG cannot. With JPG output, transparent areas become white; choose WebP to keep them.

About the formats

JPG

JPG (or JPEG) is the most widely used image format for photos, supported by every camera, phone, browser and image editor. It uses lossy compression, which keeps files small at a small cost in quality.

  • Best for photos; text and sharp lines can get blurry edges.
  • No transparency: transparent areas become a solid colour.
  • The quality setting trades file size against detail.

WebP

WebP is an image format Google released in 2010 for faster web pages. It can be lossy like JPG or lossless like PNG, supports transparency and animation, and is usually smaller than both. Websites often serve WebP, which is why saved images end up in this format.

  • Supported by all current browsers, but not by every image editor, office program or upload form.
  • Lossy and lossless WebP use the same .webp extension.
  • Can be animated, like a GIF.
  • Images can be at most 16383 × 16383 pixels.

Frequently asked questions

Are my images uploaded?

No. They are decoded and saved again by your browser on your own device. Nothing is sent to a server.

Which quality should I choose?

80 % is a good default for photos. 90 % for images you will print or edit, 60 % or 70 % when the size limit is strict and the picture is only seen small.

Can I compress an image to an exact size, such as 100 KB?

Not directly. Lower the quality and set a maximum width, then check the new size in the list and try again if needed. The width has the strongest effect.

JPG or WebP?

WebP is usually smaller and keeps transparency, and every current browser shows it, but some programs and forms do not accept it. JPG works everywhere. Saving WebP needs Chrome, Edge or Firefox; Safari cannot create WebP files.

Why did one of my images not get smaller?

It was already compressed about as far as the chosen settings allow. The list then says that the original is included. Try a lower quality or a smaller maximum width.