How to compress images
- Choose images, drop them on the box, or copy an image and paste it. You can add up to 50 at a time.
- Each image is compressed straight away at a quality of 75%. Move the slider to trade size for detail; every image is redone with the new setting.
- Optionally pick another format under Save as, or make big photos smaller with Size, such as a longest side of 1920 pixels.
- Press Compare on any image and drag the divider to see the original and the compressed version side by side.
- Press Download for one image, or Download all to get every image in one ZIP file.
If an image is already as small as it can usefully be, the compressor keeps the original rather than giving you a bigger file, and says so.
How image compression works
An uncompressed 12-megapixel photo would need about 36 MB: three bytes of color for each of its 12 million pixels. Compression makes the file far smaller in one of two ways.
- Lossy compression, used by JPEG and WebP, throws away detail the eye is unlikely to miss, such as tiny variations in color and very fine texture. The quality setting decides how much is thrown away. Most photos look almost the same between 70 and 85%, while the file can be a fraction of the size.
- Lossless compression, used by PNG, keeps every pixel exactly and only stores the data more efficiently. It works best on screenshots, logos and drawings with large areas of the same color, and badly on photos.
For PNG files this tool can also reduce the number of colors, the method popularized by tools like TinyPNG. A logo or screenshot with a few hundred colors can usually be stored with a 256-color palette with no visible change, which often cuts the file by half or more. At a quality of 90% or more, PNG files stay lossless with every color kept.
Which quality should I choose?
- 85 to 95%: for photos you want to print, edit later or keep as the best copy. Files shrink less, but the result is very hard to tell from the original.
- 70 to 80%: the best balance for websites, email and sharing. This is where most of the saving comes from with little visible change.
- 50 to 65%: for thumbnails, previews and when an upload form has a strict limit. Look closely at skies and smooth walls, where blocky patterns show first.
- Below 50%: only when the file size matters much more than the look.
If a form asks for an exact limit such as 100 KB, the image resizer can search for the highest quality that fits a target size for you.
JPEG, PNG or WebP?
Keep the same format when a website or program expects a certain type of file. Choose WebP for the smallest files: Google, which created the format, measured WebP photos as 25 to 34% smaller than JPEG photos of similar quality, and WebP also supports transparency. All current browsers show WebP, but some older programs and upload forms don’t accept it. Use JPEG when a photo has to open everywhere, and PNG for graphics with sharp edges, text or transparent areas. Saving a transparent PNG as JPEG fills the see-through parts with white.
Why compress images?
- Faster websites. Images are often the largest part of a web page. Smaller images load faster, especially on phones, and page speed is part of how pleasant a site is to use.
- Email and messaging limits. Many email services cap attachments at about 20 to 25 MB in total, which a handful of full-size phone photos can exceed.
- Upload forms. Job, school and government forms often reject images over 1 or 2 MB.
- Storage. Smaller copies take less space on your phone, computer and cloud drive.
Compressing images for a website
On many pages the largest thing on screen when the page opens is an image, and Google’s Core Web Vitals measure how quickly it appears: a Largest Contentful Paint within 2.5 seconds counts as good. A smaller file is one of the simplest ways to get there.
- Large banner or hero images: a longest side of about 1920 to 2560 pixels at a quality of 70 to 80%, ideally as WebP.
- Images inside an article: 1200 to 1600 pixels wide is usually enough, even on sharp phone screens.
- Thumbnails and product grids: 400 to 800 pixels, compressed a little harder.
- Logos and icons: PNG or, better still, SVG for logos that are drawn rather than photographed.
Compressing photos on a phone
The compressor works the same way on a phone. Tap Choose images and pick photos from your gallery; on most phones you can select several at once. iPhones often save photos in the HEIC format, which only Safari can open; if a photo can’t be opened, set the camera to Most Compatible in Settings → Camera → Formats, or share the photo as JPEG first.
Tips for the best results
- Compress the original, not a copy that has already been compressed or sent through a chat app. Compressing a JPEG again and again loses a little more detail each time.
- Shrink big photos as well. A 4000-pixel photo shown on a website rarely needs more than 1920 pixels. Choosing a smaller size usually saves more than lowering the quality.
- Check with the compare slider at 100% zoom, looking at faces, text and smooth areas.
- Keep your originals. The compressor always makes new files named with “-compressed”, so nothing is overwritten.
- Animated GIFs are saved as a still image of their first frame, so keep the original if you need the animation.
Privacy
Many online compressors upload your images to their servers, often with limits on file size and the number of files. This one runs entirely in your browser: the images are opened, compressed and packed into a ZIP file on your own device, and nothing is sent anywhere. The compressed files also leave out hidden photo details such as the GPS location. To change the size of a single photo exactly, use the image resizer; to pick colors from an image, the color picker.
PNG compression uses UPNG.js by Photopea (MIT license) with pako, and ZIP files are made with fflate (MIT license).
Frequently asked questions
Are my images uploaded?
No. Your browser opens and compresses the images on your own device, and the smaller files are made there too. Nothing is sent to this website, so there is no upload wait and no size limit set by a server.
How much smaller will my images get?
It depends on the image. Photos straight from a phone or camera often shrink by 50 to 80% at a quality of 75 with little visible change. Images that were already compressed, such as photos saved from a messaging app, may hardly shrink at all; then the original is kept.
Does compressing reduce the quality?
JPEG and WebP compression is lossy: it removes detail you are unlikely to notice, and more of it at lower quality settings. Use the compare slider to check. PNG at a quality of 90 or more is lossless; below that, the number of colors is reduced, which suits graphics better than photos.
How many images can I compress at once?
Up to 50 images in one batch, of any file size your device can open. Download them one by one or all together as a ZIP file, then press Clear to start another batch.
Does it remove the photo’s location and camera details?
Yes. The new files are drawn fresh from the pixels, so EXIF details such as the camera model, the date taken and the GPS location are left out. When the original is kept because it was already small, it is unchanged, details included.