Resize image to exact pixels
Set the exact width and height a form asks for. Crop to fill, fit inside, or stretch. Add a file size limit too if you need one.
- Dimensions
- Quality
- Format
How it works
Choose a photo
Drop it in, paste it, or pick it from your device.
Enter the pixels
Type a width and height, or tap a preset. If you give only one, the shape is kept.
Download
Compare before and after, then save the file.
When the shape does not match
A form might want a tall portrait photo when yours is wide. You choose what happens: Crop fills the frame and trims the edges evenly, Fit inside keeps the whole photo and adds white bars, and Stretch fills the frame by distorting the picture.
For faces, Crop is usually right. Centre the face in your original first so it stays centred after cropping.
Pixels from a size in millimetres
Pixels = millimetres × dpi ÷ 25.4
- 35 × 45 mm at 300 dpi413 × 531 px
- 2 × 2 in at 300 dpi600 × 600 px
Always check the exact numbers your form gives. These are examples, not official requirements.