Image Compressor

This image compressor shrinks photos to the size you need — pick a quality or a limit like 200 KB and compare before and after, without uploading anything.

Files never leave your device

Drop images here

or paste with Ctrl+V / Command+V

JPG, PNG, WebP, HEIC, AVIF, BMP

Check memory before converting

Stop this conversion?

Files already converted will stay available to download.

Keyboard shortcuts

A: add files · Ctrl/Command+Enter: start · D: download · Escape: cancel · Delete on a row: remove · F: full screen · Z: Fit or 100 % · ←/→: move the divider. Letter shortcuts only work inside this tool, outside text fields.

Settings link

Your browser could not copy the link. Select and copy it below.

How to compress an image

This image compressor makes JPG, PNG and WebP files smaller inside your browser, one at a time or as a whole folder. Mixed batches are fine, and each file keeps its own format unless you pick another.

  1. Drop images on the page or press Choose files. One run holds up to 500 images, or 100 on a phone.
  2. Choose a Mode: Quality to pick how good the result looks, or Target size to set a hard limit in KB or MB.
  3. In Quality mode, tap Best 85, Balanced 75 or Smallest 60, or drag the slider. A live estimate such as “≈ 640 KB at quality 75” appears as you move it.
  4. In Target size mode, tap 100 KB, 200 KB, 500 KB, 1 MB or 2 MB, or type your own number.
  5. Optional: change Output or Metadata, or open Format options.
  6. Press the button, for example Compress 12 images. Every row shows its old and new size.
  7. Compare before and after, then use Download or Download all (ZIP). Compress more starts the next batch.

Which page for which file

This page handles any mix of JPG, PNG and WebP. For a folder of one type, a dedicated page gives you more control:

  • Phone and camera photos: Compress JPEG opens the JPEG options straight away and estimates the quality each photo was saved at before.
  • Screenshots, logos and icons: Compress PNG has a lossless mode, colour reduction and a transparency checkerboard.
  • A website folder with JPG photos, PNG icons and WebP banners together: stay here. One run compresses them all and keeps each format.
  • GIFs are skipped here. To make an animation smaller, change its dimensions in Image Resizer.

SVG files are skipped too, because they’re text and already small. Animated PNGs aren’t supported yet.

Compress to an exact file size for upload limits

Job portals, exam forms and email services often cap attachments. Target size treats the number as a ceiling for every image: “Each image ends at or under this size.” Sizes are decimal, so 200 KB means exactly 200,000 bytes.

Behind the scenes, each round tries up to nine quality levels to find the highest one that fits, measured on the finished file rather than guessed. If even low quality is too big and Allow smaller dimensions to reach the target is on (it is by default), the picture is scaled down a little. The row then tells you, with a note like “Also reduced to 1600 × 1200 px to reach 200 KB.”

Some typical jobs:

  • An exam application wants a 50 KB photo: type 50 KB.
  • A job portal caps uploads at 200 KB: keep the default chip.
  • You need several photos to fit in one email: try 1 MB each.

A missed target is never faked. You’ll read “Couldn’t reach 50 KB; the smallest possible is…” with the real size, and the summary counts what worked, such as “22 of 24 under 200 KB · 2 couldn’t reach it”. A file that was already small enough shows “Already under 200 KB — kept the original.”

Quality mode: what the numbers mean

The quality number runs from 1 to 100, but it isn’t a percentage of the original. It tells the encoder how much detail to keep:

  • Best 85: very close to the original, for portfolios and prints.
  • Balanced 75: the default; good for websites, documents and email.
  • Smallest 60: fine for thumbnails and previews; fine textures soften.

The slider affects JPG and WebP output. PNG output ignores it: “PNG: lossless unless you reduce colours.” The live estimate is approximate, because each picture compresses differently. A result is never bigger than your original; if it would be, you’ll see “Already optimised — kept the original.”

Which format compresses best?

