Image Compressor
Drop an image here, paste it, or choose a fileChoose an image from your device
PNG, JPG, WebP, GIF, AVIF, BMP · never leaves your device
About
Image compression shrinks a file by discarding detail the eye is unlikely to notice. JPEG and WebP do this lossily: the lower the quality, the smaller the file and the more detail is permanently lost. How much you save depends on the source - screenshots, PNG photos and camera-original JPEGs often shrink a lot, while a JPEG already compressed for the web may barely shrink, or even grow, when re-encoded.
How to use
1.
Add an image (JPEG, PNG, WebP, GIF, AVIF or BMP) by drag-and-drop, the file picker, or pasting from your clipboard
2.
Leave Format on Auto - JPEG stays JPEG, other images become WebP where your browser can save it - or pick JPEG, PNG or WebP, and for JPEG and WebP set the Quality. Both carry over to the next image you add
3.
Drag the divider across the Result image to compare the original with the compressed version; the header shows both file sizes, and the chips under the image the format, new size and size change
4.
Click Download - or, if the result is not smaller than the original, Download original
Common uses
▸
Reducing image file sizes for faster web page loading
▸
Compressing photos before attaching them to email
▸
Optimising images for better PageSpeed or Lighthouse scores
Frequently asked questions
What output format does compression use?
With Format on Auto, a JPEG stays JPEG and every other image becomes WebP, which compresses far better than PNG and keeps transparency. Safari cannot save WebP, so there Auto saves an image without transparency as JPEG and one with transparency as lossless PNG. You can also pick JPEG, PNG or WebP yourself: JPEG has no transparency, so transparent areas are filled with white (the tool tells you when that happens), and PNG is lossless, so it has no quality setting and rarely gets much smaller. An animated GIF, WebP or PNG keeps only its first frame, and the tool warns you when that applies. The first chip under the Result image names the format you will download.
Will compression affect image quality?
Compression reduces file size by discarding some image data. Lower quality settings produce smaller files with more visible quality loss. The Result panel shows the original and the compressed image on either side of a divider you can drag (or move with the arrow keys), so you can check fine detail before you download.
Is my image uploaded to a server?
Compression runs entirely in your browser using the Canvas API. No image data is transmitted anywhere. The compressed file is re-encoded from the pixels alone, so EXIF metadata such as camera details and GPS location is removed; Download original gives you your file unchanged, metadata included.
What is a good quality setting?
Quality starts at 80%, which looks close to the original for most photos; drag the slider or type a value from 1 to 100. The saving depends on how your file was saved: a JPEG that was already compressed at a similar or lower quality may not get smaller at all. When the result is not smaller than the original, the tool says so under the Result image and offers Download original.
Is there a size limit?
The tool sets no limit on file size; what matters is the pixel count your browser can process - 100 million pixels (roughly 10,000 × 10,000) in most browsers, and about 16.7 million (4,096 × 4,096) on iPhone and iPad. A larger image is scaled down to fit before it is compressed, and the tool tells you the size it is compressed at.