Compress JPG, PNG and WebP images

Make JPEG, PNG and WebP files smaller by choosing a quality or a maximum file size. Add one image or a hundred; each is compressed on your device.

Drop images to compress

Add more: drop here or click to choose

or Choose imagesor paste

JPEGPNGWebP

GIF, BMP and AVIF open too, if your browser supports them.

Processed on this device, never uploaded. What the page sends

How to compress an image

  1. Drop one or more JPG, PNG or WebP images above, or paste a screenshot.
  2. Choose Quality for a visual setting, or Target size for a maximum file size.
  3. Check the before/after preview and the size saved, then download each image or all of them as a ZIP.

How the compressor works

When you add an image, Lumekit reads it locally, decodes it with your browser’s own image decoder and re-encodes it with the settings on the right. Rotation stored in the photo’s EXIF data is applied first, so the result is always upright. Processing runs in a background thread, so the page stays responsive even with large batches.

Quality mode

JPEG and WebP are lossy formats: they discard detail your eyes are unlikely to notice. The quality slider controls how much is discarded. Small changes near the top of the scale make a big difference to file size: going from 95% to 80% often halves a photo’s size with no visible change.

Target size mode

Many upload forms set a limit, such as 200 KB for a visa photo or 1 MB for an email attachment. In target mode Lumekit runs a bounded search:

  1. It tries quality levels between 92% and 60% at full size, keeping the highest quality that fits.
  2. If that isn’t enough and resizing is allowed, it reduces the dimensions based on how many bytes each pixel costs, then searches quality again.
  3. As a last resort it lowers quality towards 30%. If the target still can’t be met, you get the smallest acceptable result and a clear note saying so.

For PNG output, target mode first tries lossless optimisation, then reduces the palette to 256, 128, 64 or 32 colours, then reduces dimensions.

Need to get under a strict limit such as 20 KB or 100 KB? The compress to KB page opens with target mode ready and explains what fits into each common size.

Which format should I choose?

FormatBest forTransparencyNotes
JPEGPhotosNoOpens everywhere. The safest choice for forms and email.
WebPPhotos and graphics on the webYesTypically 25–35% smaller than JPEG at similar quality. Some older software can’t open it.
PNGScreenshots, logos, textYesLossless by default. Use “Fewer colours” for large savings on graphics.

Practical examples

  • Job or visa application asking for a photo under 100 KB: choose Target size, 100 KB, output JPEG. Most phone photos fit at good quality once reduced to around 1200 px.
  • Website hero images: output WebP at 75–80% quality, then check the result with Compare.
  • Screenshots for documentation: keep PNG and choose Fewer colours with 128–256 colours. Text stays sharp and files often shrink by more than half.

Limitations

  • Results depend on your browser’s built-in encoders. Safari’s JPEG encoder keeps full colour detail and can produce noticeably larger files than Chrome or Firefox at the same quality setting; on Safari, use a lower quality or target-size mode. With “Keep original if it’s smaller” on, you never get a bigger file back.
  • WebP output requires a browser that can encode WebP. Chrome, Edge and Firefox can; Safari currently cannot, so the option is disabled there.
  • Animated GIF, PNG and WebP files become still images (the first frame). You’ll see a warning on any animated file.
  • The original colour profile isn’t carried over: colours are converted to standard sRGB, which is what web browsers display. Wide-gamut (Display P3) photos may look slightly less saturated.
  • HEIC photos from iPhones only open in browsers that can decode HEIC. If yours can’t, change your iPhone camera setting to “Most Compatible” or export as JPEG first.

Questions

Are my images uploaded anywhere?

No. Compression runs in your browser using its built-in image encoders and a small amount of code from this site. The image data never leaves your device. You can verify this by opening your browser’s developer tools and watching the Network tab while you compress.

Why is my file still above the target size?

Some images contain so much detail that they can’t reach a very small target without becoming unrecognisable. Lumekit stops at a quality floor of about 30% and a minimum size of 64 pixels on the long side, then shows you the smallest acceptable result and says the target was missed instead of hiding it.

What quality setting should I use?

For photos, 75–85% is a good default: the file is usually 60–80% smaller and differences are hard to see. Go lower for thumbnails, higher for images you will edit again or print.

Why does PNG compression save less than JPEG?

PNG is lossless: it stores every pixel exactly. Lossless re-encoding can only remove inefficiency, typically saving 5–30%. For bigger savings use “Fewer colours”, which converts the image to a palette of up to 256 colours, or convert photos to JPEG or WebP.

Does compression remove EXIF data and GPS location?

Yes. Re-encoded images don’t carry over the camera, date, location or editing data from your photo. Some browsers add a few technical fields of their own, such as pixel dimensions, colour space or a standard sRGB colour profile, none of which identifies you. The exception is when “Keep original if it’s smaller” returns your unchanged file. To remove metadata without re-compressing, use the metadata tool.

Is there a limit on file size or number of images?

You can add up to 100 images at once, each up to 200 MB. Very large photos are limited by your device’s memory; on iPhone and iPad, Safari can only process about 16.7 megapixels at a time, so larger photos are scaled down to fit and you’re told when that happens.

Compare

Original Result