← Back to Home

🗜️ Compress Image

Lower the quality setting or cap the width to shrink file size, with a live before-and-after comparison

How to compress an image in three steps

The screenshot below was taken in this tool with a real file and the stated settings — it is not a mock-up.

  1. Upload the photoPick the file you want to shrink; its pixel size is shown under the upload box.
  2. Set quality and maximum widthThis run uses quality 60 and a maximum width of 800 px.
  3. Compress and savePress “Compress”, inspect the preview for artefacts, then download the smaller file.
Compressed result: the 1200-pixel test scene reduced to 800 pixels wide.
Captured: Input: specimen-a-1200x800.png (29 KB PNG). Settings: quality 60, max width 800 px. Output: 800 × 533.
📁
Click or drag an image here
PNG · JPG · WebP · GIF · BMP · SVG · AVIF · ICO · HEIC / HEIF

Original

Original

Compressed result

Result
Quality: 75% (lower compresses more)
Images wider than this are scaled down

How to compress an image

  1. Upload: Drop an image in and the page shows its original file size as a baseline.
  2. Set the quality: Drag the slider to set quality. 70–80 suits web images; drop to 60 when size matters more.
  3. Optional — cap the width: Enter a maximum width and wider images are scaled down proportionally — usually the most effective way to cut size.
  4. Compress and compare: The compressed size and saving are shown afterwards; download once the quality looks acceptable.

Tip: All processing happens in your browser: images are never uploaded to a server. Results live only on this page, so download them promptly.

How it works

Image compression comes in two flavours. Lossless compression simply re-describes the same pixels with a smarter encoding, trimming size but only modestly. Lossy compression discards visual information the eye barely notices, in exchange for a far bigger size cut. This tool uses the latter, controlled by the JPEG quality parameter.

The quality value controls how coarse the quantisation table is: the lower it goes, the more crudely colour and detail are quantised and the smaller the file — but blocking artefacts appear, most visibly around high-contrast edges such as text.

Capping the width is actually a more effective way to shrink a file. A 4000 px wide photo reduced to 1600 px has about one sixth as many pixels, and the size usually drops just as sharply — while looking virtually identical at that scale.

Common use cases

Faster web pagesGet images under 100 KB and page load times improve noticeably.
Beat upload size limitsApplication, government and recruitment portals often cap uploads at 200 KB or 500 KB.
Email attachmentsShrink files so mail services do not reject them.
Slim down your phone galleryCompress photos you rarely look at to reclaim storage space.

Specifications

Quality 90–100Almost no visible difference, limited size reduction
Quality 70–85Visually near-lossless with a clear size drop — recommended for everyday use
Quality 50–70Large size drop, detail starts to soften — fine for thumbnails
Below quality 50Very small, but blocking artefacts are obvious — emergency use only
Width capUsually more effective than lowering quality; a long edge of 1200–2000 px is a good target

An already-compressed image has little left to give. When a file "grows instead of shrinking", capping the width is usually the better move.

FAQ about image compression

Why did the file get bigger after compressing?
The original was already heavily compressed (a previously saved JPG, or an image sent through WeChat). Compressing again removes nothing, and re-encoding can even add a little size. Cap the width instead of pushing quality lower.
What quality should I use?
For web images 70–80 usually balances size and appearance. To hit a strict KB target, start at 75 and step down if needed, zooming in to check for blocking around text edges.
Does compression keep transparency?
Output is JPEG, which has no alpha channel, so transparent areas are filled with white or black. To keep transparency, use PNG and reduce size with the Resize tool instead.
Can lost quality be recovered?
No. What lossy compression discards is gone for good — keep your original.

What compression trades away

Compress Image reduces file size by re-quantising and re-encoding pixels. Besides the visible quality change, a re-encode can drop the ICC profile, XMP, comments and embedded thumbnails, and aggressive quantisation can turn an RGBA PNG into a palette PNG whose transparency is limited to one palette entry. If an image has soft transparent edges, check those edges after compressing rather than trusting the size saving. The image is handled entirely in your browser.

Original measured reports using this tool

Compressing, please wait…