Last updated:
Three requirements that are really three different things
Upload forms tend to ask for a photo “at most 100 KB, 300 DPI, 35 × 45 mm” as if that were one setting. It is three, and they are independent:
- The size, in pixels or in millimetres at a given DPI. This is the picture itself: how many pixels it has, and what shape it is.
- The file size in KB: how strongly those pixels are compressed. The same 413 × 531 photo can be 40 KB or 400 KB.
- The DPI: a number in the file header that says how large the pixels should print. It changes neither the picture nor the KB.
This tool applies all three in one pass, in that order: crop and resize, compress to the limit, write the DPI.
How the KB limit is met
The photo is saved as a JPEG at the highest quality that still fits under the limit, found by testing qualities between high and low. If you keep the original pixel size and even the lowest quality is too big, the pixel size is reduced step by step until it fits — and the result says so. A size you fixed is never changed behind your back: when the photo cannot fit at that size, you are told, with the number.
One KB is counted as 1000 bytes. Some forms count 1024; counting 1000 keeps you under the limit either way.
How many pixels fit under 20, 50, 100 or 200 KB?
There is no exact pixel-to-KB conversion: a photo of a clear sky compresses far better than one of leaves or gravel. As a rule of thumb, a JPEG photo at good quality takes about 1 to 2 bits per pixel, which gives these rough sizes:
| KB limit | Roughly this many pixels | For example |
|---|---|---|
| 20 KB | 0.08 – 0.16 MP | 400 × 300 |
| 50 KB | 0.2 – 0.4 MP | 600 × 450 |
| 100 KB | 0.4 – 0.8 MP | 900 × 675 |
| 200 KB | 0.8 – 1.6 MP | 1200 × 900 |
A 12-megapixel phone photo is far above all of these, which is why simply lowering the JPEG quality is not enough for a small limit: the pixel size has to come down too. With the size left on “As it is”, the tool does that for you, and only as far as the limit requires.
Millimetres, pixels and DPI
When a form gives the size in millimetres, the pixels follow from the DPI: 35 × 45 mm is 413 × 531 pixels at 300 DPI and 827 × 1063 at 600 DPI. Choose “Millimetres” and the tool works it out; the DPI calculator does the same arithmetic for any size.
What this tool does not check
Size, file size and DPI are arithmetic, and the tool gets them exactly right. Whether a photo meets an authority’s rules for ID documents — head size, background colour, lighting, expression — is another question, and this tool does not answer it. The form’s own instructions are the reference for those.
Your photo stays with you
An ID or application photo is exactly the kind of picture not to hand to a random website. Everything here happens in your browser. The output is a freshly drawn JPEG, so EXIF data from your phone — location, device, capture time — is not carried into it.
Preparing the photo for a CV? The CV maker crops it to passport shape and places it on the CV directly.
How to resize a photo to a KB limit
Step 1: Add the photo
Drag it onto the box above or click to choose it. JPG, PNG and WebP work everywhere; HEIC opens in Safari.
Step 2: Set the size
Keep the original size, or enter the pixels or millimetres the form asks for. For a fixed size, drag the frame to choose what is kept, and zoom in if needed.
Step 3: Set the KB limit and DPI
Pick the maximum file size from the form, or type your own; choose the DPI it asks for.
Step 4: Prepare and download
The result card shows the final size in KB, the JPEG quality used and the DPI written into the file, before you download.
Frequently Asked Questions
How do I reduce a photo to 100 KB?
Leave the size on “As it is”, choose 100 KB and press the button. The pixel size is kept if the photo fits at a good quality; otherwise it is reduced just enough to fit.
How do I reduce a photo to 20 KB?
Type 20 as your own KB limit. At that size the photo usually has to shrink to around 400 × 300 pixels, so if the form also names a pixel size, enter it; otherwise the tool reduces the pixels until the file fits.
Can I convert pixels to KB?
Only roughly. KB depends on the pixel count and on how much detail the photo has, so two photos of the same size can differ several times over. About 1 to 2 bits per pixel is typical for a good-quality JPEG: 1 megapixel is then around 125 to 250 KB.
What is 35 × 45 mm in pixels?
413 × 531 pixels at 300 DPI, and 827 × 1063 at 600 DPI. Choose “Millimetres” and the tool calculates it from the DPI you set.
Does changing the DPI make the file smaller?
No. DPI is a label in the header; the file size depends on the pixels and the compression. That is why the tool treats them as separate settings.
Why is my photo cropped?
A fixed size has a shape. If your photo has a different shape, part of it has to go; the frame shows which part is kept, and you can move it.
Which format is the result?
JPEG, which almost every upload form accepts and which can be compressed to a precise size. A transparent PNG gets a white background.
Is my photo uploaded?
No. It is resized and compressed in your browser and never leaves your device.
Related Tools
- US visa photo size for the DS-160: 600 × 600 pixels, under 240 KBThe State Department’s numbers are already set: a square JPEG of 600 × 600 pixels, no larger than 240 KB and no smaller than its 20:1 compression rule allows.
- India e-Visa photo: a square JPEG between 10 KB and 1 MBThe e-Visa form takes a square JPEG between 10 KB and 1 MB, and a PDF of your passport page under 300 KB. Both can be made here without uploading either.
- Image Compressor & Format ConverterCut file size without visibly hurting quality (WebP / JPG / PNG).
- Image Color Palette ExtractorPull the HEX and RGB codes of the dominant colors out of any photo.
- Image DPI Converter (72 to 300 DPI)Set the DPI your print shop asked for, and see the size the file will actually print at.
- DPI Calculator: Pixels, Print Size and DPIWork out how many pixels a print needs, how large a photo prints, or the DPI you actually get.