Image Compressor
Make JPG, PNG, WebP and GIF files smaller: drop in images, pick a quality or a target size in KB, compare before and after, and download one file or a ZIP. Compression runs in your browser — your images are never uploaded.
Upload Images to Compress
Drag and drop images here, or click to browse
Any number of images • JPG, PNG, WebP, GIF, BMP, AVIF in • JPG, WebP or PNG out • animated files are kept as they are
Compress images online, free and private
To compress an image online, click Select Images, choose Lossy or Lossless (PNG), set the Quality slider (80% by default) or tick Target File Size and type a size in KB, then click Download. The tool re-encodes each picture with your browser's own encoders and shows the new size and the percentage saved. It never hands back a bigger file: if re-encoding would not shrink an image, you get the original unchanged, with a note.
The saving is (1 - compressed size / original size) x 100, shown as a badge such as -67%. Compression changes only the file size, not the width or height. This free image compressor runs in your browser, so nothing is uploaded, and you can confirm that in the Network tab of DevTools. Files that are re-encoded also lose their EXIF metadata, including any GPS position.
Need fewer pixels as well? Set the dimensions first with the image resizer, or cut away the parts you do not need with the image cropper, then compress.
Table of Use: settings for common jobs
| Goal | Settings | What you get |
|---|---|---|
| Photo for email or a web page | Lossy, Output Format Auto, Quality 80 | JPG stays JPG, WebP stays WebP. In one test a 478 KB 1200 x 800 test image became 157 KB (-67%); real photos vary |
| Upload form with a size limit | Lossy, tick Target File Size, type 200 | The highest quality that fits 200 KB, or the smallest possible file plus a note |
| Screenshot, logo or text graphic | Lossless (PNG) | Every pixel and any colour profile kept, other metadata stripped; the original is returned for a 16-bit PNG or when the PNG is not smaller |
| Transparent logo or sticker | Lossy with WebP, or Lossless (PNG) | Transparency kept; the JPG option fills transparent areas with white |
| Animated GIF | Leave it alone, or tick Convert to a still image | Unchanged animation, or a compressed first frame |
| A folder of photos | Select them all, then Download All (ZIP) | compressed-images.zip, with clashing names made unique |
One catch: with Output Format on Auto, an opaque PNG is saved as a JPG. To keep PNG, pick Lossless (PNG). If you only want to change format, the PNG to JPG converter and the PNG to WebP converter do that with their own settings.
Features
- Lossy and Lossless (PNG) modes. Lossy trades detail for size; Lossless keeps every pixel and saves a PNG, and returns files it cannot copy exactly, such as 16-bit PNGs, unchanged.
- Output Format. Auto keeps JPG as JPG and WebP as WebP, saves images with transparency as WebP and everything else as JPG. You can also force JPG or WebP.
- Quality from 10% to 100%. The slider starts at 80%.
- Target File Size in KB. The tool encodes at your slider quality first, then searches downward between that value and 2% for the highest quality that fits.
- Never bigger. If the result is not smaller than the original, the original file is returned and a note says why.
- Animation aware. Animated GIF, WebP, PNG and AVIF files are detected and left unchanged unless you tick Convert to a still image.
- Comparison Slider. Drag across each preview to compare Compressed and Original.
- Batch and totals. Add any number of images. They are processed one at a time, and the header shows the total saved.
- Honest file names. Downloads are named like photo_compressed.jpg, with the extension of the format actually produced.
Inputs are JPG, PNG, WebP, GIF, BMP and AVIF; SVG is not accepted. BMP files are uncompressed, so they shrink a lot here; for a lossless result use the BMP to PNG converter. If you embed pictures as text, compress first: the image to Base64 converter output is about a third longer than the file it encodes.
How to compress an image, step by step
- Click Select Images or drag files onto "Upload Images to Compress". Several at once is fine.
- Under Compression Settings choose a Compression Mode: Lossy or Lossless (PNG).
- In Lossy mode, pick an Output Format and move the Quality slider. Or tick Target File Size and type a number of KB; the slider becomes Maximum Quality.
- Wait for each file to show its new size. The badge reads -NN% when it got smaller, or unchanged when the original was kept.
- Drag the Comparison Slider to check the result by eye.
- Click Download under one image, or Download All (ZIP).
Who can use it
- Bloggers and web developers trimming page weight, perhaps after making a thumbnail for the listing.
- Job applicants and form fillers who must stay under a 100 KB or 500 KB upload limit.
- Online sellers with dozens of product photos to prepare, after straightening any sideways phone shots with the image rotator.
- Students and office staff emailing scans and screenshots that bounce for size.
- Designers handing over lighter previews, with a watermark added before export.
FAQs
How do I compress an image to a specific size in KB?
Add your images, keep Lossy mode, tick Target File Size and type the size in KB, for example 200. For each image the tool searches for the highest quality, up to the Maximum Quality slider, whose file fits. If even the lowest quality is too big, it gives you the smallest file it could make and says so; then resize the image to fewer pixels and try again.
Should I choose lossy or lossless compression?
Choose Lossy for photographs: it removes detail you control with the Quality slider, so files get much smaller. Choose Lossless (PNG) for screenshots, logos and text graphics, where lossy artefacts show; every pixel is kept (16-bit PNGs are kept unchanged, because browsers can only write 8-bit PNG). Lossless re-encoding of a photo that is already a JPG almost always gives a bigger file, and then the tool keeps your original instead.
Why does my image say "unchanged"?
If re-encoding with your settings would not produce a smaller file, the tool returns your original file untouched rather than a bigger one, and a note under the image explains why. This is common with small or already optimised images. Lower the quality, switch the Output Format, or resize the picture first.
How do I compress a PNG with a transparent background?
In Lossy mode with Output Format on Auto, a PNG that has transparent areas is saved as WebP, which keeps transparency. Choosing JPG fills transparent areas with white. Lossless (PNG) keeps every pixel as PNG. Browsers that cannot write WebP, such as Safari, save a PNG instead, and the note under the image tells you.
Can I compress an animated GIF?
Not as an animation. A browser canvas can only hold the first frame, so the tool detects animated GIF, WebP, PNG and AVIF files and keeps them unchanged, with a note. If you only need a still picture, tick "Convert to a still image" under that file and it is compressed like any other. Single-frame GIFs are compressed normally.
Does compressing an image remove its EXIF or location data?
When the tool re-encodes a file, the new file carries no EXIF metadata such as camera model or GPS position, because it is drawn on a canvas and saved again. When the result would not be smaller and your original is returned unchanged, that original keeps its metadata. Check the note under each image if privacy matters.
Does compression change the width and height of the image?
No. The pixel dimensions stay the same and only the file size changes. To make an image smaller in pixels, use the image resizer first and then compress the result. Always compress from your original file, because every lossy save discards a little more detail and the artefacts add up.
Are my images uploaded to a server when I compress them?
No. Compression uses your browser's own image encoders through the Canvas API, on your device. Nothing is uploaded, stored or seen by ZipConvert, and everything is discarded when you close the tab. You can verify it in the Network tab of your browser DevTools while you compress a file.
Related Image Tools
Explore more powerful image tools to enhance your productivity
JPG to PNG Converter
Convert JPG to PNG
PNG to JPG Converter
Convert PNG to JPG
WebP to PNG Converter
Convert WebP to PNG
PNG to WebP Converter
Convert PNG to WebP
Image Resizer
Resize images
Image Cropper
Crop images
Image Rotator
Rotate images
Image Flip Tool
Flip images
Grayscale Converter
Convert to grayscale
Sepia Filter
Apply sepia effect
Image Blur Tool
Blur images
Brightness Adjuster
Adjust brightness
Contrast Adjuster
Adjust contrast
Saturation Adjuster
Adjust saturation
Image Sharpener
Sharpen images
Add Text to Image
Add text overlay
Add Watermark
Add watermarks
Remove Background
Remove image background
Color Inversion Tool
Invert colors
Image Border Adder
Add borders