Skip to content
FestivKit

Image Compressor

Reduce the file size of JPG, PNG, WebP, and static GIF images with a quality or colour slider. See the saving for each file, drag a before and after slider, and download a ZIP.

Your data stays in your browser. This tool processes your input locally and does not upload it to a server.

or drop files here. JPG, PNG, WebP, GIF, or AVIF. Up to 50 images

What is image compression?

Image compression makes a picture’s file smaller so pages load faster and uploads fit size limits. This tool re-encodes JPG, PNG, WebP, and static GIF files in your browser, shows the saving for each file, and lets you drag a before and after slider to check the quality before you download.

How each format is compressed

JPG and WebP use lossy compression controlled by a quality slider, 80 by default. Lower values give smaller files and more visible artefacts such as blocky areas and fuzz around text. Values from 70 to 85 are a common balance for photos.

PNG is lossless, so the tool offers two methods. Reduce colours converts the image to a palette PNG with up to 256 colours, which can cut logos, icons, and screenshots dramatically and keeps transparency. Keep full colour re-encodes losslessly, which suits photographs and smooth gradients that would show banding with a palette. A Colours slider lets you go below 256 for even smaller files.

Static GIFs are re-encoded with the same palette reduction. Animated GIFs are refused, because re-encoding would keep only the first frame.

Checking the result

After compressing, every file shows its before and after size and the percentage saved, plus a total for the batch. The comparison slider overlays the original and the compressed version so you can judge quality at full detail. Settings apply to the whole batch, so adjust and click Compress again to try another level.

If re-encoding would make a file bigger, which happens with images that are already well optimised, the original is kept and a note says so. Compression also strips EXIF data such as camera model and GPS location, a privacy benefit that also removes copyright fields.

Privacy

Everything happens in your browser. Files are decoded, quantised, and encoded locally, and the ZIP of results is built in memory. Nothing is uploaded.

Examples

Photo for a web page

Input

holiday.jpg 3.2 MB, JPG quality 80

Output

holiday-compressed.jpg around 600 to 900 KB, depending on detail, with about 70% saved

Exact numbers vary with the picture. Flat skies compress far more than detailed foliage.

Logo with few colours

Input

logo.png 180 KB, Reduce colours, 256 colours

Output

logo-compressed.png often under 40 KB with transparency intact

Already optimised file

Input

banner.jpg that was saved at quality 60

Output

Original kept, with a note that it was already well compressed

Common mistakes and edge cases

  • Reducing colours on a photograph can cause banding in skies and skin tones. Use Keep full colour for photos, or compress them as JPG or WebP instead.
  • Compressing a JPG repeatedly loses a little quality each time. Compress from the original, not from a previous compressed copy.
  • Compression removes EXIF metadata, including orientation tags and copyright notices. Browsers apply orientation before encoding, so pictures stay upright, but any embedded credits are lost.
  • SVG files are not raster images and cannot be compressed here. Minify the markup instead, or convert the SVG to PNG first.
  • Quality numbers are not comparable between formats. WebP at 80 usually looks better and is smaller than JPG at 80.
  • Very low quality settings produce visible blocks around text. Check the comparison slider before downloading.

How to use this tool

  1. Select your images.
  2. Set the quality for JPG and WebP, and choose whether PNG files reduce colours or stay lossless.
  3. Click Compress, check the savings and the before and after slider, then download.

Frequently asked questions

How much can I compress an image without visible loss?

For photographs, JPG or WebP at quality 75 to 85 usually looks the same to most viewers while cutting the file by half or more. Screenshots and logos with flat colours can shrink even more with palette PNG. Use the before and after slider at full size to check edges, text, and gradients before you accept the result.

Is my image uploaded when I compress it?

No. The image is decoded and re-encoded entirely in your browser, using the canvas and, for PNG and GIF palettes, code running on your device. No server sees the file, and the saved results exist only in memory until you download them. That makes it suitable for private photos and unpublished artwork.

Why does PNG compression use fewer colours?

A normal PNG stores millions of possible colours per pixel. Many logos and screenshots use only a few hundred, so a palette PNG with up to 256 colours stores each pixel as a small index and is much smaller. The result is not identical for photos, so the tool lets you choose full-colour lossless re-encoding instead.

Does compression remove EXIF and GPS data?

Yes. Because each image is redrawn and encoded again, camera settings, timestamps, and GPS location are not carried over. This helps when you share photos publicly. If you need to keep metadata such as copyright, edit it in a dedicated photo tool after compressing.

Why was my file not made smaller?

Files that are already optimised can come out larger when re-encoded. When that happens the tool keeps your original file and says so, so you never download something bigger than what you started with. Try a lower quality setting, a smaller colour count for PNG, or resize the image to fewer pixels.

References

Last reviewed

Related tools

Browse all tools