Image Compressor

Shrink photos with a quality slider or a target size in KB. Compression runs on your device - nothing is ever uploaded.

A target means at or below that size. Quality is tried first. If that stays too large, the picture is made smaller. A target that is still too small is reported.

Runs entirely on your device - nothing is ever uploaded.

More tools

How to use Image Compressor

  1. Drop an image onto the upload area, or click it to browse your device.
  2. Drag the quality slider, or pick a target size such as 100 KB or 1 MB, and choose JPEG or WebP output.
  3. Download the new image. The page shows the achieved size. A target that quality alone cannot reach will also shrink the picture.

What it is for

Compressing makes a photo take fewer megabytes so it loads faster and fits under upload limits. It is the quickest way to prepare pictures for email, forms, or the web. The quality slider keeps the pixel dimensions and only changes the file size. A target size is a new file: if quality cannot get there, the picture is also made smaller, and the result says so. JPEG, PNG, WebP, GIF, BMP, SVG, AVIF and HEIC inputs all work - whatever your browser can decode. Animated GIFs compress as their first frame, and the original file on your computer is left untouched.

How it works

The image is redrawn onto a canvas on your device and re-encoded at the quality you picked. Higher quality keeps more detail, lower quality makes a smaller file. JPEG suits photos, WebP usually beats it at the same quality. PNG stays lossless, so a KB target is saved as JPEG instead. A target means at or below the size you chose. The compressor tries higher quality first, then shrinks the picture. If the file is still above the target, the result says so and shows the smallest size it reached.