How to Compress an Image to 500KB

Typing 0.5 into a target-size box sounds like 500KB. It isn't, and the file it gives back can fail a 500KB upload limit.

Flat blue illustration of a kitchen table: hands hold a phone showing a portrait photo, beside a coffee mug, a paper form and a laptop with an upload form and the same portrait, under a glowing pendant lamp, with a window, shelves of jars and a wall clock behind.

To compress an image to 500KB, open Compress Image, drop in your JPG, PNG or WebP, type 0.4 in the "Target max size in MB (optional)" field, and select Compress. 0.4 looks too low, but it's the safe number. The tool counts a megabyte as 1,048,576 bytes, so a target of 0.5 aims at 524,288 bytes, which is over a 500KB limit however the form measures it. A target of 0.4 keeps the file at 419,430 bytes or less. The image is compressed in your browser and never uploaded.

Why 0.5 doesn't mean 500KB

A 500KB limit is 500,000 bytes if the site counts a kilobyte as 1,000 bytes, or 512,000 bytes if it counts 1,024, and the form may not tell you which. The target field works in megabytes of 1,048,576 bytes, so 0.5 sets a ceiling of 524,288 bytes, above both. The line under the field gives this away: with 0.5 in the box, it ends "target ≤ 512 KB".

In our test, a 3000 x 2000 JPG given a 0.5 target came back at 516,525 bytes. The tool's own readout called that 504 KB, and it would fail a 500KB check either way.

Where the 0.4 and 0.5 targets land against a 500KB limit A number line of file sizes in bytes. A 500KB limit sits at either 500,000 or 512,000 bytes, depending on how the site counts a kilobyte. A target of 0.4 caps the file at 419,430 bytes, under both. A target of 0.5 caps it at 524,288 bytes, past both, so the file can fail the limit. A 500KB limit, counted two ways 500,000 512,000 0.4: up to 419,430 under both 0.5: up to 524,288 over both
Sizes in bytes. The shaded area is over a 500KB limit however it's counted.

Why typing 0.47 doesn't help

The field moves in steps of 0.1 and rounds whatever you type to the nearest step before it compresses. 0.47 and 0.45 both become 0.5; 0.44 becomes 0.4. In our test, a target typed as 0.47 produced a 513,933-byte file, over the limit. There's no target between 0.4 and 0.5 to type, which is why 0.4 is the answer for a 500KB limit.

How to compress an image to 500KB

  1. Check the file's size first. If it's already under 500KB, you're done.
  2. Open Compress Image and drop in your file. It takes JPG, PNG and WebP, up to 50 files at once.
  3. Type 0.4 in "Target max size in MB (optional)". While that field has a number in it, the Compression quality slider is ignored.
  4. Check the estimate under the field. It should end "target ≤ 410 KB".
  5. Select Compress, then Download. Several files come back together in one zip. A file that was already under the target comes back unchanged.

With the same 3000 x 2000 photo, 0.4 gave 385,484 bytes and kept all 3000 x 2000 pixels.

Getting closer to 500KB with the slider

0.4 leaves some of the 500KB unused. For a single image, you can get closer: clear the target field and move the Compression quality slider instead. The estimate under it is a real compression of your image, redone each time you move the slider. It counts 1KB as 1,024 bytes, so 500,000 bytes shows as 488 KB. Stop at 487 KB or lower and the file is under the limit whichever way the form counts. In this mode, if compressing would make the file bigger, you get your original back.

To check the exact byte count before you upload, open the file's Properties on Windows or Get Info on a Mac. Both list the size in bytes as well as in KB.

When the photo has to shrink

The tool first checks whether quality 0.40 fits. If it does, it searches upward for the highest quality between 0.40 and 0.92 that still fits. Only if 0.40 is too big does it reduce the width and height. Many photos fit under 0.4 on quality alone, as the 3000 x 2000 test did. A very large or very detailed image may not: a noisy 4000 x 3000 test image given 0.4 came back at 2274 x 1705. If your upload needs particular dimensions, set them with Resize Image first so the compressor doesn't choose them for you. If the target still can't be reached after eight rounds of shrinking, you get the smallest file the tool made, so check the size.

A PNG has no quality setting, so the tool reduces the number of colours instead, then shrinks the dimensions if that isn't enough. Fewer colours can leave bands across smooth skies in a photo. For a photo saved as PNG, convert it with PNG to JPG first; a JPG of the same photo is usually far smaller.

Where you'll meet a 500KB limit

Korean passport reissue online is one: the Ministry of Foreign Affairs' online photo file page asks for a JPG of 500KB or less, inside a set pixel range. South Korea passport photo requirements covers the rest of that spec. For a tighter limit, see compressing an image to 200KB or compressing to an exact size; for a looser one, compressing an image to 1MB.

FAQ

The tool says 504 KB. Why does my form reject it?
The tool counts 1KB as 1,024 bytes, so 504 KB there is about 516,000 bytes, over a 500KB limit however the form counts. Compress again with 0.4 in the target field.

Can I type 0.49 to get closer?
No. The field rounds to steps of 0.1, so 0.49 becomes 0.5. Use 0.4, or leave the field empty and watch the estimate as you move the quality slider.

Will my photo look worse at 500KB?
The tool picks the highest quality between 0.40 and 0.92 that fits the target, and only shrinks the pixels if 0.40 is still too big. In our 3000 x 2000 test, 0.4 left every pixel in place; large, detailed images are the ones that lose pixels as well as quality. Keep your original and compress a copy.

Is my image uploaded to compress it?
No. The compression runs in your browser, and the file only leaves your device when you upload it to the form yourself.

← All compression & file size guides