Image Size Compressor

Shrink JPG, PNG, and WEBP files and choose the quality setting yourself. How much smaller a file gets depends on the image and the setting you pick.

Image Compressor

Reduce image file size efficiently

Compression Settings

Target file size limit

Resize if larger than this

Low0.8High

Upload Image

JPG, PNG, WEBP, BMP

Speed Up Without Server Hassles

Traditional tools make you upload files and wait. This tool compresses images with your browser's built-in image APIs, so the file stays on your device.

Smaller Files

Large photos can often be reduced from several megabytes to a few hundred kilobytes by lowering the quality setting slightly or limiting the width and height. Compare the result with the original before you use it.

Multi-Format Compatible

Works with JPG, PNG, WEBP and BMP files, so you can shrink large PNGs or high-resolution JPGs before putting them on a web page.

Adjustable Quality Sliders

You decide the trade-off. Slide towards quality when detail matters, or towards a smaller file when you need to fit an upload limit.

Critical For Performance Optimization

📈

Core Web Vitals (SEO)

Oversized images are a common cause of slow 'Largest Contentful Paint' (LCP) times. Smaller images load faster, and page speed is one of many signals search engines consider.

📱

Lower Bandwidth Usage

Smaller image files use less bandwidth, which lowers CDN transfer costs and helps pages load faster for visitors on slow mobile connections.

4.2 MB→340 KB

-92% Bandwidth Saved

Frequently Asked Questions

Is this compression lossless or lossy?

Lossy — it selectively discards visual detail the eye barely notices to dramatically shrink file size. At a high quality setting (around 85%), most photos are visually indistinguishable from the original at a fraction of the size.

Why use WebP instead of JPG or PNG?

WebP typically produces 25–35% smaller files than JPG at the same visual quality, and unlike JPG it also supports transparency (like PNG). For images going on a website viewed in modern browsers, WebP is almost always the best choice.

Are my images uploaded to a server?

No. Compression runs entirely in your browser using the Canvas API — your photos never leave your device, which matters when compressing personal photos or documents.

What quality setting should I use?

For web images, 75–85% is the sweet spot — big size savings with no visible degradation. Go lower (50–70%) for thumbnails where fine detail doesn't matter, and stay above 90% only if the image will be examined closely or printed.

Why did my PNG get bigger after compression?

PNG is already losslessly compressed, and screenshots or graphics with few colors are its ideal case. Re-encoding those as JPG or low-quality WebP can sometimes produce a larger or worse-looking file — for flat-color graphics, keep PNG; for photos, convert to WebP or JPG.

About This Tool

Most images destined for the web are several times larger than they need to be. Compression works by discarding detail your eye is poor at noticing, and the useful range is wider than people expect — a photograph at 80% quality is often visually indistinguishable from the original at a fraction of the size.

Compression runs on your device through the browser's canvas encoder, so the photo is never uploaded. Bear in mind the process is lossy and not reversible: keep your original if you may need to edit it later. For details on analytics and third-party ad requests, see our Privacy Policy.