Compress Image

Shrink JPG, PNG & WebP file sizes — right in your browser, nothing uploaded.

Drop images here or click to choose

100% private — nothing is uploaded. Batch supported.

Large image files slow down websites, fill up phone storage, and get rejected by upload forms that cap the file size. Our free image compressor shrinks JPG, PNG and WebP photos to a fraction of their original size while keeping them sharp enough for the web, email, exam forms and social media.

Everything happens locally in your browser using the Canvas API, so even a folder full of high-resolution photos compresses in seconds without ever being uploaded. Drop one image or a whole batch, tune the quality, and download the results individually or as a single ZIP.

How to compress an image
1

Add your images

Drag and drop your JPG, PNG or WebP files onto the box above, or click to browse. You can add many at once.

2

Set quality & size

Drag the quality slider down to shrink the file. Optionally set a max width to scale large photos, and pick an output format.

3

Watch the live size

The new file size and percentage saved update instantly for every image, so you can stop exactly where you want.

4

Download

Save each image with one click, or grab the whole batch as a ZIP. Nothing is ever uploaded to a server.

Why use this image compressor
🔒

Photos stay private

Compression runs entirely on your device. Your images are never uploaded, so even sensitive documents stay safe.

📦

Batch + ZIP

Compress dozens of images in one pass and download them together as a single ZIP file.

🎚️

You control quality

A live size preview lets you balance quality against file size to hit a target like 100 KB or 1 MB.

When you need to compress an image

Image compression is one of those small tasks that shows up everywhere. A photographer emailing a gallery, a student uploading a form photo, a shop owner adding product pictures to a website — all of them hit the same wall: the original file is simply too big. A modern phone camera easily produces 4–12 MB photos, and that size is wasteful for anything that will be viewed on a screen.

Common reasons people compress images include:

JPG, PNG or WebP — which should you compress to?

The format you choose has a bigger effect on file size than the quality slider alone. JPG is the classic choice for photographs: it uses lossy compression that throws away detail the eye barely notices, which makes photos very small. PNG is lossless and keeps every pixel exactly, which is perfect for logos, screenshots and graphics with sharp edges or transparency — but it produces large files for photos.

WebP is the modern middle ground. At the same visual quality it is typically 25–35% smaller than JPG, and it supports transparency like PNG. Every current browser can display WebP, so it is an excellent default for images you host on your own website. If you need maximum compatibility with old software or a form that only accepts JPEG, stick with JPG.

How image compression actually works

There are two levers that decide the final file size. The first is quality: lossy formats like JPG and WebP let you trade a little visual detail for a much smaller file. At around 70–80% quality the loss is invisible on a normal screen, while dropping toward 40% starts to show soft edges and blocky patches — useful only when you need a tiny file.

The second lever is dimensions. A 4000-pixel-wide photo contains sixteen times as many pixels as a 1000-pixel version, so setting a sensible max width is often the fastest way to reach a small target. If an image will be displayed at 800 pixels, there is no reason to store it at 4000. Combine a modest quality drop with a max width and you can usually hit any target — even a strict 20 KB — while keeping the picture perfectly usable.

Tips for hitting a target file size

When a form demands a specific limit, work with both sliders together and watch the live size readout:

Frequently asked questions
How much can I reduce my image size?

It depends on the photo, but 50–80% smaller is common for JPG photos with no visible loss. Switching to WebP or lowering the quality slider can shrink files even further.

Will compressing reduce the image quality?

Some detail is traded for size, but at a quality of around 70–80% the difference is hard to see on screen. You decide the trade-off using the live preview.

Can I compress PNG images?

Yes. PNG is kept lossless, but converting a photo-style PNG to JPG or WebP usually gives a much smaller file. The tool lets you pick the output format.

How do I compress an image to an exact KB size?

Keep the format on JPG and lower the quality slider while watching the live size readout. For strict limits, also reduce the max width — smaller dimensions reach tiny sizes fastest.

Is there a file size or number limit?

No. There are no limits and no sign-up. Because the work happens in your browser, the only limit is your device’s memory for very large batches.

Does compressing change the original file?

No. The tool creates a new, smaller copy for you to download. The original photo on your device is never modified or overwritten.

Are my images uploaded to a server?

No. Every image is processed locally in your browser using the Canvas API and never leaves your device.

More free image tools
📐

Resize Image

Change width & height in pixels

✂️

Crop Image

Cut to a size or aspect ratio

🔄

Convert Image

JPG, PNG & WebP converter

🔁

Rotate & Flip

Turn or mirror your image

📄

Image to PDF

Combine images into one PDF

💧

Add Watermark

Add a text watermark

🎨

Color Palette

Extract colors from an image

🔤

Image to Base64

Get a data-URI / CSS snippet