Skip to content

Image Compressor

In-browser only Images never uploaded JPEG · PNG · WebP · AVIF
Compressed in your browser — your images never leave your device. Powered by Canvas API + WASM.

Your compressed images will appear here.

Overview

Compress JPEG, PNG, WebP and AVIF images in your browser

Compress JPEG, PNG, WebP, and AVIF images right in your browser. Choose lossy or lossless, preview the result side-by-side, and download instantly.

Step by step

How to compress images

  1. 1
    Upload your images

    Drag JPEG, PNG, WebP, or AVIF files onto the drop area, or click Browse to select them. You can queue up to 20 images at once.

  2. 2
    Choose compression settings

    Pick Lossy for the smallest files, or Lossless to shrink without changing pixels. Adjust the quality slider and pick an output format if needed.

  3. 3
    Compress

    Click Compress images. All processing happens in your browser — nothing is uploaded.

  4. 4
    Preview and download

    Drag the before/after slider to compare quality. Download each file individually or grab all as a ZIP.

Get the best result

Tips for smaller files

  • Use quality 70–80 for photos

    A quality setting around 75 typically reduces JPEG file size by 50–70% with no visible difference at normal viewing sizes.

  • Use lossless mode for graphics

    For logos, screenshots, and images with text, lossless PNG via oxipng often saves 10–30% without touching any pixels.

  • Try WebP for web images

    WebP is supported by all modern browsers and is typically 25–35% smaller than JPEG at equivalent quality.

  • Use AVIF for maximum compression

    AVIF can be 50% smaller than JPEG at similar quality. It is supported in Chrome, Firefox, and Safari 16+.

Frequently asked questions

What is the difference between lossy and lossless compression?
Lossy compression permanently removes some image data to make files smaller — the lower the quality setting, the more data is removed. Lossless compression reorganises the file data without discarding any pixels, producing a smaller file that is pixel-identical to the original.
How much can I reduce an image file size?
It depends on the image and settings. A typical JPEG at quality 75 is 50–70% smaller than the original. PNG lossless optimisation saves 10–30%. WebP at equivalent quality is 25–35% smaller than JPEG. AVIF can save 50% or more compared to JPEG.
Will the image look different after compression?
In lossy mode, some quality is traded for smaller size. At quality 75 and above, the difference is usually imperceptible at normal viewing sizes. Use the before/after slider to compare the original and compressed versions. Lossless compression never changes pixels.
Are my images uploaded to a server?
No. All compression happens in your browser using the Canvas API and WebAssembly. Your images stay on your device and are never sent anywhere.
Why is my compressed file larger than the original?
This can happen when the original is already heavily optimised, when you convert to a less efficient format, or when lossless PNG optimisation has little room to improve. The tool always reports the actual output size so you can compare.
Can I keep EXIF metadata (camera info, GPS)?
Yes, for JPEG output. Enable the "Preserve EXIF metadata" toggle before compressing. For PNG, WebP, and AVIF, EXIF is stripped — those formats do not have a standardised EXIF path in the browser compression pipeline.
Is AVIF supported in all browsers?
AVIF is supported in Chrome 85+, Firefox 93+, and Safari 16+. If your browser does not support AVIF encoding, the tool automatically uses a WebAssembly fallback (libavif) so you can still produce AVIF output.