Image Compressor

Shrink a JPG, PNG or WebP with a quality slider and see the before/after size and saving instantly - all local, nothing uploaded.

Click to choose an image or drop it here

JPG, PNG, WebP, GIF or BMP - compressed locally on your device

Smaller images, faster pages

Oversized images are the most common reason a web page feels slow. A single 5 MB photo straight off a phone can take seconds to appear on a mobile connection. This compressor re-encodes your image as JPEG or WebP at a quality you control, and shows the original size, the new size and the percentage saved so you can find the sweet spot between file weight and how it looks. Everything runs on an HTML canvas in your browser, so nothing is uploaded.

How to choose a quality level

Quality is a trade-off. Above 90 the file stays fairly large and the gains are small. Around 80 is the classic web default - visually almost identical to the original for most photos. Below 60 you start to see blocky artefacts in skies and smooth gradients. Watch the two previews side by side and drag the slider down until you notice a difference, then nudge it back up a little.

Resize while you compress

Setting a max dimension caps the longest side of the image before encoding. Combining a resize with compression is the single most effective way to cut file size: a 4000px photo shrunk to 1600px and saved at quality 80 can go from several megabytes to well under 200 KB. If you only need to change dimensions, the image resizer gives you finer pixel control. To switch formats without touching quality, try the image converter, and to inline a small compressed image in CSS, the image to Base64 tool.

Frequently asked questions

How much smaller will my image get?
It depends on the original. A detailed photo saved as high-quality JPEG might shrink 40 to 70% at quality 80, while a screenshot with flat colours can drop by 90% or more. The before/after readout shows the exact saving for your file.
Does compressing an image reduce quality?
JPEG and WebP are lossy, so lowering the quality slider does discard some detail - but between roughly 75 and 90 the loss is nearly invisible while the file gets much smaller. Compare the two previews side by side and pick the lowest quality that still looks clean.
What is the difference between JPEG and WebP output?
WebP typically produces a file 25 to 35% smaller than JPEG at the same visual quality, and it supports transparency. Every current browser reads WebP. Choose JPEG only if you need maximum compatibility with very old software.
Can I compress a PNG without turning it into a JPEG?
This tool re-encodes to JPEG or WebP, which is where the big savings come from for photos. For a PNG that must stay a PNG, resize it smaller with the image resizer instead, since fewer pixels is the main lever for lossless formats.
Are my images sent anywhere?
No. Compression runs entirely in your browser on an HTML canvas. Your photos never leave your device, so it is safe for private or client images.