Image Resizer

Resize images by exact dimensions, percentage, or target file size. Free, instant, private.

Related Guide

Want to see why a square preset can squash a landscape photo? We measured it.

How to resize a photo without distorting it
🔒 Your images never leave your browser. Processed locally. 100% private.
📐

Drop your image here

JPG, PNG, WebP, GIF supported - or click to browse

Preview thumbnail
Before / After
Before
Original image
After
Resized image

What does the resizer actually do to your photo?

It redraws your image onto a canvas at the new width and height, with the browser's high-quality smoothing switched on, and saves the result as a new file. You can keep the original format or switch to JPG, PNG or WebP. The quality slider (60 to 100, default 85) shows up when the output is JPG, and WebP output quietly uses the same setting. PNG ignores it, because PNG is lossless.

There are three ways to set the size. By Dimensions takes an exact width and height. By Percentage scales both sides together. By File Size aims for a target in kilobytes instead of a pixel size. The tool handles one image at a time.

Why did the Instagram preset give me 1080 x 720?

Because the aspect ratio lock was on, and that's the safe default. With the lock on, a preset only sets the width, and the height follows your photo's own shape. Our 1800 x 1200 landscape photo came out 1080 x 720, not 1080 x 1080.

Switch the lock off and the preset forces both numbers. That gave us a 1080 x 1080 file, but the photo was squashed sideways to fit, because resizing never cuts anything off. If you want a true square, crop it to 1:1 in the image cropper first, then resize.

How does "By File Size" hit a target?

It searches for the highest quality that fits. It tries up to eight quality levels between 30 and 100 percent at full size. If none of them fits, it starts shrinking the dimensions in 8 percent steps at quality 80 until the file is small enough. With a 100 KB target, our 339.2 KB photo came back at 792 x 528 and 74.1 KB, so it had to give up pixels to get there. A 20 KB target ended at 360 x 240. The smallest target it accepts is 10 KB. If it still can't get under your target, it tells you instead of handing back something too big.

How large can you make an image?

Bigger than you'll probably need on a laptop, but there is a ceiling. In desktop Chromium, scaling our photo up to 16000 x 10667 (about 171 megapixels) worked and produced an 8.39 MB JPG in under three seconds. At 24000 x 16000 (384 megapixels) the browser refused to create the image. The page now says so instead of failing silently. Phones and tablets have less memory, and we haven't measured their limits, so expect them to give up sooner. Remember that upscaling only adds pixels. It can't add detail that wasn't in the original.

What happens to transparency, rotation and animation?

  • Transparency survives when the output is PNG or WebP. Our transparent PNG kept its clear corners after resizing to 400 x 300.
  • Sideways phone photos come out upright. Chromium reads the EXIF rotation flag before drawing, so the sideways test photo became a correctly oriented 900 x 600 file.
  • All metadata is dropped, including camera details and GPS location. None of our output files contained an EXIF block.
  • Animated GIFs stop moving. The browser can only draw one frame, so a GIF comes back as a still PNG of the first frame. It's now named .png so the extension matches what's inside.

How we tested: we ran this page's own code in headless Chromium using Playwright on public test images (an 1800 x 1200 JPEG photo, the same photo stored sideways with an EXIF rotation flag, an 800 x 600 PNG with a transparent background and a 400 x 400 animated GIF), and every row in the table below comes from one of those runs.

SampleSettingBeforeAfterWhat we saw
Photo, 339.2 KBWidth 1080, lock on, quality 851800 x 12001080 x 720, 179.4 KBDefault settings
PhotoInstagram 1080 preset, lock on1800 x 12001080 x 720, 179.4 KBHeight follows the photo
PhotoInstagram 1080 preset, lock off1800 x 12001080 x 1080, 253.3 KBSquashed to fit, not cropped
PhotoBy Percentage, 50%1800 x 1200900 x 600, 125.4 KB
PhotoWidth 1080, WebP output1800 x 12001080 x 720, 160.5 KB11% smaller than the JPG
PhotoBy File Size, 100 KB339.2 KB792 x 528, 74.1 KBShrank dimensions to fit
PhotoBy File Size, 20 KB339.2 KB360 x 240, 18.5 KB
Sideways photo, 344.5 KBWidth 900Flag says rotate900 x 600, 125.9 KBUpright, EXIF removed
Transparent PNG, 219.3 KBWidth 400, same format800 x 600400 x 300, 99.6 KBTransparency kept
Animated GIF, 978.2 KBWidth 200400 x 400200 x 200 PNG, 43.2 KBFirst frame only
PhotoUpscale to 16000 x 106671800 x 12008.39 MB in 2.6 sWorked
PhotoUpscale to 24000 x 160001800 x 1200No fileBrowser refused, error shown

What do people ask about resizing images?

The aspect ratio lock was off, so the width and height you typed didn't match the photo's shape. Resizing never crops, so the picture gets squashed or stretched to fill the new box. Turn the lock on, or crop to the shape you want first and then resize.
You can resize to a maximum size. Pick By File Size and enter the target in KB, from 10 KB up. The tool lowers the quality first and only shrinks the dimensions if it has to. In our test, a 100 KB target gave a 792 x 528 file of 74.1 KB.
Yes. The new file is drawn fresh on a canvas, so EXIF data such as camera model and GPS location isn't copied across. None of our test outputs contained EXIF data.
Not with this tool. It handles one image at a time. The image compressor and the format converters accept several files at once, but they keep the original dimensions.
Browsers can only draw a single frame of a GIF onto a canvas, so the resized file is a still PNG of the first frame. To resize an animation you need software that edits each frame.

Get fresh reads straight to your inbox

Get notified when we publish new articles. Unsubscribe anytime.