How to Compress Photos Without Losing Quality

By Jairaj J · Updated · 6 min read

A photo from a modern phone is often 3 to 8 MB. That is fine in your gallery, but too big for most email attachments, upload forms and web pages. The good news is that most of that size is invisible detail you can remove without anyone noticing.

This guide explains where the size comes from, which file format to use, and a simple order of steps that gives the smallest file for the quality you need.

Where the size comes from

An image's file size depends on three things: how many pixels it has, how much the format compresses them, and how much fine detail and noise is in the picture.

Pixels matter most. A 12-megapixel phone photo is about 4000 × 3000 pixels. A laptop screen shows roughly 1920 × 1080, and a phone screen even fewer. Halving the width and height leaves a quarter of the pixels, which usually cuts the file to roughly a quarter of the size before any quality is lost on screen.

Detail and noise matter too. A clear blue sky compresses to almost nothing, while grass, gravel and photos taken in dim light (which add grainy noise) need many more bytes.

JPG, PNG or WebP?

FormatBest forWatch out for
JPGPhotos; the format almost every form and website acceptsText and sharp lines get fuzzy edges at low quality
PNGScreenshots, logos, text and images with transparencyPhotos as PNG are often 5–10 times bigger than the same photo as JPG
WebPWebsites; usually smaller than JPG at the same qualitySome upload forms and older programs do not accept it
HEICiPhone camera default, small and high qualityMany websites and Windows apps cannot open it; convert to JPG first

In short, use JPG for photos you share or upload, PNG for screenshots and graphics, and WebP for your own website. Convert with PNG to JPG, WebP to JPG or HEIC to JPG.

The right order: resize first, then compress

  • Crop away what you do not need. Fewer pixels means a smaller file at the same quality.
  • Resize to the size it will be shown at with Resize Image: about 1920 px wide for full-screen viewing, 1200 px for a blog or product photo, and the exact pixel size if a form asks for one.
  • Compress the JPG with Compress Image. A quality of about 75–85% is where most people cannot see a difference on screen, and it is usually much smaller than the camera's original.
  • If you have a hard limit, such as 100 KB, use a size page like Compress Image to 100KB, which lowers the quality only as far as needed to fit.

Doing it the other way round, compressing a huge image hard to reach a small size, gives a blocky, smeared result. A smaller image at good quality nearly always looks better than a big image at very low quality.

What fits in common sizes

Target sizeTypically fits, as a good-quality JPG
20 KBA signature up to about 400 × 150 px, or a small photo around 200 × 230 px
50 KBA passport-style photo up to about 350 × 450 px
100 KBA profile photo or ID scan around 600–800 px square
200 KBA product or website image up to about 1200 px wide
500 KBA detailed photo around 1920 × 1080 px
2 MBA full 12-megapixel phone photo at good quality

Rough guide. Busy, detailed or noisy photos need more space than simple ones.

Signs you compressed too much

  • Blocky squares in smooth areas like sky, walls and skin.
  • Colour banding: smooth gradients turn into visible stripes.
  • Halos or 'ringing' around text and sharp edges.
  • Faces that look waxy or smeared.

If you see these, go back to the original, resize it a little smaller, and compress at a higher quality. Always keep the original photo; compressing an already-compressed JPG again and again adds damage every time.

Private photos stay on your device

Photos often contain faces, documents and locations. All our image tools run inside your browser, so your pictures are not uploaded to a server. It also makes them fast, because nothing has to travel over the internet.

Frequently asked questions

Does compressing a photo remove its location data?

Re-encoding a photo in the browser usually drops most metadata, including GPS location, but do not rely on it for sensitive photos. Check the file's properties before sharing.

Is WebP better than JPG?

For websites, usually yes: WebP files are often noticeably smaller at the same visible quality. For forms, email and printing, JPG is safer because everything supports it.

Why did my PNG get bigger after converting?

PNG is lossless, so screenshots and graphics with flat colours are small as PNG. Converting them to JPG can add noise and size. Keep screenshots as PNG unless a form requires JPG.

Can I compress many photos at once?

Yes. Compress Image accepts several files at a time and lets you download them one by one or together as a ZIP.

Written by Jairaj J. Published . Found a mistake? Tell us and we will fix it.