Skip to content
ImgWrench

Image Compressor

Make PNG, JPG and WebP files smaller without changing their dimensions, format or transparency, or squeeze them under an exact KB limit.

Mode

The smallest file that still looks like the original. Size and format stay the same.

Everything happens on your device. Nothing is uploaded.

Specs

InputPNG, JPG (JPEG) and WebP, up to 20 files at once
ModesAuto, Target size (any limit in KB or MB, such as 100 KB or 200 KB), Lossless
Never changesWidth and height, file format, transparency
PNGFewer colours, from 256 down to 16; images with 256 colours or fewer are re-saved without any loss
JPG and WebPLower quality, found step by step until the file fits
Lossless modeRemoves metadata only: camera details, GPS location, comments, editing history
Animated WebP and APNGMetadata removed only, so every frame is kept

Specs last verified: 2026-10-24

ImgWrench's image compressor makes PNG, JPG and WebP files smaller right in your browser. It keeps the width, height, format and transparency of every image, and it can aim for an exact limit such as 100 KB when a site or form won't accept anything bigger.

How to compress an image

  1. Drop up to 20 PNG, JPG or WebP files into the tool above.
  2. Pick a mode: Auto, Target size or Lossless.
  3. Check the new size next to each file, and use Compare to see the result next to the original.
  4. Download each file, or all of them as a ZIP.

Auto, target size or lossless

  • Auto gives the smallest file that still looks like the original. It's the right choice most of the time.
  • Target size is for upload limits. Type a number in KB or MB and the tool finds the highest quality that fits. When nothing fits, it says so instead of quietly shrinking the image.
  • Lossless keeps every pixel exactly as it is and removes only metadata: camera model, GPS location, comments, editing history and embedded previews. Orientation is kept, so photos stay the right way up.

How each format gets smaller

  • PNG files are made smaller by storing fewer colours. Transparency is kept, and images with 256 colours or fewer, such as most logos and screenshots, are re-saved without any loss at all.
  • JPG and WebP files are made smaller by lowering their quality, step by step, until the file reaches your goal.
  • Animated WebP and APNG files only lose their metadata. Re-saving them through the browser would keep a single frame, so the compressor never does that.

What the compressor never does

It never changes the width or height, never converts to another format, and never fills in a transparent background. If no version comes out smaller than your file, the download is your original file, unchanged. To change the format on purpose, use the PNG to JPG or JPG to WebP converter.

Why ImgWrench

  • Exact targets. Type a KB or MB limit and see at once whether each file fits.
  • Before and after. Drag the Compare slider over any result.
  • Private by design. Your images never leave your device.

Frequently asked questions

How do I compress an image without losing quality?

Drop the image into the tool above and keep Auto mode. You get the smallest file that still looks like the original, at the same width, height and format, and transparency is kept. Drag the Compare slider to check the result against your original. For a file that's identical pixel for pixel, switch to Lossless, which only removes hidden metadata.

How do I compress an image to 100KB or another exact size?

Choose Target size, type the limit, such as 100 or 200, and pick KB or MB. The tool finds the best quality that fits under it, without changing the image's dimensions or format. If no version fits, it tells you how close it got and keeps the file flagged in red, so you never upload something that's still too big by mistake.

How do I compress a PNG and keep the transparent background?

Drop the PNG into the tool. A PNG is made smaller by storing fewer colours, from 256 down to 16 when you set a tight target, and transparency is kept at every step. Logos, icons and screenshots often have 256 colours or fewer, and those are re-saved with no change at all. Photos saved as PNG shrink the most.

How do I compress a JPEG?

Drop the JPEG into the tool and pick Auto or Target size. JPEG files get smaller by lowering their quality, and the tool searches for the highest quality that reaches your goal. Lossless mode instead strips camera details, GPS location and the embedded preview, which often saves a few kilobytes on phone photos without touching a single pixel.

Why can't my PNG get under the target size?

A PNG can only drop colours, and at 16 colours there's nothing left to remove, so large photos saved as PNG may still be too big. You have two options: shrink the image's width and height first, or switch format. The PNG to JPG converter usually makes a photo many times smaller, though JPG has no transparency.

Will compressing change my image's dimensions or format?

No. The compressor never resizes, crops or converts: a 1920×1080 PNG comes out as a 1920×1080 PNG. Transparency is kept, and animated WebP and APNG files only lose metadata, so every frame survives. If nothing comes out smaller, you get your original file back. To change the format on purpose, use one of the converters linked on this page.

Are my images uploaded anywhere?

No. The image compressor runs entirely in your browser, so your images never leave your device and are never sent to a server. Reading, compressing and comparing all happen locally, which is also why it's quick. You can check this yourself: open your browser's network tab while you compress, and you'll see that no image data is sent anywhere.