Image Compressor

Compress JPG, PNG and WebP images right in your browser. Reduce file size, resize, or hit a target like 100 KB. Free, no upload, no sign-up.

✓ Your images never leave your device

Settings

How to compress images

  1. Drop one or more JPG, PNG or WebP images into the box above.
  2. Leave the settings as they are for a good balance, or lower the quality for smaller files.
  3. Need a specific file size, like under 100 KB? Type it into Target size and we pick the best quality that fits.
  4. Download each image, or everything at once as a ZIP.

Compression happens on your own device, so there is no upload and no waiting in a queue. Camera information such as GPS location is removed from the compressed copies, which is useful before you share photos online. If a file cannot be made any smaller, we keep your original instead of making it worse.

Which format should I pick?

JPG works everywhere and suits photos. WebP is usually 25 to 35 percent smaller than JPG at the same look, and is supported by all modern browsers and websites. PNG is best for logos, screenshots and images with transparency. Because PNG is lossless, we make it smaller by storing fewer colors, which is invisible for most graphics.

Image Compressor: a complete guide

Why compress images at all?

A photo taken on a current phone is commonly between 2 and 8 MB. That is fine for a photo library, but it is far too big for most other places. Website uploads often have a size cap, email services limit how large an attachment can be, and job or exam application forms frequently accept only a few hundred kilobytes. On a website, oversized images are also one of the biggest reasons a page loads slowly, especially for visitors on a phone connection.

Compressing an image makes the file smaller so it uploads faster, loads faster and takes less storage. Done sensibly, the picture still looks the same to the eye. The Image Compressor on this page does it inside your browser, so you can try different settings and see the new size straight away without sending the picture anywhere.

How image compression works

There are two broad kinds of compression. Lossless compression rewrites the file more efficiently but keeps every pixel exactly as it was. Lossy compression throws away detail that the human eye is unlikely to notice, and that is where the big savings come from.

JPG is lossy. It splits the picture into small blocks and stores the smooth parts of each block more coarsely than the sharp edges, and it also stores color with less detail than brightness, because we are less sensitive to small color changes. Lowering the quality slider makes those simplifications stronger. WebP works on a similar idea with a more modern method, which is why a WebP image is usually smaller than a JPG that looks the same. PNG is lossless by nature, so to make a PNG meaningfully smaller this tool reduces the number of different colors in the image, up to a maximum of 256, which is nearly invisible on logos, icons and screenshots.

Quality, dimensions and file size: three different dials

People often mix these up, but they are separate and you can use them together.

  • Quality controls how much detail is thrown away inside the picture. Moving from 100 to about 80 usually cuts the file size by more than half with almost no visible change. Below about 60, blocky patches start to appear around edges and in skies.
  • Dimensions are the width and height in pixels. A picture that is 4000 pixels wide is displayed at perhaps 800 pixels on a web page, so the extra pixels are wasted. Reducing the dimensions saves far more space than quality alone.
  • Target size is the end result you need, such as under 100 KB. The tool searches for the highest quality that fits, and only makes the picture smaller in pixels if no quality setting can reach the target.

Choosing the right format

The best format depends on what is in the picture and where it is going.

  • Use JPG for photographs when you need the picture to work everywhere, including older software, email clients and application forms.
  • Use WebP for photographs on websites. It is usually 25 to 35 percent smaller than JPG at a similar look, and current browsers all display it.
  • Use PNG for logos, icons, screenshots, charts and anything with flat colors, sharp text or transparent areas.

A photograph saved as PNG is almost always much larger than the same photograph as JPG or WebP. If a file is surprisingly big, the format is the first thing to check.

Common mistakes to avoid

  • Compressing the same JPG again and again. Each lossy save adds a little more damage. Always compress from the original photo, not from a copy you already compressed.
  • Compressing a picture that is already small. If a file is already under your target, saving it again only makes it worse, so this tool keeps your original in that case.
  • Using a tiny quality value to reach a size that really needs smaller dimensions. A 12 megapixel photo squeezed into 30 KB by quality alone looks terrible, while the same photo resized and then compressed looks fine.
  • Saving screenshots of text as JPG. The blur around letters is easy to see. Use PNG for screenshots.
  • Forgetting to keep a copy of the original. Compression cannot be undone, so keep your full-size file somewhere safe.

Where compressed images are useful

Bloggers and shop owners compress product and article images so pages open quickly, which also helps visitors who are on slow connections. Students and job seekers compress scanned documents and photos to fit upload limits on application portals. Anyone sending photos by email or chat compresses them so the message is not rejected or slow to send. Developers and designers compress screenshots and assets before adding them to documentation, presentations or a website.

Because the work is done on your own device, you can compress private pictures such as ID photos, receipts and medical letters without handing them to a third party. The compressed copies also have camera details and GPS location removed, which is helpful when you share a photo publicly.

A quick routine that works well

  1. Start from the original photo, not a copy that has been shared before.
  2. Drop it in with the default settings and look at the size shown next to the result.
  3. If it is still too big, set a target size, or choose a smaller maximum width such as 1600 or 1280 pixels for web use.
  4. Check the result at normal size before you use it. Zoom in only if the picture will be printed or shown large.
  5. Download the file, or download several at once as a ZIP.

Related guides

Frequently asked questions

Are my images uploaded anywhere?

No. Compression runs entirely in your browser, so your photos never leave your device and nothing is stored on our servers.

Will compressing reduce my image quality?

JPG and WebP compression is lossy, but at 70 to 80 percent quality the difference is hard to see for most photos while the file is often 50 to 80 percent smaller. You can raise the quality any time and see the new size straight away.

How do I compress an image to a specific size, such as 100 KB?

Type the size in KB into the Target size box. We find the highest quality that still fits, and if the image is too large to fit at any quality, we also make the picture slightly smaller until it does.

Which format gives the smallest file?

WebP is usually the smallest for photos, followed by JPG. For logos, screenshots and graphics, PNG with fewer colors is often smallest. Choose the format in the settings and compare the sizes.

How can a PNG be made smaller if PNG is lossless?

PNG itself does not lose quality, so we reduce the number of colors in the image, up to 256. For logos and screenshots this is usually invisible. For photos you may notice slight banding at low settings, so JPG or WebP is a better choice for photos.

Is photo information such as location removed?

Yes. The compressed copies do not include camera details or GPS location, which makes them safer to share. The picture itself is kept the right way up.

What happens to transparent PNG and WebP images?

Transparency is kept when the output is PNG or WebP. JPG cannot store transparency, so transparent areas become white if you convert to JPG.

More tools you may like