How to Reduce Image File Size for Email, Forms and Websites

Learn what makes an image file big, how quality settings and dimensions affect size, and how to compress a photo to meet a KB or MB limit without ruining it.

Updated September 29, 2026 5 min read

Use the free Image CompressorReduce image file size with adjustable quality

"File must be under 200 KB." "Attachment too large." "Image exceeds the maximum upload size." Modern phone cameras produce photos of several megabytes each, while job portals, exam applications, support ticket systems and email servers often want something far smaller.

This guide explains what actually determines an image's file size, which levers shrink it most, and how to hit a specific target quickly with a browser-based compressor. It also covers when resizing beats compressing, and the mistakes that make photos look worse than they need to.

What makes an image file big

Three things decide the size of an image file:

  1. Pixel dimensions. A 4000 × 3000 photo has 12 million pixels. Halving both dimensions leaves 3 million, a quarter of the data to store.
  2. Format. PNG is lossless and stores photos inefficiently. JPG and WebP are lossy and designed for photos.
  3. Compression level (quality). Lossy formats let you choose how much detail to discard. Lower quality means a smaller file.

Content matters too. A photo full of fine texture, such as foliage, gravel or fabric, compresses less well than a portrait against a plain wall at the same settings.

Quality versus dimensions

The two main levers behave differently:

Lever Effect on size Effect on appearance
Lower quality (e.g. 90% to 70%) Moderate reduction Usually invisible at first, then blocky or smeared edges
Smaller dimensions (e.g. halve width and height) Large reduction, roughly to a quarter Less detail when zoomed in, but sharp at normal viewing size

If an image is much larger than it will ever be displayed, reducing the dimensions is the most effective single step. Quality reduction is the fine-tuning on top.

Compress an image in your browser

The Image Compressor re-encodes your image as a JPG at the quality you choose. Everything happens on your device.

  1. Open the Image Compressor.
  2. Drop a JPG, PNG or WebP image onto the upload box, or click to choose one (up to 10 MB). The original size is shown in KB.
  3. Set the Quality slider. It runs from 10% to 100% in steps of 5 and starts at 80%, which is a good balance for most photos.
  4. Click Compress Image. The panel on the right shows the Compressed size and how much smaller it is than the original.
  5. If the result is still too big, lower the slider and click Compress Image again. If it looks too rough, raise it.
  6. Click Download Compressed to save the file, named with a -compressed.jpg suffix.

Keep two things in mind. The output is always JPG, so any transparent areas in a PNG are filled with white. And the compressor does not change the pixel dimensions, so for large camera photos you will get the best results by resizing first with the Image Resizer, then compressing.

Hitting a specific size limit

Forms often state a limit such as 50 KB, 100 KB or 1 MB. A practical sequence:

  1. Check what the form needs. If it also lists required dimensions (for example, a signature at 140 × 60 pixels), resize to those first.
  2. Resize to a sensible width. For most document uploads, 1000 to 1600 pixels wide is plenty to read clearly.
  3. Compress at 80% and check the size.
  4. Step down by 5 or 10 points until you are under the limit, checking the preview each time.

Remember that 1 MB is 1,024 KB in most operating systems' file dialogs, though some websites use 1,000. If you are right on the limit, leave a small margin. Our KB to MB converter helps if a form mixes units.

For passport and ID photos that must be under a KB limit and at exact millimetre sizes, the Passport Size Photo Maker has a dedicated "compress under a size limit" option.

Other ways to compress images

Windows

Windows has no quality slider in Paint, but you can reduce dimensions with Resize (Ctrl+W) and save as JPEG. The Photos app offers a resize option when saving a copy in recent versions. For quality control, a browser tool or a free editor gives you more options.

Mac

Preview does both: Tools → Adjust Size for dimensions, and File → Export with the JPEG Quality slider, which also shows the resulting file size before you save. It is excellent for single files.

iPhone and Android

When you email a photo from the iPhone Mail app, it may offer to send a smaller version. Many Android galleries have a resize option in the edit or share menus. These are convenient but give limited control over the final size.

Command line

For batches, ImageMagick can resize and compress in one step:

magick input.jpg -resize 1600x1600 -quality 80 output.jpg

1600x1600 fits the image inside that box while keeping its proportions.

Pitfalls to avoid

Compressing the same file repeatedly

Each JPG save discards a little more detail. Always compress from the original rather than from an already-compressed copy.

Compressing screenshots and text

JPG smears sharp text. For screenshots, try cropping to the area you need, or use PNG and reduce the dimensions. A PNG to WebP conversion can also help for web use.

The "compressed" file is bigger

If the original was already a small, efficiently compressed JPG, re-encoding at a higher quality can produce a larger file. In that case lower the quality, reduce the dimensions, or keep the original.

Removing metadata

Photos carry EXIF data such as camera details and sometimes GPS location. Re-encoding through a browser canvas generally drops this, which is useful for privacy. To check or remove metadata explicitly, use the EXIF Viewer or Remove EXIF Data.

Frequently asked questions

What quality setting should I use?

Start at 80%. For most photos the difference from the original is hard to see, and the file is much smaller. Go lower only if you need to meet a limit, and check the result.

Can I compress an image without losing quality?

Lossless options exist for PNG, but the savings are small. Real reductions for photos come from lossy compression or smaller dimensions, both of which remove some detail, ideally detail nobody will notice.

Why is my phone photo so large?

Phone cameras capture many megapixels at high quality so you can crop and print. That is far more than a form, email or web page needs.

Does compressing change the image dimensions?

Not with our compressor: it keeps the width and height and only changes the encoding. Use the Image Resizer to change dimensions.

Will a compressed PNG keep its transparency?

No. The compressor saves JPG, which has no transparency, so transparent areas become white. To keep transparency, use PNG or WebP instead.

Try it now: Image Compressor

Loading tool…