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.

🎯 When to Use This

  • Getting a phone photo under an upload cap, where the badge tells you straight away whether quality 70 at half scale is already enough.
  • Trimming page weight before publishing, by re-encoding a hero JPEG as WEBP and reading the two file sizes directly against each other.
  • Preparing an email attachment where dropping to 50 percent scale saves far more than any quality setting would on its own.

❓ 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

Lossy encoders shrink an image by discarding information: JPEG rounds frequency coefficients, WEBP does much the same with a more modern transform, and the quality number sets how coarse that rounding is. PNG cannot do this at all. Being lossless, the only ways to make a PNG smaller are a better encoder or fewer pixels.

This page redraws the image onto a canvas at 100, 75, 50 or 25 percent of its original dimensions and re-encodes it at the quality you set, which starts at 80. A badge compares the original file size against the encoded result and states how much smaller, or larger, it came out. Keep Original reuses the input type for JPEG, PNG and WEBP files and falls back to JPEG for anything else.

⚠️ Notes & Limits

  • Re-encoding an existing JPEG at a high quality setting can produce a larger file than the original; the badge switches to a warning when that happens.
  • Choosing PNG output barely compresses a photograph, since nothing is discarded. Scaling the dimensions down is the only meaningful saving for PNG.
  • Only four scale steps are offered. Use the Image Resizer when you need an exact pixel width rather than a fraction of the original.
  • Keep Original turns a GIF or BMP into JPEG, because the canvas writes only JPEG, PNG and WEBP, and GIF transparency is flattened to white.