Image Compressor
Compress, resize, and bulk optimize JPG, PNG, and WebP images — directly in your browser. Lossy & lossless modes. Nothing is uploaded to any server.
Drop your image here
or click to browse
JPG · PNG · WebP · Max 20 MB
Smaller
Sharper
💡
Set Max Width/Height to fit within a box, or Scale % to shrink uniformly. Leave unused fields blank.
—
Original
—
Compressed
—
Space Saved
—
Dimensions
Original
Compressed
Drop multiple images here
or click to select files
JPG · PNG · WebP · Max 20 MB each · Up to 50 files
0 images selected
Smaller
Sharper
Compressing images...
0 / 0
| File | Original | Compressed | Saved | Dimensions | Download |
|---|
How to Use the Image Compressor
- Choose mode: Use Single Image to compress one image, or Bulk Compress to process up to 50 images at once.
- Upload: Drag and drop your image(s) or click to browse. JPG, PNG, and WebP are supported up to 20 MB each.
- Set compression mode: Lossy gives the best file size reduction (ideal for web photos). Lossless exports as PNG with zero quality loss.
- Adjust quality: Use the slider to balance file size vs. sharpness. 70–80% is ideal for most web images.
- Resize (optional): Enable resize and enter a max width/height to fit within a bounding box, or a scale percentage to shrink uniformly.
- Compress & download: Click Compress, preview the result, and download individually or all at once.
Frequently Asked Questions
Lossy compression (JPEG/WebP) permanently removes some image data to achieve smaller file sizes — typically 50–90% smaller. Lossless compression (PNG) reduces file size without removing any data so quality is bit-for-bit identical. For web images use lossy. For screenshots, icons, or graphics with text, use lossless.
No. Everything runs entirely in your browser using the HTML5 Canvas API. Your images never leave your device. This is completely private and works offline after the page loads.
PNG is lossless so quality settings do not reduce its size. To significantly reduce a PNG's file size, switch the output format to WebP or JPEG in lossy mode — this can cut file size by 50–80%. Use PNG output only when you need transparency or pixel-perfect quality.
For most web images, 70–80% produces an excellent balance. For thumbnails or social media, 60–70% is usually fine. For print or archiving, use 90%+. The side-by-side preview lets you compare before downloading.
Enable "Resize image" and set a Max Width or Max Height to constrain the image within a bounding box. Or use Scale % to shrink by a percentage (e.g. 50% = half size). With "Maintain aspect ratio" checked the image is never stretched or distorted.
Up to 50 images at once in Bulk mode. Each file can be up to 20 MB. Files are processed one at a time in your browser and you can download them individually or all at once.