Compress images online

Shrink photos and graphics so they load faster, fit through email and upload forms, and take less space. Set the quality, reduce a PNG's colours, or cap the largest side, then compare before and after and download. Your images are compressed in your browser and never uploaded.

  • Free
  • No sign-up
  • Nothing uploaded
Loading the tool…
  • Quality control for JPG and WebP
  • PNG colour reduction that keeps transparency
  • Before and after comparison
  • Up to 30 files, one ZIP download

How to compress an image

Four steps, start to finish.

  1. 1

    Add your images

    Choose, drop or paste up to 30 JPG, PNG or WebP files.

  2. 2

    Set the compression

    Pick the quality for JPG and WebP, the number of colours for PNG, and a largest side if you like.

  3. 3

    Compress and compare

    See the new size of every file, and drag the handle on the preview to compare.

  4. 4

    Download

    Save each file, or all of them in one ZIP.

How image compression works

An image file can be made smaller in two ways. Lossless compression packs the same pixels more tightly. Lossy compression throws away detail the eye barely notices, which shrinks files far more. JPG and WebP are lossy formats with a quality setting; PNG is lossless, but can be made much smaller by reducing how many colours it uses.

This tool does both, and one more thing that often matters most: it can cap the largest side of each picture. A photo straight from a phone is often 4000 pixels wide or more, while a web page or an email rarely shows one wider than 1920. Fewer pixels means a much smaller file before any compression starts.

Choosing the settings

SettingWhat it doesA good start
Quality (JPG, WebP)Lower keeps less fine detail and makes a smaller file75 for the web; 85 to 90 when detail matters
PNG coloursReduces the picture to a palette of up to 256, 128 or 64 colours; All keeps every colour256 for screenshots and graphics
Largest sideScales a picture down so its longer side is at most this many pixels1920 for websites and email; Keep to leave the size alone
FormatSame keeps each file's format; or convert them all to JPG, PNG or WebPSame, unless you need a particular format

Then compare: the preview shows the original on the left and the compressed version on the right, with each one's file size. Drag the handle across faces, text and edges, where compression shows first. If you see blocky patches in a JPG or banding in a smooth sky, raise the quality a little.

Photos and graphics compress differently

  • Photos have smooth gradients and millions of colours. They compress best as JPG or WebP; as PNG they stay large.
  • Screenshots, logos and diagrams have flat colours and sharp edges. JPG blurs those edges, so keep them as PNG and reduce the colours: a screenshot often shrinks to a fraction of its size with no visible change, and transparency is kept.
  • Pictures with transparency (a logo, a cut-out) need PNG or WebP. Converting them to JPG puts them on white.

WebP usually makes smaller files than JPG at a similar look, and current browsers all show it, which makes it a good choice for websites. For files you'll send to people or upload elsewhere, JPG and PNG are still the safest: every program opens them. The PDF, PNG or JPEG guide compares the formats in more depth.

Why smaller images matter

  1. Faster pages. Images are often the heaviest part of a web page; smaller files load sooner, especially on mobile data.
  2. Email and forms. Many inboxes and upload forms limit attachment sizes.
  3. Storage. Thousands of photos take far less space at sensible sizes.

If you need an exact size in pixels, such as a social media format, use the image resizer first, then compress the result here.

Private and unlimited

The images are compressed by your browser and never uploaded, so there is no queue, no account and no daily limit. Compressed copies also leave out the camera's hidden data (EXIF), such as the time and place a photo was taken; an original kept because it was already smaller keeps its own.

Updated

Image compressor: common questions

What people ask before they use it.

How much smaller will my images get?

It depends on the picture. Large phone photos shrink the most, especially with the largest side capped at 1920 pixels; files that were already optimised shrink little, and are kept as they are if they wouldn't get smaller. Each file shows its new size before you download.

Does compressing a PNG keep transparency?

Yes. Reducing a PNG's colours keeps transparent areas transparent. Only converting to JPG removes transparency, putting the picture on white.

Is there a limit?

Up to 30 images at a time, each up to 50 MB, as many times as you like.

Are my images uploaded?

No. Everything happens in your browser, on your device.

What quality should I choose for a website?

Around 75 for JPG or WebP, with the largest side at 1920 pixels, suits most photos on a web page. Compare before and after, and raise it if you see blocky areas.