ExactImage

Resize an image to exact pixels

Set the width and height you need. The work happens on your device — the image is never uploaded.

Drop an image here, or click to choose one

You can also paste a screenshot with Ctrl+V. JPG, PNG, WebP.

Network measuring… Your file never leaves this device

Every byte of that work happened on your own machine. Verify it: open DevTools → Network, and use the tool. No request carries your image, because none is made.

Dimensions and file size are different problems

People reach for a resizer and a compressor interchangeably, but they solve different constraints. Dimensions are about how many pixels exist — what a form measures when it says "at least 600 × 750". File size is about how many bytes those pixels take to describe, which depends on the image's content as much as its size. A form can demand both, and the two requirements can pull against each other.

When they do, the order matters: resize first, then compress. Reducing dimensions removes information cheaply and cleanly. Compressing first and then resizing means the encoder spends its budget preserving detail you are about to throw away, and the artefacts it introduced get scaled up along with everything else.

What quality survives a resize

Reducing size is nearly free in visual terms — averaging four pixels into one loses information you were not going to see anyway, and often looks sharper than the original because it hides noise. Increasing size is not free and cannot be made so. There is no algorithm that recovers detail that was never recorded; enlargement can only guess, and guessing produces softness or, worse, plausible-looking texture that was not there.

Questions

Does resizing reduce the file size too?
Substantially, and more reliably than compression does. File size scales roughly with pixel count, so halving both width and height quarters the number of pixels and typically cuts the file to somewhere near a quarter. If you need both specific dimensions and a specific file size, resize first and then compress the result.
Will enlarging an image make it sharper?
No. Enlarging invents pixels by interpolating between the ones you have; it cannot recover detail that was never captured. A small image scaled up looks soft at best. If you need a larger image, go back to the original source.
Does it keep the aspect ratio?
Only if you set both numbers proportionally — the fields are independent so you can crop to an exact frame when a form demands one. Setting a ratio different from the original will stretch the image, which for a face is immediately obvious and usually a rejection.
PNG or JPEG for resizing?
PNG if the image has flat colour, text, or transparency — logos, screenshots, diagrams — because it is lossless and has no artefacts around sharp edges. JPEG for photographs, where PNG produces a much larger file for no visible benefit.