ID Photo Resizer

Last updated: 2026-06-25

TL;DR

Upload a photo, resize it to the target pixel size, and download it as PNG or JPG. Images are never sent to a server — everything runs in your browser (canvas).

You can choose fit (with margin), crop, or stretch. (For reference.)

Resize a photo

Select a photo to see its original size. Uploaded images are not sent to a server.
Choosing a preset fills the target pixels. You can also enter them manually.
px
px
Color used for fit (contain) margins and JPG transparent areas. ID photos are usually white.

The result is saved at the same pixels shown in the preview. Before printing or submitting, verify the size and background against the issuer's requirements. U.S. Department of State passport photo guidance

How to use

  1. Upload a photo — select the photo (JPG or PNG) to resize. Images are processed in the browser only.
  2. Choose size — pick a use-case preset or enter the target width and height in pixels and the fit mode.
  3. Resize and download — press Resize to see a preview, then use the Download button to save.

How photo resizing and fit modes work

ID photos require different pixel sizes depending on where you submit them. This tool resizes the source photo to the target pixels, and when the source and target aspect ratios differ you can choose one of three modes.

Fit mode comparison
ModeBehaviorNotes
Crop (cover)Keep ratio, then cut the edgesNo margin, some cropping
Fit (contain)Keep ratio, then fill margin with backgroundWhole image kept, margins added
StretchIgnore ratio, force exact target sizeMay distort

You can find target pixels in the ID & passport photo size guide and the print pixel calculator. For printing, use a source at least as large as the target pixels (for example, the 300 DPI size). All processing happens in the browser and your image is never uploaded.

Frequently asked questions (FAQ)

Is my uploaded photo stored on a server?

No. This tool processes your photo only on the browser canvas and does not send or store the image on a server. Both resizing and downloading happen entirely on your device.

How are fit (contain) and crop (cover) different?

Fit (contain) shrinks the whole photo to fit inside the target size and fills the leftover area with the background color. Crop (cover) fills the target ratio from the center and cuts off the edges that fall outside. Stretch ignores the ratio and forces the exact target size.

What file format is the output saved in?

You can save as PNG or JPG. ID photos for printing or submission usually use JPG, while PNG is used when you need a transparent background. You can choose the output format in the options.

Why is my resized photo blurry?

If the source pixels are smaller than the target size, enlarging it makes it blurry. For printed ID photos, use a source at least as large as the target pixels (for example, the 300 DPI size). You can check the target pixels with the print pixel calculator.

Last updated: 2026-06-25