Make a photo an exact size in pixels and KB

Frame a photo to exact pixels (like 600 × 600) and keep the file between the KB limits a form asks for.

Files never leave your device

How to Exact size photo

  1. Press Choose pictures and pick one photo, or drop it on the box above.
  2. Type the Width (pixels) and Height (pixels). If the form gives file size limits, fill in Largest file size (KB) and Smallest file size (KB) too.
  3. Drag the frame over the part to keep, and make it bigger or smaller from a corner. Use Turn left, Turn right or Mirror if needed.
  4. Press Crop, then Download. The message shows the pixel size and the file size you got.

Check what the form asks for first

Online applications often ask for a photo of an exact size in pixels, such as 600 × 600, and a file size between two limits in KB. Read the form’s instructions and note the exact width, height and file size it asks for. Many forms also have rules about the photo itself, such as the background, the light or how much of the head shows. This tool sets the size and the file size only; it does not change the background and does not check the photo against any rules.

Width comes first, then height. If a form gives the size in inches or millimetres together with a resolution in dpi, work out the pixels by multiplying: 2 inches at 300 dpi is 600 pixels. If it gives no pixel size at all, the Crop image tool and its shapes may suit you better.

How the frame works

The frame always has the exact shape of the size you typed: square for 600 × 600, taller than wide for 400 × 500. It starts as a large frame in the middle of the photo. Drag inside it to move it, and drag a corner to make it bigger or smaller; it keeps its shape while you drag. Whatever is inside the frame is then scaled to exactly the pixels you typed, so the result is never stretched or squashed.

Width and height can each be from 16 to 8000 pixels. Changing them, or pressing Turn left or Turn right, sets the frame back to a large centred one, so check it again afterwards. Mirror flips the photo like a reflection and leaves the frame where it is.

If the part inside the frame has fewer pixels than the size you typed, it is enlarged and can look soft. Start from the original photo from your camera rather than a screenshot or a copy sent through a chat app, which can be smaller, and avoid framing a tiny part of the picture. Photos larger than about 16 megapixels are first scaled down to that size, the most a browser can draw.

Getting the file size between the limits

The pixel size never changes to meet a KB limit; only the JPG quality does. The photo is first saved at quality 92 out of 100. If that is over your largest size, the quality is lowered step by step, and you get the best quality that fits. If it is under your smallest size, the quality is raised, up to 100, until it reaches it.

Sometimes it cannot be done, and the page says so plainly instead of hiding it. A busy photo at a large pixel size may stay over the limit even at the lowest quality: choose a smaller pixel size if the form allows it, or a photo with a plainer background. A small, plain photo may stay under the smallest size even at the best quality. The tool will not pad the file with empty data to make it look bigger, so check the pixel size the form asks for; a larger one gives a larger file.

Here 1 KB is 1,024 bytes. Some websites count 1 KB as 1,000 bytes, so for the largest size type a little less than the limit, such as 95 for 100 KB or 48 for 50 KB. The smallest size is safe as it is, because 1,024 is more than 1,000.

The file you get

Everything happens in your browser: your file is never uploaded to any server. You can check: once your file is open, turn on airplane mode — the tool still works.

Questions

How do I resize a photo to 600 × 600 pixels?

Type 600 in both Width (pixels) and Height (pixels), drag the square frame over the part you want, and press Crop. The result is exactly 600 × 600 pixels.

How do I get a photo between 20 KB and 50 KB?

Type 48 in Largest file size (KB) and 20 in Smallest file size (KB), then press Crop. The quality is set so the file lands between them, if this pixel size allows it.

Why is my photo still over the size limit?

Because the pixel size is fixed, only the quality can go down, and some photos are still too big at the lowest quality. Use a smaller pixel size if the form allows it, or a plainer background.

Can it make my photo bigger in KB?

Only by raising the quality, up to the best the browser can save. If that is still under the smallest size, the page tells you; it never pads the file.

Is this a passport or visa photo maker?

No. It sets the pixel size and file size only. It does not change the background or check official photo rules, so follow the instructions of the office you apply to.

Is my file uploaded?

No. Exact size photo runs in your browser on your own device. The file is never sent to our server or anyone else. Once your file is open you can even turn on airplane mode.

Is it free?

Yes. No sign-up, no limits on how many files, and no watermark is added to your file.

Does it work on a phone?

Yes, in any modern browser on iPhone, Android, Mac, Windows or Linux. Very large files work best on a computer, because a phone browser has less memory.

More tools