Compress image
Reduce image size while keeping your photos sharp.
Processed in your browser, nothing is uploadedHow to compress an image
- 1 Add your images Choose up to 20 JPG, PNG or WebP files, or drag them into the box.
- 2 Set the compression Adjust the quality, set a maximum width if needed and choose the output format.
- 3 Download The savings are shown for each image. Multiple files come in a ZIP.
Why compress an image
A photo taken with a phone often weighs several megabytes, far more than a website, an online store or a form requires. When you compress image files, the lighter result loads faster, goes through email without getting blocked and takes up less space: a simple way to reduce image size with no visible difference when the quality stays reasonable.
The biggest savings often come from the maximum width: a 4,000-pixel photo reduced to 1,920 still looks great on screen. The WebP format makes the file even lighter and opens in all recent browsers. If an image would get bigger, you simply get the original back.
Which setting for which use
- Sending photos by email. It is often the total of several photos that blocks the message: Gmail accepts 25 MB of attachments per message for a personal account (source), Outlook.com 25 MB (source), iCloud Mail 20 MB per message (source), checked in November 2026. Enter 1920 in "Maximum width in pixels" and keep the suggested quality.
- Uploading a document to a portal. For government sites and online forms, the limit depends on the service: check the upload page. A document of several pages is easier to handle as a single file with JPG to PDF.
- Meeting a required file size. A form that demands less than 100 KB? Enter 100 in "Target size (optional)".
- Publishing on a website. Choose "WebP, smaller" and a maximum width that suits your layout.
Measured results
Measured in November 2026, quality 80 unless stated otherwise.
| Sample file | Setting | Before | After |
|---|---|---|---|
| 12 MP phone photo (4000 x 3000 px) | Quality 80, default | 3.03 MB | 1.24 MB |
| The same photo | WebP, smaller | 3.03 MB | 666 KB |
| The same photo | Maximum width 1920 px | 3.03 MB | 367 KB |
| The same photo | Target size 100 KB | 3.03 MB | 91 KB, scaled to 1669 x 1249 px |
| The same photo | Target size 20 KB | 3.03 MB | 19 KB, scaled to 851 x 635 px |
| Portrait photo (2480 x 4416 px) | Quality 80, default | 3.33 MB | 1.87 MB |
| PNG screenshot (1920 x 1080 px) | Quality 80, default | 117 KB | 98 KB |
| The same screenshot | WebP, smaller | 117 KB | 70 KB |
| The same screenshot | Maximum width 1920 px | 117 KB | 98 KB |
The screenshot gains little: a PNG is saved again without loss, and the "Quality" slider only really affects JPG and WebP. The maximum width changes nothing here: the image is not wider than 1920 px.
What the target size does
With a target size, the quality goes down first, then the resolution if that is not enough. The table shows it: to stay under 20 KB, the photo goes down to 851 x 635 px. That is fine for a thumbnail or a form, too small for a print. If the result looks blurry, raise the target or leave it empty and use the maximum width instead.
Troubleshooting
- The file does not get smaller. In the same format and without a maximum width, if the compressed version is not lighter, you get the original back. This happens with an image that is already optimized.
- The photo details. The compressed version does not keep the EXIF metadata (camera, place where the photo was taken). When the original is returned to you, that data is still in it: to remove it for sure, use Remove EXIF data.
- The image looks soft after compression. Raise the quality a few steps, or keep the original format instead of WebP if the site that receives it does not display WebP.
Privacy
Compress image works entirely in your browser. Your photos never leave your device: nothing is uploaded, no copy is made on our servers.
Frequently asked questions
Are my images safe?
They are processed right in your browser. Nothing is sent to our servers, your photos never leave your device.
Which quality should I choose to compress JPG photos?
The default value works for most photos. Lower it for a lighter file, raise it if you see a difference.
What if my image doesn't get smaller?
If the compressed version is heavier, LordOfThePDF gives you back the original file rather than a worse version.
Should I switch to WebP?
WebP often gives the lightest files and works very well for the web. If you're sending it to someone who uses old software, keep the original format.
Is there a limit?
You can compress up to 20 images at a time, 50 MB max each.
LordOfThePDF stays free thanks to you
Ads and your support fund the site. Support from €1 helps us keep every tool free.