Compression levels explained
An image compressor makes a file smaller by storing the picture more efficiently. Each image is decoded and saved again with a modern encoder: MozJPEG for JPG, libwebp for WebP, an AVIF encoder for AVIF, and OxiPNG for PNG. The level decides how much detail is kept.
- Low keeps almost every detail, with smaller savings. PNG images are optimized without changing a single pixel.
- Recommended is the best choice for most people. It removes detail the eye doesn't notice, so photos look the same while the file shrinks a lot. PNG images are reduced to 256 colours with smooth shading.
- High gives the smallest files. Fine textures and sharp edges can look a little softer, so check the before-and-after slider.
- Custom lets you set the quality from 1 to 100 with the slider. Values between 70 and 85 suit most photos.
Every image keeps its format, so when you compress JPG files you get JPG files back, and when you compress PNG files you get PNG. The only exception is HEIC, which becomes JPG because browsers cannot write HEIC.
Target file size explained
Many forms reject a photo that is even a few bytes over the limit. Turn on Target File Size and enter the limit, and the image size reducer tries one quality after another to find the highest quality that still fits. If the picture is too big even at a low quality, its width and height are reduced in small steps until it fits, and the result tells you the new size.
A KB is counted as 1,000 bytes, so the file also passes websites that count 1,024 bytes per KB. When a limit can't be reached, for example 2 KB for a detailed photo, you'll see a clear message with the smallest size possible, so you can choose a larger target. The quick links at the bottom of this page open the compressor with common limits already filled in.
Why some files shrink more than others
Results depend on how the original was saved. Photos straight from a phone camera are stored at very high quality and usually shrink the most. Screenshots and graphics saved as PNG also shrink a lot once they use fewer colours. Images that were already compressed, for example pictures saved from a website or sent through a chat app, have little left to remove, so they may only shrink a few percent.
When compressing would make a file larger, you'll see Already optimized and your original picture is kept, so you never end up with a bigger file than you started with.
When a smaller image helps
- Email attachments: fit more photos under your email provider's attachment limit, and help them arrive faster.
- Online forms and job applications: compress a photo to KB limits for portals that accept, say, a 50 KB photo and a 20 KB signature.
- WhatsApp and other chat apps: sending a picture as a document keeps it sharp, and a compressed copy uploads much faster on a slow connection.
- Websites and online shops: smaller images make pages load faster, which visitors and search engines both notice.
Is it safe? Your files never leave your device
Yes. Your images are compressed by code running in your own browser, so they are never uploaded to a server. Hidden photo details such as GPS location, camera model and the date taken are left out of every compressed file, and phone photos are turned upright first so they still display correctly. Nothing is kept after you close the page.
Tips for best results
- Start from the original photo rather than one that was already shared or downloaded, to get the best quality for the size.
- Need exact pixel dimensions as well as a file size? Use the Image Resizer first, then compress the result.
- To change the format, for example PNG photos to smaller JPG or WebP files, use the Image Converter.
- For a PDF that is too large to send, use Compress PDF.