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.
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.