How to compress an image
- Pick an output format. JPG suits photos, WebP gives the smallest files for websites, and PNG keeps graphics and screenshots pixel-perfect.
- Either set a quality level, or choose a target size such as “Under 100 KB” and let the tool find the best quality that fits.
- Optionally cap the width. A phone photo is often 4000 pixels wide; most screens never show more than 1920.
- Drop your images in and download the compressed copies. Your originals are never changed.
Is this compressor private?
Yes. The compression runs inside your browser, using the same image engine that displays pictures on the web. Your files are not sent to our servers. So there is nothing for us to keep. Re-encoding also removes hidden metadata such as the GPS location many phones embed in photos, which is worth doing before you post a picture publicly.
Which settings should I use?
If a site states a limit, set a target size instead of a quality. Limits are written in KB, not in percent, and the tool does the trial and error for you. Otherwise, width matters more than quality. Cutting a 4000 px phone photo to 1920 px removes more than three-quarters of its pixels, and you won’t see the difference on a screen.
| Where the image is going | Typical limit | Suggested settings |
|---|---|---|
| Online forms and job portals | Often 100–200 KB | Target “Under 100 KB” or “Under 200 KB”, JPG |
| Email attachments | Keep each photo under ~1 MB | Max width 1920 px, quality 75% |
| Website and blog images | As small as possible | WebP, max width 1280–1920 px, quality 70–80% |
| Profile pictures and avatars | Usually small squares | Max width 600 px, quality 80% |
| Forums and marketplaces | Varies, often 2–5 MB caps | Max width 1920 px, JPG 80% |
Should I use JPG, WebP or PNG?
Use JPG for photos you’ll send or upload somewhere you don’t control. Every device and website accepts it, and a quality between 70% and 85% usually looks the same as the original at a fraction of the size. Use WebP for your own website. It’s usually smaller, but not always. When we ran four sample photos through our upload pipeline at 1920 px, WebP came out 18% to 35% smaller than JPG for three of them and 51% bigger for a close-up portrait, so check the result instead of assuming. Use PNG for logos, diagrams and screenshots with sharp text, because it’s lossless. Photos saved as PNG get very large. For a detailed comparison of what each format supports, see MDN’s image file type and format guide.
Why didn’t my file get smaller?
Some images are already well compressed. Saving a heavily optimised JPG again at high quality can even make it slightly larger, because the encoder spends bytes faithfully copying the old compression blocks. Lower the quality, switch to WebP, or reduce the width. And don’t convert a photo to PNG to save space. It almost always gets bigger.
To see how much data a picture holds before compression, try the image size calculator. The photo storage calculator shows how many compressed photos fit on a phone, card or drive.
Need a specific size in KB?
If a form states a limit, open the page for that size. The target and a suitable width are already set, and each page shows what our test images came out at:
- Compress an image to 20 KB: signatures and small ID photos
- Compress an image to 50 KB: face photos for applications
- Compress an image to 100 KB: job portals and listings
- Compress an image to 200 KB: email and documents
- Any other size in KB, from 10 KB to 1 MB
Compress and share in one step
If you need a link rather than a file, upload the image to PictureToLink. Uploads are compressed automatically and stripped of location data. You get a direct link straight away, with HTML and BBCode versions beside it.
