How to Resize an Image to a Specific File Size (100 KB, 200 KB, 1 MB)

Illustration of a large photo being reduced to a smaller photo labeled 200 KB

Job portals, college and visa applications, exam sites, online stores: they love a file-size limit. “Maximum 100 KB.” “Under 200 KB.” “No larger than 1 MB.” Meanwhile, a photo straight off your phone is usually somewhere between 2 and 5 MB, and the form just bounces it.

Here's how to get an image under the limit with the Image Resizer, and what actually happens to the picture along the way.

Two different kinds of "size"

This trips a lot of people up. An image has dimensions, the number of pixels, like 4000 × 3000. And it has a file size, how much storage it takes, like 3.2 MB or 180 KB.

Upload limits are almost always about the file size. Two things decide it: how many pixels the picture has, and how hard it's compressed. Hitting a target file size means adjusting one or both.

Getting it under the limit

  1. Open the Image Resizer and choose your JPG, PNG or WEBP image.
  2. Leave Width and Height empty if all you care about is the file size. (You can also type a width, say 1200 pixels, together with a target.)
  3. Under Target file size, pick About 100 KB, About 200 KB, About 400 KB, About 500 KB or About 1 MB. For any other limit, choose Custom… and type a number from 10 to 10240 KB.
  4. Under Save as, keep the same format, or pick JPG for photos (more on that below).
  5. Click Resize image and download it. The file name includes the new width and height.

Before you upload, check the size of the downloaded file. Your computer or phone shows it in the file's details, and there's a quirk with that, explained further down.

What the resizer does behind the scenes

For JPG and WEBP, it tries to keep every pixel first and only lowers the compression quality, picking the highest quality that still fits. It won't go below the point where blocky artifacts become obvious. If that still isn't small enough, it also makes the picture smaller in pixels, because a slightly smaller picture at good quality looks better than a full-size one that's been crushed.

PNG is different. It's a lossless format with no quality setting, so the only way to shrink a PNG is fewer pixels. With a tight target, that can mean a noticeably smaller image.

And if your picture is already under the target, it's simply saved at the quality you chose, and may come out well under the limit.

Don't expect exactly 200.0 KB

How small a picture compresses depends on what's in it. A clear blue sky squeezes down beautifully; a photo of gravel or tree leaves doesn't. That's why the target is approximate. In practice you'll land a little under the number you picked, which is exactly what an upload limit needs, but almost never on the dot.

To give you a feel for it, here's what we got from our own tests with a deliberately detailed 12-megapixel test image (4000 × 3000 pixels), saved as JPG:

Target What we got
About 1 MB Still large, roughly 2400 pixels wide, very good quality
About 500 KB Around 2100 pixels wide, more than enough for any screen
About 200 KB Around 1400 pixels wide, fine for forms and email
About 100 KB Around 1000 pixels wide, good for ID-style photos and previews

Simpler pictures keep more pixels at the same file size; very busy pictures keep fewer.

Checking the real size before you upload

  • Windows: right-click the file in File Explorer and choose Properties. Look at Size, not "Size on disk".
  • Mac: select the file in Finder and choose File › Get Info.
  • iPhone and iPad: in the Files app, touch and hold the file and choose Get Info.
  • Android: in your file manager, such as Files by Google, open the file's menu and choose File info or Details.

Why the same file shows two different sizes

This one confuses everybody. Windows counts 1 KB as 1,024 bytes; a Mac counts 1 KB as 1,000 bytes. Our resizer uses 1,024, so a result for "About 200 KB" is at most 204,800 bytes. Windows calls that 200 KB. A Mac calls it about 205 KB.

Upload forms are split too, and most don't say which way they count. So if your file is right at the edge, pick a slightly smaller target, like 190 KB for a 200 KB limit, and it'll be accepted either way.

Which format?

JPG is the right answer for photos, and it's what most forms expect. "JPG" and "JPEG" are the same thing, by the way. WEBP is usually smaller than JPG at the same quality, but some older forms and programs won't take it, so check the form's allowed formats first. PNG is great for screenshots, logos and graphics with transparency, and a poor choice for a photo under a tight limit.

Getting the best-looking result

Start from the original. Every time a JPG is saved again it loses a little detail, so resize the photo from your camera roll, not a copy that's already been squeezed by a messaging app.

Crop first. If the form wants a passport-style photo or a signature, crop away everything else before resizing. Fewer wasted pixels means more quality where it counts.

Don't aim lower than you need to. If the limit is 200 KB, choose 200 KB, not 50. Smaller isn't better if the picture goes blurry.

Need a PDF instead? Some forms want a PDF. Shrink the image first, then turn it into a PDF with JPG to PDF.

Quick answers

Does reducing the file size change the width and height?

Only if it has to. For JPG and WEBP, the quality is lowered first, and the pixels only shrink if that's not enough. PNG files can only get smaller in pixels.

What's the smallest target I can pick?

10 KB. Tiny targets work best for small, simple pictures; a big photo squeezed to 10 KB will be small and soft.

Is the photo's location removed?

Yes. Hidden information like GPS location and camera details isn't copied into the resized picture.

The short version

Pick a target file size in the Image Resizer, use JPG for photos, and start from the original. It keeps as much quality as it can and only shrinks the pixels when it must. For more on keeping pictures sharp in general, see how to resize an image without losing quality.

← All articles