What this image compressor does
The tool makes image files smaller so that they upload faster, fit a size limit and load quickly on a website. It re-encodes each picture in your browser with the quality you choose, or it searches for the best quality that fits a target such as 100 KB or 1 MB. It works with JPG, PNG, WebP, AVIF, HEIC, GIF and BMP files, takes up to 100 files at once, and gives you the results as single downloads or as one ZIP.
How to compress an image
- Drop your images on the box, click it to choose files, or paste an image from the clipboard.
- Pick the output format. Same as original keeps JPG as JPG and PNG as PNG. Choose WebP or AVIF for the smallest files on a website, or JPG when a portal asks for it.
- Set the quality (80 is a good start), or choose a target size and let the tool find the best quality that fits.
- Optionally set a maximum width or height. Fewer pixels is the strongest way to save bytes.
- Open any thumbnail to inspect the result, then download one file or all files as a ZIP.
Settings explained
- Output format. JPG for photos and portals, PNG for graphics that need sharp edges or transparency, WebP and AVIF for websites.
- Quality. 75 to 85 is the usual sweet spot for photos. Below 60 you start to see blocks and smudges.
- PNG colors. PNG is lossless, so the size drops only when colors are reduced. 256 colors is a safe default for screenshots and logos. 16 to 64 colors suits flat icons and signatures.
- Target size. The tool tries high quality first, lowers it step by step until the file fits, and shrinks the pixel size only if quality alone is not enough. It aims slightly below the limit.
- Max width and height. Images are only ever scaled down, never up.
- Background. JPG has no transparency, so transparent areas are filled with this color.
How much can you save?
| Format | Best for | Typical saving | Transparency |
|---|---|---|---|
| JPG | Photos, anything a portal accepts | Often 50 to 80% on camera photos at quality 75 to 85 | No |
| PNG | Screenshots, logos, icons, signatures | Often 40 to 70% when colors are reduced; little when kept lossless | Yes |
| WebP | Websites, photos and graphics | Commonly 25 to 35% smaller than JPG at a similar look | Yes |
| AVIF | Websites that want the smallest files | Often a third to a half smaller than JPG | Yes |
These are typical values. The real result depends on the picture: smooth skies shrink a lot, grainy night photos much less.
Compress to an exact size
Many forms state a limit. Use a page that is already set to it: 20 KB, 50 KB, 75 KB, 100 KB, 150 KB, 200 KB, 250 KB, 300 KB, 400 KB, 500 KB, 750 KB, 1 MB, 2 MB, 3 MB, 5 MB.
Compress by format
JPG, JPEG, PNG, WebP, HEIC, AVIF.
Compress for a purpose
Passport photo, Visa photo, Job application, Exam photo, ID photo, Email, Website, WordPress, Ecommerce.
Privacy
Compression runs in your browser with the canvas and plain JavaScript. Your pictures are not uploaded, stored or logged. The one exception is HEIC: browsers other than Safari cannot open HEIC by themselves, so the page then downloads a small public decoder library. The photo itself still stays on your device.
What gets removed, and limits
- Re-encoding removes EXIF data such as camera model, date and GPS position. The orientation is applied first, so photos stay upright. Output is sRGB.
- Animated GIFs become a single still image (the first frame).
- Every JPG or WebP save loses a little detail. Compress from the original file, not from an already compressed copy.
- Very large images (above about 16,000 pixels on a side) can exceed the browser canvas limit.
- Browsers write AVIF only when they support it. The tool tests this and falls back to WebP.
- Desktop encoders such as mozjpeg, pngquant and libaom can squeeze a little more. See the image compression guide for commands.
Related tools: JPG to WebP, WebP to JPG, image to Base64 and the JPG vs WebP guide.