Image Resizer

Resize photos to exact pixel dimensions with aspect-ratio lock. No cropping surprises.

Private by design: files are processed locally in your browser and never uploaded.

Loading the local file tool. If the controls do not appear, refresh or enable JavaScript.

How to use the image resizer

  1. Drop your image into the upload box. JPEG, PNG and WebP are accepted, processed entirely on your device.
  2. Enter the width and height in pixels. With the aspect-ratio lock on (the default), typing one dimension fills in the other automatically.
  3. Leave "Lock aspect ratio" ticked unless you deliberately want to change the shape. If you unlock it, choose what happens when the shape doesn't match: fit inside (whole image, no distortion, background filled), stretch (may look squashed), or fill and crop (edges cut off).
  4. Upscaling is blocked by default — if your target is bigger than the source, tick "Allow enlargement" to permit it.
  5. Pick the output format and press Resize image. The result's dimensions are verified by decoding the actual output file, and shown next to the download.

What it does — and what it doesn't

It resamples your image to the exact pixel dimensions you set, using high-quality interpolation, and corrects camera rotation from EXIF data first so the result is upright.

It does not crop or stretch silently: locked resizing keeps the exact aspect ratio; unlocked resizing makes you choose the behaviour explicitly. It does not upscale without your opt-in, and it does not improve sharpness — enlarging a small image won't add detail.

Formats, limits and browsers

  • Inputs: JPEG, PNG, WebP (magic-byte verified).
  • Outputs: JPEG, WebP, PNG — only formats your browser can encode are listed.
  • Limits: dimensions from 1 to 12,000 px per side; files up to 80 MB / 144 MP.
  • Browsers: recent Chrome, Edge, Firefox, Safari. Everything uses standard Canvas APIs available in all of them.

Example workflow

An online form asks for a photo "600 × 600 pixels". Your selfie is 3000 × 4000 px (portrait). Type 600 into the width field — with the lock on, height becomes 600 automatically only if the source is square; here it computes 800, which tells you the shapes don't match. For a true 600 × 600 you'd need to crop first or accept fit inside with a filled background — the tool never crops silently, so you decide.

Troubleshooting

  • "That would enlarge the image": your target is bigger than the source. Tick "Allow enlargement" if you accept the quality trade-off.
  • Image looks squashed: you unlocked the ratio and chose stretch. Re-run with the lock on, or pick "fit inside".
  • Background colour appeared around the image: that's the "fit inside" fill. Change the fill colour or switch to "fill and crop".
  • Output dimensions don't match what I typed: the tool verifies by decoding the download — if they differ, the shown numbers are the true ones. Report it; this shouldn't happen.
PROMO CODE
60
SECONDS

A little treat for you.

Your promo code is getting ready.

Privacy

The image is decoded, resampled and re-encoded locally in your browser, with no file upload to a server and no file storage. Closing the tab ends the working session; downloaded files remain on your device. Normal page requests may still create hosting access logs; see the privacy policy.

Frequently asked questions

Will resizing make my photo sharper?

No. Downsizing keeps the image looking clean; upsizing spreads the same pixels over more space and usually looks softer. The tool blocks upscaling unless you explicitly allow it.

What's the difference between this and the signature resizer?

This tool resizes whole photos to exact dimensions. The signature resizer additionally trims blank borders around a scanned signature and targets the small sizes forms ask for.

Does it keep transparency?

Yes for PNG and WebP output. JPEG has no transparency — transparent areas get the fill colour you pick.

Why is aspect lock on by default?

Because accidental distortion is the most common resizing mistake. You can unlock it when you genuinely want a different shape.

Related