Compress an image to 50 KB

Reduce an image to under 50 KB for ID photos and form uploads, keeping the best quality that fits.

loading Compress an image to 50 KB
About this tool

What this page does

This page opens the picture compressor with the target already set to 50 KB (51,200 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.

Fifty kilobytes is a common ceiling for the photo field of an application or registration form. It is enough for a head-and-shoulders portrait of a few hundred pixels on a side, and not enough for a camera original, which is why the picture has to shrink in dimensions as well.

What 50 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 50 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.03603 × 453
Photo of 8 MP3264 × 24480.05603 × 453
Full HD screenshot1920 × 10800.2697 × 392
HD image1280 × 7200.44697 × 392
Portrait for a form600 × 8000.85453 × 603
Webcam, VGA640 × 4801.33603 × 453

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 50 KB is 51,200 bytes. Some forms count 1 KB as 1,000 bytes: for a limit of 50 KB written that way the largest safe target is 48 KB, and the table below puts the three numbers side by side.

How it is countedBytes
50 KB in this tool (1 KB = 1,024 bytes)51,200
The same number counted with 1 KB = 1,000 bytes50,000
Safe target: 48 KB49,152

A worked example

With 51,200 bytes there are 409,600 bits to spend. At 1.5 bits per pixel that pays for about 273,067 pixels, which is a 4:3 picture of 603 × 453. A 4,000 × 3,000 phone photo would have to lose 98% of its pixels (85% on each side) to be paid for at that rate; a picture that is already smaller than 603 × 453 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 50 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 portrait, frame the face before compressing: the tool keeps the whole picture, so every pixel of background is a pixel not spent on the face. The photo-size page of your document says the exact frame it wants.

Common mistakes

  • Sending the result without looking at it: at a hard limit like 50 KB the tool may have lowered the quality to 40 or shrunk the picture, and what you need (a face, a stamp, a number) must still be readable.
  • Expecting every picture to reach 50 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 50 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.

Frequently asked questions

What dimensions give a good 50 KB portrait?

A portrait of 413 × 531 px (3.5 × 4.5 cm at 300 dpi) has 219,303 pixels, which at 50 KB leaves 1.9 bits per pixel: comfortable for a face. A 12 MP original would get only 0.03, which is why it is scaled down.

Is my picture uploaded?

No. The compression to 50 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 50 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 50 KB?

The tool shows the smallest file it could make and says it did not reach 50 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