Skip to content

Image Resizer

Resize images to exact dimensions or by percentage, offline.

Updated · Examples checked by automated tests

LOCAL WORKSPACENO UPLOAD REQUIRED

Drop an image to resize

Nothing is uploaded — resizing happens on a canvas in your browser

About Image Resizer

Serving a 4000 pixel wide photo into a 400 pixel wide slot wastes bandwidth and slows rendering. Resizing to the size you actually display is basic hygiene for any web page.

This resizer works entirely on-device, supports exact pixel dimensions or percentage scaling, locks the aspect ratio by default, and exports as JPG, PNG or WebP.

How Image Resizer works in your browser

Resizing draws your image into a canvas at the target dimensions using the browser’s built-in scaling, with image smoothing enabled so downscaling produces a clean result rather than an aliased one. Aspect ratio is locked by default; the second dimension is computed from the first and rounded to whole pixels.

Very large reductions — a 6000px photo down to a 200px thumbnail — look better in stages than in a single step, because a one-shot downscale samples too sparsely and drops fine detail. Where the reduction is severe, the resize runs through intermediate steps.

Upscaling is available but cannot invent detail that was never captured. Enlarging a small image interpolates between the pixels that exist; it will look soft, and no client-side tool can change that.

When to use it

  • Producing an avatar or thumbnail at the exact pixel dimensions a platform requires.
  • Cutting a camera photo down to a sensible size for the web before uploading it.
  • Preparing a batch of images at consistent dimensions for a gallery or product listing.
  • Resizing a scanned document or ID photo for an application form, without it passing through anyone else’s server.

Worked examples

Resize to a set width, keeping proportions

Settings: Lock aspect ratio on, width 1600

Input

Image 4000 × 3000 px

Expected output

Output: 1600 × 1200 px (40%)

With the ratio locked, the height is calculated from the width and rounded to whole pixels.

Scale a portrait image by percentage

Settings: 50%

Input

Image 1080 × 1920 px

Expected output

Output: 540 × 960 px (50%)

Percentage scaling applies the same factor to both sides, so the shape never changes.

Limits and checks before you use the result

  • Enlarging an image cannot add detail; the tool shows a warning when you upscale.
  • Turning the ratio lock off stretches or squashes the image. Crop first if you need a different shape.
  • The maximum size on either side is 20,000 px, and very large images may exceed a phone’s memory.

Frequently asked questions

Does it keep the aspect ratio?

By default yes - editing one dimension updates the other. Unlock the ratio to stretch the image deliberately.

Can I enlarge an image?

You can, but pixels that were never captured cannot be recovered, so upscaling always looks softer than the original.

Which formats are supported?

Anything your browser can decode: JPG, PNG, WebP, GIF (first frame), BMP and usually AVIF.

Guides

Related tools