Home / Image tools / Image compressor

Image Compressor

Make photos and graphics smaller without a visible loss of quality. Drop your files, choose a quality or a target size, and download the result. Nothing leaves your browser.

Drop images here, click to choose, or paste
JPG, PNG, WebP, AVIF, HEIC, GIF, BMP. Up to 100 files. Stays in your browser.

Everything runs in your browser. Your images are not sent to our server. Sizes are shown with 1 KB = 1,000 bytes.

What this image compressor does

The tool makes image files smaller so that they upload faster, fit a size limit and load quickly on a website. It re-encodes each picture in your browser with the quality you choose, or it searches for the best quality that fits a target such as 100 KB or 1 MB. It works with JPG, PNG, WebP, AVIF, HEIC, GIF and BMP files, takes up to 100 files at once, and gives you the results as single downloads or as one ZIP.

How to compress an image

  1. Drop your images on the box, click it to choose files, or paste an image from the clipboard.
  2. Pick the output format. Same as original keeps JPG as JPG and PNG as PNG. Choose WebP or AVIF for the smallest files on a website, or JPG when a portal asks for it.
  3. Set the quality (80 is a good start), or choose a target size and let the tool find the best quality that fits.
  4. Optionally set a maximum width or height. Fewer pixels is the strongest way to save bytes.
  5. Open any thumbnail to inspect the result, then download one file or all files as a ZIP.

Settings explained

  • Output format. JPG for photos and portals, PNG for graphics that need sharp edges or transparency, WebP and AVIF for websites.
  • Quality. 75 to 85 is the usual sweet spot for photos. Below 60 you start to see blocks and smudges.
  • PNG colors. PNG is lossless, so the size drops only when colors are reduced. 256 colors is a safe default for screenshots and logos. 16 to 64 colors suits flat icons and signatures.
  • Target size. The tool tries high quality first, lowers it step by step until the file fits, and shrinks the pixel size only if quality alone is not enough. It aims slightly below the limit.
  • Max width and height. Images are only ever scaled down, never up.
  • Background. JPG has no transparency, so transparent areas are filled with this color.

How much can you save?

FormatBest forTypical savingTransparency
JPGPhotos, anything a portal acceptsOften 50 to 80% on camera photos at quality 75 to 85No
PNGScreenshots, logos, icons, signaturesOften 40 to 70% when colors are reduced; little when kept losslessYes
WebPWebsites, photos and graphicsCommonly 25 to 35% smaller than JPG at a similar lookYes
AVIFWebsites that want the smallest filesOften a third to a half smaller than JPGYes

These are typical values. The real result depends on the picture: smooth skies shrink a lot, grainy night photos much less.

Compress to an exact size

Many forms state a limit. Use a page that is already set to it: 20 KB, 50 KB, 75 KB, 100 KB, 150 KB, 200 KB, 250 KB, 300 KB, 400 KB, 500 KB, 750 KB, 1 MB, 2 MB, 3 MB, 5 MB.

Compress by format

JPG, JPEG, PNG, WebP, HEIC, AVIF.

Compress for a purpose

Passport photo, Visa photo, Job application, Exam photo, ID photo, Email, Website, WordPress, Ecommerce.

Privacy

Compression runs in your browser with the canvas and plain JavaScript. Your pictures are not uploaded, stored or logged. The one exception is HEIC: browsers other than Safari cannot open HEIC by themselves, so the page then downloads a small public decoder library. The photo itself still stays on your device.

What gets removed, and limits

  • Re-encoding removes EXIF data such as camera model, date and GPS position. The orientation is applied first, so photos stay upright. Output is sRGB.
  • Animated GIFs become a single still image (the first frame).
  • Every JPG or WebP save loses a little detail. Compress from the original file, not from an already compressed copy.
  • Very large images (above about 16,000 pixels on a side) can exceed the browser canvas limit.
  • Browsers write AVIF only when they support it. The tool tests this and falls back to WebP.
  • Desktop encoders such as mozjpeg, pngquant and libaom can squeeze a little more. See the image compression guide for commands.

Related tools: JPG to WebP, WebP to JPG, image to Base64 and the JPG vs WebP guide.

Frequently asked questions

How do I compress an image online?

Drop the image on the tool, choose a quality or a target size, and download the result. The work is done in your browser.

Is my image uploaded to a server?

No. Compression runs on your device. Only HEIC files in browsers without HEIC support make the page download a decoder library, and the photo itself is not sent anywhere.

Will compression reduce quality?

JPG, WebP and AVIF are lossy, so a little detail is lost. At quality 75 to 85 the difference is hard to see at normal size. PNG with all colors kept is lossless.

Can I compress many images at once?

Yes, up to 100 files. Download them one by one or as a ZIP.

What is the best format to compress to?

WebP or AVIF for your own website, JPG for portals and email, PNG for logos and screenshots that need transparency or crisp edges.