Image editors · Photo upload limit

Compress a photo to 50 KB without uploading it.

Made for application forms and profile uploads that cap photos at 50 KB. Pick the portrait shape, set the limit, and the tool finds the best quality that fits. Everything stays on your device.

A 50 KB photo: what to expect

Fifty kilobytes is 51,200 bytes. For a head-and-shoulders portrait that is enough for a clear, small picture: as a rough rule a few hundred thousand pixels at moderate JPEG quality, around 500 by 600 pixels for a plain portrait. Plain backgrounds help a lot because the encoder spends almost nothing on flat colour. A busy background, hair detail and screen glare all use up the budget.

This tool starts from your original and tries the highest quality first. If the picture does not fit, it lowers quality to a floor of 55% and then reduces the pixel dimensions, keeping the aspect ratio, until it does. It then fine-tunes the quality upward so the file lands as close under 50 KB as it can. The result shows the size reached, the pixel dimensions and the quality used.

Portrait photos for forms

Application and profile uploads usually want a portrait with a plain background and the face filling most of the frame. Frame the photo first: crop to the right shape with the image cropper or let the tool centre-crop when you choose a preset. The presets above are common shapes: 35 by 45 mm at 200 dots per inch works out to 276 by 354 pixels (35 mm is 1.378 inches, 45 mm is 1.772 inches), and 3:4 is the proportion of most phone portraits. They are not the rules of any one organisation, so type the exact width and height your form states under "Use an exact pixel size".

This tool changes size and file weight only. It does not check that your face position, background colour or expression meet a photo specification. For Canadian passports, the passport photo checker helps with framing.

Phone photos and HEIC

Most phone photos start at 3 to 12 megapixels and several megabytes, so reaching 50 KB means a reduction by a factor of fifty or more. If you shoot on an iPhone, the file may be HEIC. Choose it directly: the tool decodes it and outputs JPG. Orientation is applied, so the portrait is not sideways in the result.

iPhone HEIC photos are accepted as input too. Browsers that cannot decode HEIC load a separate decoder (libheif 1.19.8, LGPL-3.0, unmodified) once, only after you choose a HEIC file; Safari uses its own.

A worked example

Measured with this page's own code on a real photograph, a 3,840 by 2,160 pixel aerial image of 5.36 MB: with a 50 KB limit and Balanced mode the result was 49.6 KB at 1,054 by 593 pixels and quality 56%. A portrait on a plain background has far less detail than that landscape, so it usually keeps more quality at the same size. For a selfie that is 3,024 by 4,032 pixels, pick "Portrait 3:4 (300 x 400 px)", press Resize, and the tool crops to 3:4, resamples to 300 by 400 and searches for the best quality under 50 KB. If you would rather keep more pixels, untick the exact size, choose "Any size" and the tool keeps as many pixels as 50 KB allows. Compare both previews, then download the one that reads better.

When the tool says no

If you fix the pixel size and the picture is too detailed to fit even at the lowest quality, no file is created and the tool reports the smallest size it reached. Try fewer pixels, a plainer photo or a higher limit. It will never deliver an over-limit file as if it were a success.

Common mistakes

Frequently asked questions

Is my image uploaded to shrink it?

No. The photo is decoded, resized and re-encoded in this page on your device, inside a sandboxed frame whose security policy blocks network requests. Only you have the file.

How do I compress an image to exactly 50 KB?

Set the limit to 50 KB and press Resize. The tool returns the largest-quality file at or under 50 KB. Files are not padded to land exactly on 50 KB, so expect a number a little below it.

Does the quality get terrible at 50 KB?

For a plain-background portrait of a few hundred pixels, 50 KB is usually clean. The balanced mode never goes below 55% JPEG quality unless you pick Keep pixels. It shrinks dimensions first.

Which pixel size should I choose?

The one your form states. The presets are common shapes, not any agency's rules, so type the exact width and height if the form gives them.

Can I upload an iPhone HEIC photo?

Yes. HEIC files are decoded locally and saved as JPG under your limit.

Does the result include my location?

No. The photo is redrawn and re-encoded, so GPS, camera model and timestamps are not copied.

Why can't I get a PNG at 50 KB?

The output is JPEG because only a lossy format has a quality dial the tool can search. PNG inputs are accepted and converted.

Is there a minimum size as well?

The tool only enforces a maximum. If a form needs at least a certain size, check the result line and raise the limit slightly until the size read-out falls in the allowed range.

Sources

Checked

Runs entirely in your browser. Your files are not uploaded, stored or sent anywhere.

Advertisement
Advertisement