Compress Images

Shrink photos and images for email, websites and upload forms. Compress a whole batch at once, see how much each one saved, and keep everything on your device.

Output format

JPG, WebP and AVIF are recompressed at the quality below. PNGs are optimized with no visible change. HEIC photos become JPG.

How to compress images

  1. 1Choose your images, or drag a whole selection onto the page.
  2. 2Set the quality. 75% is a good starting point; lower means smaller files.
  3. 3Optionally choose a maximum size. Shrinking the dimensions saves the most space.
  4. 4Check the size before and after each image, then download them one by one or as a ZIP.

How image compression works

JPG, WebP and AVIF are “lossy” formats: they save space by throwing away detail your eye is unlikely to notice. Re-saving at a lower quality removes a little more. Between about 70% and 85%, most photos look the same on screen but are much smaller than a camera or phone saves them. Every image keeps its format, so a JPG stays a JPG.

PNG is lossless, so there is no quality to lower. Instead, PNGs go through an optimizer that stores the same image more compactly without making it look any different, often saving 10 to 40%. For a much bigger saving, choose WebP as the output: it keeps transparency and is usually a fraction of the size.

The biggest saving of all comes from the dimensions. A modern phone photo is around 4000 px wide, far more than any screen, email or website needs. Setting a maximum size of 2048 px cuts the number of pixels by three quarters, and the file size with it. If an image can’t be made smaller, you get the original back rather than a bigger file.

When to compress instead of converting

Use this when the format is already right and the file is just too heavy. JPG, WebP and AVIF are re-encoded at the quality you set, starting at 75. PNG is not lossy: it goes through the oxipng optimizer (level 2) so the pixels stay the same and the file often gets smaller. HEIC cannot be written back, so a HEIC photo comes out as JPG.

The long-side cap is off by default, or 4096, 2048 or 1080 px, and it never enlarges. If a new encode would be larger than the file you gave, and you did not resize, you get the smaller original back instead of a worse file. For a JPEG stored upright (orientation 1), that “original” has had its metadata cut out. Other cases can hand the untouched file back, metadata included, because cutting it safely was not possible.

Limits of the image compressor

It will not beat a file that is already as small as these settings allow, and it will not invent a target like “under 200 KB”. Lower the quality or the long side and look at the before-and-after size on the row. WebP output keeps transparency. JPG output fills transparent pixels with white. AVIF stays AVIF only if you leave the format on “keep”.

There is no crop and no colour edit. Animated images become one frame when they are re-encoded. A PNG that cannot be optimized further comes back unchanged in appearance. The ZIP, when you download several, is built in the browser.

Why use Lilypad

100% private

Files are processed right in your browser. Nothing is ever uploaded to a server.

Batch processing

Add hundreds of files at once and download them all in a single ZIP or PDF.

Fast & free

Uses every core of your CPU. No sign-up, no watermarks, no file limits.

Frequently asked questions

What quality should I use?

Start at 75%. That is visually close to the original for photos and usually makes them much smaller. Go down to 60% for the smallest files, or up to 85% for images with fine detail or small text.

Why did an image not get smaller?

It was probably already compressed as much as your settings allow, for example a photo saved for the web. Rather than give you a bigger file, the tool keeps the original. Lower the quality or choose a maximum size to shrink it further.

What happens to HEIC photos?

Browsers can’t write HEIC files, so compressed HEIC photos are saved as JPG. To stay HEIC, keep the originals.