Compress an image to 500 KB

Reduce an image to under 500 KB for web images and email attachments, keeping the best quality that fits.

loading Compress an image to 500 KB
About this tool

What this page does

This page opens the picture compressor with the target already set to 500 KB (512,000 bytes). Drop a JPG, PNG, WebP, HEIC or other picture and the tool searches for the best quality that makes the file fit, entirely in your browser: the picture is not uploaded anywhere.

Five hundred kilobytes is the range where a picture still looks good on a laptop screen and loads quickly on a phone connection. It is a common limit for blog and shop image fields and a sensible weight for a picture embedded in a page.

What 500 KB really allows

A file size is a budget of bits shared by all the pixels. A photograph at medium quality usually needs about 1.5 bits per pixel, so a picture with more pixels than the budget can pay for has to be shrunk. The table shows what 500 KB allows for common starting points and, assuming that rate, the size the picture would have after the fit (a rule of thumb: flat graphics need far less, noisy photographs more).

Starting picturePixelsBits per pixel allowedSize at 1.5 bit/pixel
Phone photo, 12 MP4000 × 30000.341908 × 1431
Photo of 8 MP3264 × 24480.511908 × 1431
Full HD screenshot1920 × 10801.98as is
HD image1280 × 7204.44as is
Portrait for a form600 × 8008.53as is
Webcam, VGA640 × 48013.33as is

How the tool gets there

First it tries the original size at the highest quality. If that is too big, it searches the quality between 100 and 40 by halving the range until it finds the highest that fits. If even 40 is too big, or the format is PNG (which has no quality), it shrinks the dimensions instead, never below 10% of the original side. When nothing fits, you get the smallest result it could make, with a warning.

In this tool 1 KB is 1,024 bytes, as most operating systems show it, so 500 KB is 512,000 bytes. Some forms count 1 KB as 1,000 bytes: for a limit of 500 KB written that way the largest safe target is 488 KB, and the table below puts the three numbers side by side.

How it is countedBytes
500 KB in this tool (1 KB = 1,024 bytes)512,000
The same number counted with 1 KB = 1,000 bytes500,000
Safe target: 488 KB499,712

A worked example

With 512,000 bytes there are 4,096,000 bits to spend. At 1.5 bits per pixel that pays for about 2,730,670 pixels, which is a 4:3 picture of 1908 × 1431. A 4,000 × 3,000 phone photo would have to lose 77% of its pixels (52% on each side) to be paid for at that rate; a picture that is already smaller than 1908 × 1431 needs no resizing at all, only the quality search.

Step by step

  1. Drop the picture on the area above, or press the button to choose it (several files work too).
  2. Check that the target says 500 KB and choose the format: JPG for photographs, WebP for smaller files, PNG for graphics.
  3. Press the compress button and wait a few seconds: the tool shows the size it reached, the quality used and whether the dimensions had to shrink.
  4. Look at the result next to the original, and download it. The name keeps the original with a suffix, so nothing is overwritten.

A tip for this size

For a page on the web, size matters twice: bytes and pixels. A picture shown 800 px wide does not need 4,000 px. Reducing the dimensions first with the resize tool leaves the compressor free to keep a higher quality.

Common mistakes

  • Expecting every picture to reach 500 KB with the same look: fine detail such as text, foliage or noise costs far more bits than a flat wall, so two pictures of the same size can end at very different qualities.
  • Choosing PNG for a photograph and a target of 500 KB: PNG has no quality setting, so the only way to lose weight is to lose pixels. Pick JPG or WebP for photographs and keep PNG for logos and screenshots.
  • Compressing a picture that was already compressed several times: each pass of a lossy format adds damage. Start from the original whenever you have it, and use 500 KB only for the final copy.

Frequently asked questions

Does a phone photo fit in 500 KB without shrinking?

Seldom. A 12 MP photo at 500 KB allows 0.34 bits per pixel, below what a photograph usually needs, so the tool lowers the quality first and, if the floor of 40 is reached, the dimensions too.

Is my picture uploaded?

No. The compression to 500 KB runs in your browser, with your own computer or phone, so the picture never leaves your device and the page also works offline once loaded.

Can I compress several pictures to 500 KB at once?

Yes: drop them together. Each one gets its own search, so a small picture is returned almost untouched and a large one is reduced as much as it needs; the results can be downloaded one by one or in a zip.

What if the result is still bigger than 500 KB?

The tool shows the smallest file it could make and says it did not reach 500 KB. The way out is a smaller picture to start from: crop away what the form does not need, or resize it, and compress again.

Report a problem