Image Compressor

An image compressor that re-encodes any photo as a JPEG at the quality you choose. Drag the slider, watch the compressed size and percentage saved update, and download the smaller file.

Updated
Loading tool…

Shrink image file size.

How to use Image Compressor

  1. Upload a JPEG or PNG photo
  2. Drag the quality slider and watch the file size drop
  3. Compare original size, compressed size, and percentage saved
  4. Download the smaller JPEG with one click
Want the how & why?Read: How to Compress Images for the Web (Faster Pages, Same Look) →
Try next →Image ResizerResize to any dimensions.

About Image Compressor

Image Compressor shrinks a photo's file size by re-encoding it as a JPEG at a quality you pick. Your image is decoded, drawn onto a hidden canvas at its full pixel dimensions, and re-encoded, so this online image compressor behaves like desktop software but with nothing to install and no freeware to download. A quality slider runs from 10% to 100% in 5% steps, starting at 70%, and every move instantly re-encodes and shows the original size, the compressed size and the percentage saved.

Because that compressed number updates on each step, you can compress toward a target size: nudge the slider until the file drops under an upload limit, an email cap, or whatever KB you need, then download. That is how a 4.8 MB phone photo lands around 600 to 900 KB at 70% with no visible change. Input can be JPEG, PNG, WebP, GIF or BMP; the output is always JPEG, which is why it works so well on photographs. The download is named after your file with -compressed.jpg, and the pixel width and height are never touched.

Two things to know. Unlike server tools such as TinyPNG, ShortPixel or Adobe Express, this runs entirely in your browser, so it flattens transparency to white and can make a flat-colour PNG screenshot larger, and the panel flags Larger when that happens. It also strips EXIF metadata, including GPS location. Your photo is never uploaded; it is compressed in memory and handed straight back.

Frequently asked questions

Is this a JPEG image compressor?
Yes. Whatever you feed it, the output is always a JPEG, which is the format that squeezes photographs down the most. If you drop in a JPEG it simply re-encodes it at your chosen quality; a PNG, WebP, GIF or BMP is converted to JPEG on the way out.
Can I compress an image to a specific file size, like 100 KB or 20 KB?
There is no target-size box, but the compressed size in KB updates live as you move the slider. Drag it down until the number falls under the size you need, watch the preview to make sure it still looks right, then download. It takes a few seconds to dial in an exact target.
Is it free, and do I have to install any software or freeware?
It is completely free with nothing to install. There is no program, app or freeware to download; it runs inside your browser tab like any web page and works the same on Windows, Mac, phone or tablet.
How does this compare to TinyPNG, ShortPixel or Adobe Express?
The result is similar, a smaller image file, but those tools upload your picture to their servers to compress it. This one does everything locally in your browser, so nothing leaves your device. The trade-off is that server tools can keep PNG transparency and sometimes squeeze flat graphics a little further.
How much smaller will my image get?
For camera photos, expect 70 to 90% smaller at the default 70% quality. For images that are already small JPEGs the saving is much lower, and the panel shows the exact percentage for your file.
What is the best quality setting?
70% is a good default for web and email. Go to 80 to 85% for portfolio or print previews, and down to 50 to 60% for thumbnails. Below 40% blocking becomes obvious in skies and skin tones.
Does compressing reduce the dimensions?
No. The width and height in pixels are unchanged; only the JPEG quality drops. Use the Image Resizer first if you also want a smaller picture.
Can I compress a PNG?
Yes, but the output is a JPEG. That is a large saving for photographic PNGs, but for screenshots and graphics with flat colours it can produce a larger file with blurry text, and transparency is filled with white.
Why is the compressed file larger than the original?
The original was already tightly compressed, or it is a flat-colour PNG that JPEG handles badly. The panel switches from Saved to Larger when this happens; try a lower quality or keep the original.
Does it keep EXIF data like location and camera settings?
No. Encoding through a canvas strips all metadata, including GPS coordinates, which is often what you want before posting a photo publicly. The photo is rotated correctly first, so it does not come out sideways.
Can I compress multiple images at once?
No. It works on one image at a time. Choose the next file after downloading; the slider stays where you left it.
Is there a file-size limit?
No limit is set. The image must fit in browser memory as a decoded bitmap, so very large files such as 100-megapixel scans may fail on a phone but work on a desktop.
Will the compressed photo be good enough to print?
At 80% or higher, yes for typical print sizes, since pixel dimensions are untouched. For large prints keep the original and compress only the copy you share online.
Is my photo uploaded to be compressed?
No. The image is decoded, redrawn and re-encoded by your browser, and the compressed JPEG is handed back from memory as a download.