HandyBench

Image Resizer

Resize to exact pixels, keep aspect ratio.

How to use the Image Resizer

  1. 1 Upload an image.
  2. 2 Enter the new width or height (lock aspect ratio to keep proportions).
  3. 3 Download the resized image.

How resizing works

The resizer reads the picture's natural width and height, lets you type new values, and redraws the image onto a new canvas of exactly those dimensions using the browser's built-in scaler. With the lock checked, editing the width sets the height to width divided by the original aspect ratio (rounded to a whole pixel), and editing the height sets the width the same way. Unlock it to enter both values independently, which stretches or squashes the picture. The output is named after your file, like photo-1200x900.jpg.

Worked example

A 4000×3000 photo has an aspect ratio of 4:3. Typing a width of 1200 gives a height of 900. A 4032×3024 iPhone photo reduced to a width of 1080 gives 810. A 1600×900 widescreen image typed as height 450 gives width 800. The memory the browser needs is also lower after resizing: 4000×3000 is 12 million pixels, about 48 MB uncompressed in RGBA, while 1200×900 is 1.08 million pixels, around 4.3 MB.

Which format comes out

Input typeOutputNotes
JPGJPG at 92% qualityFixed value, no slider
WebPWebP at 92% qualityAlpha kept
PNG, GIF, AVIF, SVG or any otherPNG by defaultGIF, AVIF and SVG cannot be written back, so a note under the format menu says so. Pick PNG, JPG or WebP. A GIF is resized as its first frame only.

JPG, PNG and WebP input default to the same format; you can change it with the Output format menu, so a large PNG photo can be resized straight to JPG or WebP. JPG output has a white fill under any transparent area, and lossy output uses a fixed 92% quality. For a precise file-size target, follow up with the compressor.

Limits and common mistakes

  • Very large reductions. The tool uses the browser's high-quality smoothing and, for big reductions, scales down in halving steps (for example 4000 to 2000 to 1000 to 500) instead of one jump, which keeps thin lines and text clean. Very fine detail can still soften at extreme ratios.
  • Enlarging. Making a 400 px image 1600 px wide gives a softer picture, not new detail.
  • Unlocking the ratio by accident. Typing both values with the lock off distorts the picture. The original size is shown above the fields so you can check the proportion.
  • Exceeding canvas limits. Browsers cap canvas size, commonly around 16,384 pixels per side or about 268 million pixels in total, and mobile browsers are stricter. The tool refuses sizes beyond 16,384 pixels per side or 100 megapixels in total and tells you why, instead of exporting a blank file. Phones may still fail earlier than that.
  • Resizing is not compression. Pixel count and file size are related but not the same. For a precise file-size target use the Image Compressor.

For circular or square avatars, Crop Image is the right companion.

Examples

  • ▸ A 4000 by 3000 photo resized to width 1200 with the lock on gives 1200 by 900.
  • ▸ A 4032 by 3024 iPhone photo reduced to width 1080 gives 1080 by 810.
  • ▸ A 1600 by 900 image set to height 450 gives width 800.

Frequently asked questions

Will resizing distort my image?

Not if the aspect-ratio lock is on, because the other side is calculated from the original ratio. Unlock it and type both values yourself and the picture will stretch.

Can I enlarge a small image?

You can scale it up, but enlarging cannot add detail that is not there, so the result looks softer. For best quality, resize down from a larger original.

Which file format do I get back?

It starts as your input format: JPG stays JPG and WebP stays WebP (both saved at 92% quality), and PNG stays PNG. GIF, AVIF and SVG cannot be written back, so they default to PNG and a note says so. The Output format menu lets you switch to JPG, PNG or WebP at any time.

What is the maximum size I can resize to?

The limit is your browser canvas. The tool refuses anything above 16,384 pixels per side or 100 megapixels overall and explains why, rather than exporting a blank file. Mobile devices can be stricter than that.

Does resizing reduce the file size?

Usually, because fewer pixels means less data, but it is not guaranteed. For a particular file-size target, use the Image Compressor as well.

Are my images uploaded?

No. The picture is redrawn on a canvas in your own browser and the file never leaves your device.

Related guides