Image Compressor
Reduce JPG, PNG and WebP file size right in your browser. See before and after sizes and download a ZIP.
JPG, PNG, WebP and more. Up to 30 images, 25 MB each. They never leave your browser.
Settings
Lower is smaller but looks worse. 70 to 80 suits most photos. PNG ignores this.
PNG is lossless and often cannot shrink much. WebP is lossy and usually much smaller, and it keeps transparency.
Compressing re-encodes each image, which removes metadata such as EXIF camera details and GPS location. Orientation is kept.
About this tool
The Image Compressor makes JPG, PNG and WebP files smaller so they upload faster, load quicker on web pages and fit into email or form size limits. You can set a quality level yourself, or give a target such as 100 KB and let the tool search for the highest quality that fits.
Everything happens in your browser. Your images are decoded and re-encoded on your own device and are never uploaded. Because the file is re-encoded, metadata such as camera details and GPS location is not carried over. If the result is not smaller than the original, the tool tells you and offers the original instead of giving you a bigger file.
How to use it
- Drag images into the box or choose them from your device. You can add up to 30 images of up to 25 MB each.
- Pick a mode: Quality lets you set JPG/WebP quality with a slider, and Target size tries to land under a size you enter, such as 100 KB.
- Choose the output format (keep the original, or switch to JPG or WebP) and, if you like, a maximum width or height.
- Select Compress and wait for each image to finish. Each result shows a preview, the before and after size, and the percentage saved.
- Download images one by one, or use Download all as ZIP when you have two or more.
Frequently asked questions
- Are my images uploaded anywhere?
- No. Compression runs in your browser using your device's own image decoder and encoder. The files never leave your device, and nothing is stored.
- What is the difference between lossy and lossless compression?
- Lossy formats (JPG and WebP) make files smaller by discarding detail the eye is less likely to notice, and lower quality discards more. Lossless formats (PNG) keep every pixel exactly, so there is no quality setting and savings are usually smaller.
- Why did my PNG not get smaller?
- A browser cannot squeeze a PNG much beyond what it already is, because PNG is lossless. If the result would be larger, the tool offers your original file. For photos and screenshots without transparency, converting to WebP or JPG usually gives a much smaller file, but those formats are lossy. Converting a PNG with transparent areas to JPG fills them with white.
- How do I get an image under 100 KB?
- Use Target size mode and enter 100 KB. The tool tries different quality levels, up to eight attempts, and keeps the best one that fits. If even the lowest quality is too big, tick Allow reducing dimensions so it can shrink the pixel size as a last step, or set a smaller maximum width. The tool says plainly when a target could not be reached.
- What quality value should I use?
- For photos, 70 to 80 is a common balance between size and appearance, and most people see little difference from the original. Going below about 50 often shows blocky artefacts, especially around text and sharp edges. Try a value, look at the preview, and adjust.
- Is metadata like EXIF and GPS location removed?
- Yes. Re-encoding through the browser drops EXIF data such as camera model, date and GPS location, which can also help privacy. The photo is still shown the right way up, because its orientation is applied before saving. If you need the metadata, keep the original file.