About the Image Compressor
The Image Compressor makes photos and graphics smaller so that they upload faster, fit within e-mail attachment limits and load quicker on websites. It re-encodes each image as JPG or WebP at the quality you choose and can also scale down pictures that are larger than you need – for big camera photos that is often the largest saving of all.
You can add up to 20 images at once. Each file shows its original and new size, the percentage saved and its dimensions, and you can compare the original and the compressed version side by side before downloading the files one by one or as a ZIP archive.
Compression uses the image encoder built into your browser. The images are decoded, redrawn and saved on your own device and are never uploaded to a server.
How to use it
- Choose the output format: JPG for the widest compatibility, or WebP for smaller files.
- Set the Quality slider. 80 is the default; lower values make smaller files with more visible artifacts.
- Optionally tick "Limit longest side" and enter a size such as 1920 to scale large photos down.
- Click "Choose images", drag files onto the box or paste an image with Ctrl+V / Cmd+V. Compression starts immediately.
- Check the new size of each file and click Preview to compare the original and the compressed image.
- Click Download next to a file, or "Download all (ZIP)". After changing a setting, click "Apply new settings to all images".
Features
- Batch compression: Up to 20 images per batch and 50 MB per file. Images are processed one after another to keep memory use low, and you can stop and continue at any time.
- JPG or WebP with a quality slider: One quality setting from 1 to 100 applies to all images. WebP is only offered when your browser is able to create WebP files.
- Optional downscaling: Limit the longest side to a number of pixels. Large reductions are done in several halving steps with high-quality smoothing, and smaller images are never enlarged.
- Honest results: Original size, new size, percentage saved and dimensions are shown for every file. If a compressed file turns out larger than the original, the tool says so clearly.
- Before and after preview: View the original and the compressed version side by side to check the quality before you download.
- Private by design: Your images are processed in the browser and never leave your device.
Examples
Sending holiday photos by e-mail
Ten phone photos of 4032 × 3024 pixels and around 3 MB each are too big for one message. With JPG, quality 75 and "Limit longest side" set to 2048, each photo is scaled to 2048 × 1536 and typically ends up at a few hundred kilobytes.
Lighter images for a website
Compress a set of banner images to WebP at quality 80 with a 1920 px limit. WebP files are usually smaller than JPG at a similar visual quality, which shortens page load times. The per-file list shows exactly how much each image saved.
Checking a PNG screenshot
A PNG screenshot is re-encoded as JPG or WebP. For screenshots that mostly show photos this saves a lot of space. For text and thin lines, open the preview: if the text looks blurry or the new file is larger, keep the original PNG.
Limitations and notes
- Lossless PNG optimisation is not possible with the browser's built-in encoder. PNG files are converted to JPG or WebP, which are lossy formats; screenshots, logos and line art may be better left as PNG.
- Re-encoding removes EXIF metadata such as camera model, capture date and GPS location, and embedded colour profiles may be converted to sRGB. The photo orientation is applied to the pixels, so pictures stay upright.
- JPG has no transparency: transparent areas are filled with the background colour you choose (white by default). WebP keeps transparency.
- Animated GIF, PNG and WebP files keep only their first frame. AVIF files can only be compressed in browsers that can decode AVIF.
- Some browsers, notably Safari, cannot create WebP files. The WebP option is then disabled and JPG is used.
- Images larger than 50 megapixels or 16,384 pixels per side can only be compressed with "Limit longest side" turned on, and images above 100 megapixels are rejected. Phones and tablets may run out of memory earlier.
Frequently asked questions
How much smaller will my images get?
It depends on the image and the settings. Photos straight from a phone or camera usually shrink considerably at quality 70–80, and even more when you also limit the longest side. Images that were already compressed strongly may barely change. The tool shows the exact result for every file, so you can try different settings.
Why is the compressed file larger than the original?
The original was probably already compressed efficiently, or it is a PNG with few colours, such as a logo or a screenshot of text. Re-encoding cannot do better than the original encoder in that case. Lower the quality, try WebP, or simply keep the original file.
Which quality setting should I use?
For photos, 70–85 is a good balance between size and quality, and most people cannot see a difference at 80 or above when viewing the whole picture. Below about 60, blocky artifacts and colour banding become visible. Use the before and after preview to judge your own images.
Should I choose JPG or WebP?
WebP usually produces smaller files at the same visual quality and supports transparency, and all current browsers can display it. Choose JPG when the image must work in older software, some e-mail programs or print services that do not accept WebP.
Does compressing a photo remove its location data?
Yes. The new file is created from the pixels only, so EXIF metadata such as GPS coordinates, camera details and the capture date is not copied. This also makes compression a simple way to strip location data before sharing a photo.
Are my images uploaded to a server?
No. The images are read, compressed and saved by your browser on your device. You can even disconnect from the internet after the page has loaded and the tool keeps working.