Skip to content
LineOtter

How to reduce an image's file size without ruining it

Why photos are large, which levers shrink them, and the order to apply them for the best-looking result under a size limit.

What makes an image file large

File size depends on three things: the number of pixels, the format, and how aggressively the format compresses. A 4000×3000 phone photo has 12 million pixels; even at modest JPG quality that is often 2–5 MB.

Detail matters too. A photo of grass or gravel compresses far worse than a clear sky, so two images with identical dimensions can differ in size several times over.

The three levers, in order

1. Crop away what you do not need. Removing margins cuts pixels without touching the subject.

2. Lower quality. JPG and WebP at 70–85% quality usually look the same as 100% to most people, at a fraction of the size.

3. Reduce dimensions. If quality has to drop very low to meet a limit, shrinking the image instead keeps it sharper. A 1200-pixel-wide image is plenty for most web forms.

Choosing a format

Use JPG for photos when compatibility matters most. Use WebP when the destination accepts it: it is typically 25–35% smaller at similar quality and supports transparency. Keep PNG for screenshots, logos and graphics with sharp edges.

Hitting an exact limit

Upload forms often state limits like 100 KB. Aim a little under, because some systems count a kilobyte as 1,000 bytes. The target-size compressor on this site handles the trial and error for you and tells you plainly if the limit could not be met.

Mistakes that make images worse

Compressing the same JPG again and again. Each save throws away a little more detail, so always start from the original photo rather than an already compressed copy.

Shrinking a screenshot of text as a photo. Text turns blurry long before the file gets small. Crop to the part that matters, or keep screenshots as PNG and reduce their dimensions instead.

Ignoring the required dimensions. If a form asks for 600×600 pixels and under 100 KB, resize first and compress second. Doing it the other way round re-encodes the image and changes the size again.

Checking the result

Compare the before and after side by side at the size people will actually see it. Faces, fine text and smooth gradients such as skies show compression damage first. If they look fine, the rest of the image will too.

Tools for this