Hands steadying a long white telephoto lens mounted on a tripod against a blue sky
25 Nov 2026

How to Reduce Image File Size Without Losing Quality

Cut the pixels first, down to the size the image will actually be shown or the size the form asks for. A file’s weight is its pixel count multiplied by the bytes each pixel costs, and a phone photograph carries far more pixels than any upload form needs, so this step removes the most weight at no visible cost. Then make sure the format suits the picture: JPG or WebP for photographs, PNG for screenshots and logos. Lower the quality setting last. Stop when the file fits.

The blur and the wrong shape that send people looking for this come from pulling one of those levers the wrong way. Blur means the picture was enlarged, squeezed to a quality setting far below what it needed, or resized by the upload form itself. The wrong shape means it was stretched into a box when it should have been cropped.

“Without losing quality” is true in one sense only. Reducing pixels and lowering JPG quality both discard data for good. What you can do is discard data nobody will see at the size the image is displayed, which is what the steps below aim at.

Read the Limit Before You Touch the Image

Upload forms set three different kinds of limit, and each one points at a different fix.

What the form saysWhat it is limitingThe lever to pull
“Maximum 500 KB”BytesPixels first, then quality
“600 × 600 pixels”Dimensions and shapeCrop and resize to exactly that
“JPG or PNG only”FormatConvert, and pick the right one of the two

Many forms set two at once, a format and a byte ceiling being the common pair. Deal with dimensions first whenever they are stated, because they decide how many pixels you are paying for. A byte limit with no dimensions stated still leaves you free to choose them, and choosing them well is the whole trick.

Bits Per Pixel: Why the Slider Alone Cannot Get You There

Take a 12-megapixel phone photograph, 4,032 by 3,024 pixels: 12,192,768 of them. Stored raw, at three bytes a pixel for red, green and blue, it would be 36,578,304 bytes, about 36.6 MB. Suppose the camera has saved it as a 3,400,000-byte JPG. That JPG spends about 2.23 bits on each pixel, roughly a tenth of the raw 24.

Now the form says 500 KB. If you keep every pixel, the budget is 500,000 bytes over 12.2 million pixels, or 0.33 bits each, less than a sixth of what the camera thought the picture needed. The quality slider can get there. It does it by throwing away fine detail and colour until the photograph looks smeared and blocky, which is exactly the damage people are trying to avoid.

Cut the pixels instead and each pixel keeps its budget. The table shows the same photograph at smaller widths, with the height kept in proportion.

Size in pixelsShare of the original pixelsBits per pixel at 500 KBBits per pixel at 200 KB
4,032 × 3,024100%0.330.13
3,200 × 2,40063.0%0.520.21
2,400 × 1,80035.4%0.930.37
2,000 × 1,50024.6%1.330.53
1,600 × 1,20015.7%2.080.83
1,200 × 9008.9%3.701.48
1,000 × 7506.2%5.332.13

Somewhere between 1,600 and 1,200 pixels wide, the 500 KB budget matches the 2.23 bits the camera chose. At that point the limit asks nothing of the quality setting at all.

There is a quick way to find the width. Divide the limit by the current size, take the square root, and multiply each side by the result. Here that is the square root of 500,000 over 3,400,000, which is 0.3835, and it gives 1,546 by 1,160. The square root is there because shrinking the width also shrinks the height, so the pixel count falls with the square of the scale.

Treat that as a starting point. A smaller version of a picture packs more detail into each pixel than the original did, so the file comes out a little larger than the pixel count alone predicts. Go a step under the figure, save, and look at what you got. The image resizer names each output file with its new dimensions and shows the size it came out at, so one or two tries settles it.

When the Form Wants a Shape the Photo Is Not

A profile or ID upload that asks for 600 by 600 is asking for a square. A phone photograph is 4:3. There are three ways to force one into the other, and only one of them looks right.

  • Fill and crop. Scale until the shorter side fills the box, then cut off what overflows. Here the scale is 600 over 3,024, and a 3,024-pixel square is taken from the middle. That trims 504 pixels from each side, a quarter of the width in all, and what remains is undistorted.
  • Fit inside. Scale until the longer side fits. The whole picture survives, but it comes out 600 by 450, and a form that checks for exactly 600 by 600 will still reject it.
  • Force exact. Stretch both sides to 600. The picture is squeezed sideways to three quarters of its width, so faces turn narrow and circles become upright ovals. This is the “wrong shape” result, and no quality setting fixes it.

The resizer offers all three, and defaults to fit inside. For an exact box, pick fill and crop. If the crop would cut off something you need, such as the top of a head, crop by hand first so the subject sits in the middle, then resize.

Matching the requested size exactly has a second benefit. Some sites accept a large file and shrink it on their own servers, and they do not always do it well. A picture that arrives at the size they display has nothing left for them to soften.

Where the Blur Comes From

Downsizing a photograph by a sensible amount does not blur it. A 4,032-pixel image shown 1,200 pixels wide is already being shrunk by the screen, and doing that shrink in advance changes how much you download, not what you see. When a resized picture looks soft, one of four things has happened.

