Image Resizer

Resize an image to exact pixel dimensions or by percentage, with aspect ratio locking and high-quality downscaling.

Loading tool…

Your image is decoded and re-encoded in your browser using the Canvas API. It is never uploaded, so there is no transfer wait and no copy on any server.

What the Image Resizer does

The image resizer on this page will resize an image to exact pixel dimensions or by percentage, with aspect ratio locking and high-quality downscaling. Everything runs inside this page, so the work happens on your own device rather than on a server. It is most often used for resizing a photo to the exact dimensions a site or form requires. Companion tools to this one live on FreeToolsWorld.org.

How to use it

  1. Choose an image.
  2. Enter a target width or height — the other follows automatically while the ratio is locked.
  3. Or switch to percentage mode to scale proportionally.
  4. Download the resized image.

How it works

Resizing draws the source image onto a canvas at the new dimensions, with the browser's image smoothing set to high quality. For downscaling that gives a clean result; the browser applies a filtered reduction rather than simply dropping pixels.

Upscaling is a different matter. Enlarging beyond the original dimensions cannot add detail that was never captured — it interpolates between existing pixels and the result is softer than the original. Anything advertising AI upscaling is generating plausible detail rather than recovering real detail.

Aspect ratio locking is on by default because unlocking it stretches the image. If you need a specific ratio that differs from the source, crop first and then resize, which preserves proportions within the area you keep.

Re-encoding through a canvas discards EXIF metadata, including GPS coordinates and camera settings. That is good for privacy and worth knowing if you need the metadata kept.

When to use it

  • Resizing a photo to the exact dimensions a site or form requires.
  • Making a large camera image small enough to email.
  • Producing a consistent set of thumbnails.

Common mistakes to avoid

  • Unlocking the aspect ratio and stretching the image without noticing.
  • Upscaling a small image and expecting it to gain detail.
  • Resizing repeatedly from already-resized copies, which softens the image each time.

Frequently asked questions

Will resizing reduce quality?

Downscaling loses detail by definition, but the result looks clean because the browser filters as it reduces. Upscaling cannot add detail and always looks softer than an image captured at that size.

What size should web images be?

No wider than the largest space they occupy on screen, which for a full-width image on a typical layout is around 1600 to 2000 pixels. Anything larger is downloaded and then thrown away by the browser.

Related tools

See all image tools →