Compress images online, free and private
Shrink JPG, PNG, WebP and AVIF files right here in your browser. Batch up to 100 images, see the real saving for each one, and download them singly or as a zip. Your photos never leave this device.
How to reduce image file size
- Add images. Drop them on the frame, choose files, or paste a screenshot with Ctrl/⌘ + V.
- Pick an output. “Same as original” keeps each file’s format. Choose WebP or AVIF for the smallest web images.
- Set quality or a target size. The slider trades bytes for detail; a KB target lets the tool find the quality for you.
- Check and save. Open Compare on a detailed image, then save files one by one or as a zip.
Compress without visibly losing quality
“No quality loss” is only literally true for lossless modes. What people usually want is no visible loss, and that is very achievable: JPEG and WebP throw away fine detail your eye is least sensitive to, first in colour, then in high-frequency texture. At quality 70–80 most photos look the same at normal size, while files from phones and cameras often drop to a fraction of their size.
Resizing matters as much as quality. A 4,000-pixel photo shown 800 pixels wide on a product page carries about 25 times more pixels than needed. Set a max width and both problems go away. Our lossy vs lossless guide shows what the quality slider actually removes.
Bulk image compression for shops and sites
Queue a whole folder of product photos on the bulk image compressor: the tool processes several at once using your device’s CPU cores, keeps going while you scroll, and bundles everything into one zip with the original file names. Your quality and size settings are remembered on this device for next time.
Questions
Are my images uploaded to a server?
No. CompressPixel downloads the compression codecs (MozJPEG, OxiPNG, libwebp, libavif) to your browser as WebAssembly and runs them there. Your files never leave your device, and the tool keeps working if you go offline after the page has loaded.
How much smaller will my images get?
It depends on the image. A straight-from-camera JPEG or a PNG screenshot often shrinks a lot; an image that was already optimised may barely change. Each file shows its real before and after size, and if the result would be bigger the original is kept.
Is there a limit?
You can queue up to 100 images at once and run as many batches as you like. There is no account, watermark or daily cap. Very large images (say 50 megapixels) are limited only by your device’s memory.
Which quality setting should I use?
For photos, quality 70–80 in JPEG or WebP is the usual sweet spot where artefacts are hard to see at normal size. Use the Compare slider on a detailed file before saving the whole batch.
Can I compress to an exact file size?
Yes. Enter a target in KB and the tool searches for the highest quality that fits, shrinking the dimensions only if even low quality is too big. You can see every attempt it made.
How do I compress an image on my phone?
Open this page in your phone’s browser, tap “Choose images” and pick photos from your gallery (iPhone HEIC photos are converted automatically). The compression runs on the phone itself, so it works on mobile data without uploading anything; then tap Save or download the zip.
What happens when you compress a photo file?
Lossy formats like JPEG and WebP round away fine detail and colour information your eye is least sensitive to, and lossless formats like PNG find a shorter way to store the exact same pixels. Resizing removes pixels altogether. The result is a smaller file; how visible the change is depends on the quality setting.
Does it remove EXIF and GPS data?
Re-encoded JPEG, WebP and AVIF files are built from pixels only, so camera and location metadata are not carried over. To strip metadata without recompressing, use the Remove EXIF tool.