Photos with smooth shading compress best as JPG or WebP. Flat graphics, text and anything transparent belong in PNG or WebP. A photo that was saved as PNG by mistake is usually much bigger than it needs to be, and PNG to JPG fixes that.

Output starts at Same format, which keeps each file’s type. HEIC, AVIF, BMP and TIFF become JPG, or PNG when they contain transparency. You can also pick JPG, PNG or WebP for every file.

Format options is closed by default. For JPG it offers chroma 4:2:0 or 4:4:4 and a Progressive switch. For PNG you get Effort (Fast, Normal or Max), Reduce colours (Off, 256, 128, 64 or 32), Dithering, Clean transparent pixels and Remove text chunks.

Check the result with the before/after slider

Numbers only tell part of the story. Open any row to see the original and compressed versions side by side behind a slider, with both file sizes in the labels. Switch between Fit and 100 % to look at real pixels, and press Full screen (or F) for a bigger view.

Look where compression shows first: clear skies, skin, small text and sharp edges. If you can’t spot a difference at 100 %, nobody will at normal size.

How it works

The compression engines run in your browser: MozJPEG for JPG at quality 75, OxiPNG for lossless PNG, and a WebP encoder at 75. A lossless WebP stays lossless in Quality mode. Your files are read from your disk, compressed in memory and offered back as downloads. When a run finishes you’ll see “Compressed on this device — nothing was uploaded.” After your first visit, the page also works offline.

Metadata defaults to Remove all, which drops camera details and GPS location. Keep date & camera, remove location keeps the useful parts.

Tips & limits

  • 500 images per run on a computer, 100 on a phone. Each image can be up to 100 megapixels, or 16.7 on a phone.
  • The target applies per image; there is no single target for a whole batch.
  • GIFs and animated PNGs aren’t compressed here, and AVIF output isn’t offered.
  • There’s no maximum width or height setting. Resize first if you also need smaller dimensions.
  • Compressing the same JPG again and again adds loss each time, so keep your originals.

Frequently asked questions

How do I compress an image to 200 KB?

Choose Target size, keep the 200 KB chip and press the compress button. Each image ends at or under 200,000 bytes, saved at the highest quality that fits. If quality alone can't get there, the dimensions shrink as well and the row tells you the new size. An image that still can't reach the limit is reported, never saved over it.

Does compressing an image reduce its quality?

It depends on the format and the setting you choose. JPG and WebP compression removes some detail, but at Balanced 75 most photos look the same at normal viewing size. PNG output stays lossless unless you reduce colours under Format options, so every pixel is kept. Open the before/after slider at 100 % to judge the result with your own eyes.

How do JPG, PNG and WebP compression differ?

JPG and WebP drop detail the eye barely notices, which suits photos, while PNG packs the same pixels into fewer bytes, which suits screenshots and logos. Here, JPG files go through MozJPEG, PNG files through OxiPNG, and WebP through its own encoder at quality 75. A lossless WebP stays lossless in Quality mode, and fewer PNG colours is optional.

Why didn't my image get smaller?

Your image was probably saved efficiently already, so a new copy would have been the same size or larger. In that case the tool keeps your original file and shows Already optimised — kept the original. Try a lower quality, a Target size or another output format. A photo stored as PNG normally shrinks far more when saved as JPG.

Does the target size apply to each image or the whole batch?

The target applies to each image on its own, not to the batch as a total. With a 200 KB target and 24 photos, every photo ends at or under 200 KB, so the ZIP can be around 24 times that. A summary such as 22 of 24 under 200 KB shows how many made it. One shared limit for a whole batch isn't offered.

What does an image compressor actually do?

An image compressor rewrites a picture so it needs fewer bytes while looking as close as possible to the original. It discards detail you are unlikely to notice, stores colours more efficiently and strips hidden data such as camera details. The width and height in pixels stay the same, unless you let them shrink to reach a target size.

Last reviewed: