How to reduce image file size without losing quality

The most effective way to reduce an image's file size is to shrink its pixel dimensions to the size it will actually be shown, then save it as JPG or WebP at a quality of about 70 to 80. Together these two steps usually cut a phone photo from several megabytes to a few hundred kilobytes with no difference you can see on screen. Removing metadata and choosing the right format for graphics saves the rest.

5 min read

The short answer

File size depends on three things: how many pixels the image has, how strongly those pixels are compressed, and which format is used. A 12 megapixel phone photo (4032 x 3024 pixels) saved at high quality is typically 3 to 5 MB. The same photo at 1600 pixels wide and quality 75 is usually 200 to 350 KB and looks identical on a laptop screen.

For a quick result, drop your files into the compressor below and keep Compression on Recommended. If a form or website gives you a limit, choose Target size and type the maximum in KB. Use Compare to check the result against the original before you download.

Try it here: Image Compressor

Open the full tool page

Why images are bigger than they need to be

Cameras and phones save for the worst case: you might print the photo or crop deep into it, so they keep every pixel at high quality. For a web page, an email or a form, most of that data is never seen. A typical blog column is 700 to 900 pixels wide, so a 4000 pixel photo carries more than 20 times the pixels it needs.

Screenshots and graphics have a different problem. They are usually saved as PNG, which is lossless and stores millions of possible colors even when the image uses a few hundred. Reducing the palette makes them much smaller with no visible change.

Finally, photos carry hidden metadata: camera model, date, GPS position and often a small preview image. This is usually 10 to 60 KB per photo, which matters for thumbnails and small icons.

Four ways to shrink an image, in order of impact

  • Resize: halving the width and height leaves a quarter of the pixels, so the file drops to roughly a quarter as well. This is by far the biggest saving.
  • Lower the quality: JPG and WebP quality between 70 and 80 removes detail the eye barely notices. Going from 95 to 75 often halves the file.
  • Change the format: photos belong in JPG or WebP, flat graphics and screenshots in PNG with a reduced palette. A photo saved as PNG can be 5 to 10 times larger than the JPG.
  • Remove metadata: dropping EXIF, XMP and embedded previews saves tens of kilobytes per file.

Settings that work

The compressor on this page has three levels. Low saves JPG and WebP at quality 85 and keeps up to 256 colors in PNG; Recommended uses quality 72 and 128 colors; Strong uses quality 55 and 64 colors. Recommended is right for most photos, Low for images that will be printed or edited again, Strong for thumbnails and email.

Target size works differently: it searches for the highest quality that still fits your limit. If even low quality is not enough, it reduces the pixel dimensions step by step and tells you the new size. It never returns a file larger than the original; when a file is already well compressed it keeps the original. Camera and location data are removed from the compressed files automatically.

UseTypical limit or targetSuggested approach
Government or exam forms20 to 200 KBResize to about 600 to 1000 px wide, then Target size
Job portals, marketplaces1 to 5 MBRecommended level is usually enough
Email attachmentsabout 20 to 25 MB per messageResize to 1600 to 2000 px, Recommended
Blog and article images100 to 200 KB1200 to 1600 px wide, WebP or JPG at 70 to 80
Thumbnails, product gridsunder 30 KB300 to 600 px, Strong
Website hero image200 to 400 KB1920 to 2560 px, WebP at about 75

Choosing the right format

JPG is the universal choice for photos and is accepted everywhere. WebP is typically 25 to 35 percent smaller than JPG at similar quality and supports transparency; every current browser shows it, but some upload forms and older programs still reject it. AVIF is smaller again but has the weakest support outside browsers.

PNG is the right format for logos, icons, screenshots with text and anything with transparent areas. Do not use it for photos unless you need transparency. If a PNG must stay a PNG, palette compression is the way to shrink it; the compressor here keeps transparent and semi transparent areas intact.

Common problems and fixes

  • The image looks blocky or smeared: the quality is too low for the dimensions. Resize to fewer pixels and use a higher quality instead; a smaller sharp image looks better than a large blurry one.
  • The file barely got smaller: it was already compressed, or it is a PNG photo. Convert photos to JPG or WebP first.
  • Banding appears in skies or gradients: raise the quality a little, or use Low for that image.
  • The form still rejects the file: check whether it limits pixel dimensions as well as kilobytes, and whether it accepts WebP. Some forms only take JPG.
  • Text in a screenshot became fuzzy: keep screenshots in PNG instead of JPG; lossy compression smears sharp edges.

Tips for batches and websites

Compress a whole folder at once and use Download all as ZIP. The list shows how much each file shrank and the total you saved. Because everything runs in your browser, there is no upload time and no daily limit.

For websites, never resize an image with HTML or CSS alone. A 4000 pixel photo shown 800 pixels wide still downloads in full. Resize to the displayed width (twice that for sharp results on high density screens), then compress. Keep the uncompressed originals in a separate folder, since every lossy save removes a little more detail.

Step by step

  1. Add your imagesDrop JPG, PNG or WebP files onto the compressor or choose them from your device.
  2. Pick a level or a targetKeep Recommended, or choose Target size and type the maximum file size in KB.
  3. CompareOpen Compare and drag the slider to check the result against the original.
  4. DownloadSave the smaller files one by one or use Download all as ZIP.

Frequently asked questions

How do I reduce the size of a photo to under 100 KB?

Choose Target size and enter 100. The tool lowers the quality until the file fits and, if needed, reduces the dimensions. For best results resize to about 1000 pixels wide first.

Does compressing an image reduce its quality?

JPG and WebP compression removes some detail, but at quality 70 to 80 the difference is very hard to see on screen. PNG palette compression keeps edges sharp and only reduces the number of colors.

Are my images uploaded to a server?

No. Compression happens inside your browser and the files never leave your device. It also works offline once the page has loaded.

What is a good file size for website images?

Aim for under 200 KB for content images, under 400 KB for a full width hero image and under 30 KB for thumbnails.

Why did my PNG get only slightly smaller?

Photos with many colors and fine noise compress poorly as PNG. Convert them to JPG or WebP, which are made for photos.

Can I compress images on my phone?

Yes. The compressor works in mobile browsers on iPhone and Android, and you can pick photos straight from your gallery.