Image Compressor

Shrink image file size instantly — adjust quality and scale, no upload needed.

Image Compressor
Drop an image here or click to browse
PNG, JPG, WEBP, GIF, BMP

📐 How to Use

  1. Drag and drop an image onto the drop zone, or click to browse.
  2. Choose an output format — Keep Original, JPG, PNG, or WEBP.
  3. Adjust the quality slider for JPG/WEBP output.
  4. Optionally scale the image down to 75%, 50%, or 25% of its original size.
  5. Check the savings badge to see how much smaller the file is, then click Download.

Frequently Asked Questions

QDoes my image get uploaded to a server?
No. Compression happens entirely in your browser using the Canvas API. Your image never leaves your device.
QWhich format compresses best?
For photos, JPG or WEBP at 75–85 quality usually gives the smallest file with little visible loss. For graphics with transparency, use PNG or WEBP.
QWhy is my PNG output not much smaller?
PNG is lossless, so compression is limited to re-encoding — it won't shrink as dramatically as JPG or WEBP. Scaling down the dimensions helps more for PNG.
QWill resizing affect quality?
Reducing the scale reduces pixel dimensions, which lowers file size but also reduces the image's resolution. Use 100% if you need the original dimensions.

ℹ️ About This Tool

The image is drawn onto an HTML5 Canvas at the selected scale and re-encoded via canvas.toDataURL() at the chosen quality. Estimated output size is computed from the resulting base64 data URL length. All processing is local — no file is ever uploaded.