It was made bigger. Enlarging has to invent pixels. A 400-pixel image scaled to 1,600 covers sixteen times the area with the same information, so it comes out bigger and softer, never sharper. The resizer refuses to enlarge by default for exactly this reason.

It was made too small for the screen. Phones and many laptops draw two or three physical pixels for every pixel a web page asks for. An image resized to exactly its display width looks fine on an old monitor and slightly soft on a phone. For your own website, aim for about twice the width it is shown at. For a form that names a size, use the size it names.

The quality was pushed too far. This is the smearing you get when the pixel count stayed high and the slider did all the work, the 0.33-bits-a-pixel case from the table.

It has been saved too many times. Each JPG save treats the previous save’s artefacts as real detail and compresses them again. Resize from the untouched original every time, never from a copy you have already shrunk and sent.

A laptop, a vintage film camera and a pen resting on a dark notebook

The Format Can Matter More Than the Slider

Two mistakes account for most files that stay large however much they are compressed.

The first is a photograph saved as PNG. PNG never throws data away, and it saves space by finding exact repetition. A photograph has almost none: every patch of sky is a slightly different blue. So the PNG barely shrinks. The image converter will turn it into a JPG or WebP, and on a photograph that one change can take the file to a fraction of its size with no visible loss.

The second runs the other way: a screenshot, chart or logo saved as JPG. JPG is built for gradual colour and fails on hard edges, so text grows a faint grey fringe and flat areas pick up noise. Those belong in PNG. If the form only takes JPG, keep the quality high, since that fringe is permanent once it is saved.

Two format traps catch people at the upload stage. iPhone photos are saved as HEIC by default, which many forms refuse outright; converting to JPG fixes that and decodes in the browser here. And JPG has no transparency, so a logo with a see-through background gets one filled in. The tools on this site fill it with white. On a coloured page that shows up as a white box around the logo.

WebP is smaller than JPG for the same look, but plenty of upload forms still do not accept it. Use it for your own website and check the form’s list before using it anywhere else.

The KB on the Form and the KB on Your Screen

A kilobyte can mean 1,000 bytes or 1,024. Forms rarely say which. Windows and the tools on this site divide by 1,024 when they show you a size, while macOS Finder divides by 1,000. A file that looks safe in one place can be over the line in the other.

The tools here would show a 200,704-byte file as 196.0 KB. Against a 200 KB limit meant as 200,000 bytes, that file is 704 bytes over and gets rejected, although the number on screen is lower than 200.

Limit on the formIf it means 1,000sIf it means 1,024sStay under this on our tools
100 KB100,000 bytes102,400 bytes97.7 KB
200 KB200,000 bytes204,800 bytes195.3 KB
500 KB500,000 bytes512,000 bytes488.3 KB
1 MB1,000,000 bytes1,048,576 bytes976.6 KB
2 MB2,000,000 bytes2,097,152 bytes1.91 MB
5 MB5,000,000 bytes5,242,880 bytes4.77 MB

The last column is the stricter reading, converted into the units our tools display. Land under it and the file passes whichever way the form counts.

Quality Last, and Only as Far as It Pays

When the dimensions are already right, or the form wants the photo at full size, the image compressor closes whatever gap is left. It starts at 80% and goes down to 30% in steps of five, and every image keeps its own format. If you are resizing anyway, set the quality in the resizer in the same pass, so the picture is only compressed once.

For JPG, WebP and AVIF the slider sets the encoder’s quality directly. For PNG it does something different, because a browser cannot be told how hard to squeeze a PNG: it cuts the number of colours. At 80% the image is reduced to 205 colours, at 50% to 128, and it never goes below 16. You will not see the difference on a logo with five colours and obvious on a photograph, which is one more reason a photograph does not belong in PNG.

If a row comes back saying the original is already smaller than anything it could make, the file was well compressed to begin with and the slider has nothing left to give. Go back to the resizer.

One Upload, Start to Finish

A portal wants a JPG under 200 KB, at least 600 pixels wide, no shape stated. You have the 4,032 by 3,024 photograph from earlier, saved at 3,400,000 bytes.

  1. Pick the width. The square root of 200,000 over 3,400,000 is 0.2425, which suggests 978 by 733. Comfortably above the 600 minimum, so 1,000 by 750 is a sensible first try. In the table it gives 2.13 bits a pixel, a little under the camera’s 2.23.
  2. Resize. Set the width to 1,000 with the ratio locked, choose JPG and leave the quality at 90. If the result shows 195.3 KB or less, you are done.
  3. Close the gap. If it shows something like 210 KB, run the resizer again from the original with the quality at 80. Starting from the original means the photo is saved as a JPG once, not twice, and the cut in quality is small because the pixel count is already right.
  4. Look at it. Open the result at the size it will be shown, not zoomed to 400%. Artefacts that only appear under magnification will not appear on the portal either.

Nothing in those steps tells the encoder to smear the picture. Most of the 3.4 MB went in step two, and it went as pixels the portal would never have shown.

All three tools run in your browser, so the photograph is never uploaded anywhere until you upload it to the form yourself. The sizes above are worked from one example photograph; your own will compress differently depending on how much fine detail it holds, which is why the last step is to look.

Upload Size Questions