Skip to content
Home / Images and files / Resize Image to Exact Pixels
Passport sizes

Resize Image Online to Exact Pixels, Passport and Form Sizes

Form portals rarely ask for a smaller file — they ask for a specific size, like 35×45 mm or 600×750 pixels. Pick a preset or type the exact width and height, tell Nexby whether to crop, fit or stretch, and the image is redrawn on your own device to those pixels.

Price Free, foreverSign-up Not requiredWhere it runs Your browser onlyUpdated 2026-10-19
1 · Choose the size you need
Pakistan / UK / most EU applications at 300 dpi · or type your own pixels below.
Prints at 35.0 × 45.0 mm
Crop-to-fill keeps your exact pixel size and cuts the overflowing side from the centre. For face photos, put the face in the middle of the original — passport rules want the head centred, not the shirt.
2 · Add your photo
Drop an image here or click to choose
Up to 10 files · resizing happens on your device, so a passport photo never touches a server
How to use it
  1. Choose a target — Tap a preset — passport 35×45 mm, UK visa 600×750, US visa 2×2 in, stamp 20×25 mm, Instagram 1080×1080, YouTube 1280×720 — or type your own pixel width and height.
  2. Decide what happens to the extra shape — Crop to fill gives you the exact dimensions and trims the overflowing side from the centre. Fit inside keeps the whole picture and adds margins. Stretch squashes it, which is sometimes what a strict checker wants.
  3. Add the photo — Drop up to 10 images in, or click to pick from your phone gallery. Nothing is uploaded; the canvas redraw happens in your browser.
  4. Resize and save — Press resize, check the new dimensions and file size in each row, then download one file or all of them. Output names carry the size, for example photo-413x531-nexby.jpg.
What makes it different
  • The print-size pill converts your pixels back to millimetres at 300, 600 or 96 dpi, so you can see whether 413×531 really is a 35×45 mm photo.
  • Crop-to-fill centres on the middle of the frame — for face photos keep your face centred in the original, because passport checkers look for a centred head.
  • JPG output is flattened onto white so you never get a black background, and PNG keeps transparency for logos and cut-outs.
  • Resizing writes a fresh file, which also strips EXIF GPS data that official photo checkers often reject.

Resize Image to Exact Pixels — questions

What pixel size do I need for a passport photo?

A 35×45 mm photo printed at 300 dpi is 413×531 pixels, which is the preset most applications mean. UK online uploads ask for 600×750 pixels, and US visa photos are square at 2×2 inches (600×600 pixels or more). If the portal states a size in millimetres, use the dpi pill to confirm the pixels match before you submit.

Does resizing reduce the file size too?

Usually yes, because fewer pixels means less detail to encode — a 4000×3000 photo reduced to 413×531 drops from megabytes to tens of kilobytes. If a form limits kilobytes rather than dimensions, use the image compressor instead, since that targets a file size.

Crop to fill or fit inside — which one for documents?

Crop to fill, almost always. Document photos must fill the frame edge to edge, and fit inside leaves white or transparent bands around the head, which is the most common reason an automated checker rejects a picture.

Why does my logo go blurry when I shrink it?

Photos and logos behave differently. A logo made of flat colours survives downscaling, but thin lines and small text lose contrast once the pixel count drops below roughly 200. Keep a large original, choose PNG for output and raise the quality slider if you must use JPG.

Can I enlarge a small photo to a bigger size?

You can — set a width and height larger than the original and the browser upscales it. It will look softer, because the extra detail does not exist. Upscaling beyond about twice the original size is rarely worth it.

Is it safe to resize an ID or passport photo here?

Yes. The file is decoded into a canvas on your device and re-exported from it; there is no upload endpoint on this site, so no copy of your document photo is made or stored anywhere but your own machine.