Image Compressor
Free, runs in your browser, and your images are never uploaded.
Your images never leave your device.
Drop your images here
You can pick several at once. Accepted formats: JPG, PNG and WebP.
Smaller fileHigher quality
How to use it
- Drag your JPG, PNG or WebP images into the box, or use the Choose images button to pick them from your computer or phone. They're compressed as soon as you add them.
- Check each image's size before and after. For a smaller JPG or WebP, or one with more detail, move the quality slider and use the Compress again button.
- Download each image on its own, or all of them in one ZIP file.
How it works
Compressing an image means making its file smaller without changing its width and height in pixels. Your browser opens each image, draws it on a canvas and saves it again in the same format. Everything happens on your device: the tool never sends your images to a server.
For JPG and WebP, the quality setting decides how much each file is compressed. It goes from 1 to 100 and starts at 75. Lower quality makes a smaller file and gives up some detail.
PNG files are reduced to at most 256 colors and don't use the quality setting. Dithering imitates the missing colors by mixing pixels of the available ones; even so, smooth gradients can show small color changes. A PNG that already has 256 colors or fewer keeps all of its colors.
If the result isn't smaller than the original, the tool keeps your original file unchanged and tells you so. For an animated image (WebP or PNG), the compressed version keeps only the first frame.
Example
You need to upload phone photos (JPG) and screenshots (PNG) to a form with a file size limit. Drop them all in at once: each image is compressed in its own format, and next to each one you see its size before, its size after and how much smaller it got. If a photo is still too big, lower the quality from 75 to 60, use Compress again and download everything as a ZIP.
Frequently asked questions
Are my images uploaded anywhere?
No. The compression runs inside your browser and your files never leave your device, so it is safe to use with private images.
How do I compress a JPG?
Drop the JPG into the box and it's compressed as soon as you add it; quality starts at 75. For a smaller file, lower the quality and use Compress again; if you see artifacts around edges or gradients, raise it.
How do I compress a PNG?
Drop the PNG into the box: it's reduced to at most 256 colors, with dithering to imitate the missing ones. If it already has 256 colors or fewer, it keeps all of its colors. The quality setting only applies to JPG and WebP.
Can I compress an image without losing quality?
It depends on the format. A PNG that already has 256 colors or fewer keeps all of its colors. A PNG with more colors can show small color changes in smooth gradients, and JPG and WebP lose more detail the lower you set the quality.
Does the compressed image keep EXIF data and location?
No. The image is drawn on a canvas and saved again, so it doesn't carry the original's EXIF metadata, such as camera details or GPS location. The exception is when the tool keeps your original file because the compressed version wasn't smaller: that file keeps its metadata.
Can I compress multiple images at once?
Yes. Drop or pick several images, even in different formats: each one is compressed in its own format, and you can download them one at a time or all together in a ZIP file.
Does it work on iPhone and Android?
Yes, in current versions of Safari, Chrome, Firefox and Edge, on desktop and on phones. The exception is WebP files in Safari: Safari can't create WebP, so to compress them, use Chrome, Edge or Firefox on a computer or an Android phone.
Related tools
Updated