Skip to main content

Change dimensions

Image Resizer

Set exact pixel dimensions or scale by percentage while optionally preserving the original aspect ratio.

100% local

Drop one image here

JPG, PNG, WebP, or AVIF · up to 32 MB · adaptive 8–24 megapixel limit

Your image never leaves this browser

Private by design

Images stay in browser memory and are never uploaded by these tools.

Modern formats

Decode and export JPG, PNG, WebP, and AVIF using browser and WebAssembly codecs.

Keep your original

Re-encoding can alter metadata, animation, profiles, or quality, so verify every output.

Complete tool guide

Image Resizer guide

Change the width and height of an image in pixels, or scale it by a percentage. The aspect ratio stays locked by default so nothing looks stretched, and the output keeps the original format. Resizing to the size an image is actually displayed at is the most effective way to make it load faster and fit upload limits.

Your input is processed in the current browser tab and is not sent to the application server.

Why use this tool?

  • Type an exact width or height and the other value updates automatically to keep proportions.
  • Scale by percentage, from 1% to 800%, and see the resulting pixel size before you resize.
  • Cut file size dramatically: halving both dimensions leaves only a quarter of the pixels.
  • Resize with high-quality browser resampling, locally and without uploading the photo.

Common use cases

  • Making a camera or phone photo small enough for email, a form, or a chat app.
  • Preparing images at exact sizes for a website hero, blog post, or thumbnail.
  • Meeting marketplace or social media dimension requirements.
  • Creating a small preview or avatar from a large original.
  • Unlocking the ratio to fit a fixed-size slot when a slight stretch is acceptable.

How to use it

  1. 1

    Choose or drag in one JPG, PNG, WebP, or AVIF image. Its current size appears under the file name.

  2. 2

    Pick Pixels to enter a width and height, or Percentage to scale both sides together.

  3. 3

    Keep Lock aspect ratio on to avoid stretching, or turn it off to set both values independently.

  4. 4

    Select Resize image, check the new dimensions and file size, and download.

Controls and results explained

Pixels

Enter the width and height of the output, from 1 to 10,000 px per side. With the aspect ratio locked, changing one side recalculates the other from the original proportions and rounds it to a whole pixel.

Percentage

Scales both sides by the same amount, from 1% to 800%. The field shows the resulting size, such as “Output: 1500 × 1000 px”, before you resize.

Lock aspect ratio

On by default. Turning it off lets you enter any width and height, which stretches or squashes the image. To change the shape without distortion, crop to the new ratio first with the Image Cropper.

Worked examples

Resize a phone photo to 1600 px wide for a blog

Start with: IMG_3301.jpg · 4032 × 3024 px (about 12.2 megapixels)

  1. Choose the photo and keep Pixels and Lock aspect ratio selected.
  2. Type 1600 in Width. Height updates to 1200 automatically.
  3. Select Resize image and download the result.
IMG_3301-resized.jpg · 1600 × 1200 px (1.92 megapixels)

1600 × 3024 ÷ 4032 = 1200, so the 4:3 proportions are unchanged. The new image has 84.3% fewer pixels than the original, which is where most of the file-size saving comes from.

Halve an image with Percentage

Start with: product.png · 3000 × 2000 px · transparent background

  1. Choose product.png and select Percentage.
  2. Enter 50. The field shows “Output: 1500 × 1000 px”.
  3. Select Resize image.
product-resized.png · 1500 × 1000 px · transparency kept

Half the width and half the height leaves one quarter of the pixels (1.5 MP instead of 6 MP). PNG stays lossless, so edges remain clean; convert to WebP afterwards if you need an even smaller file.

Why smaller dimensions mean smaller files

File size depends heavily on the number of pixels, which is width × height. Scaling a photo to half its width and half its height leaves a quarter of the pixels, and the file usually shrinks by a similar amount. Compress afterwards for further savings.

Upscaling

Sizes above 100% are allowed, but enlarging an image only spreads the existing pixels over a larger area. The result will look softer, and it cannot add real detail.

Format, quality, and limits

The output uses the same format as the input. JPG, WebP, and AVIF are saved at 82% quality; PNG stays lossless, and transparency is kept. The output must be no larger than 10,000 px per side and the megapixel limit of your device, typically 8–24 MP.

Practical tips for better results

  • Resize for the largest size the image will be shown at. For high-density (Retina) screens, 2× the displayed CSS width is plenty.
  • Always resize from the original, not from a copy that was already made smaller.
  • Resize before compressing, not after, for the best quality per kilobyte.
  • Check small text and thin lines after shrinking; very large reductions can make them hard to read.
  • For an exact shape such as 1080 × 1080, crop to the ratio first, then resize.

Frequently asked questions

How do I resize an image without stretching it?

Keep Lock aspect ratio switched on and change only the width or the height. The other side is calculated from the original proportions.

How do I resize an image to an exact size like 1080 × 1080?

If the image is not already square, crop it to 1:1 with the Image Cropper first, then resize it to 1080 px here. Unlocking the aspect ratio and typing both values would stretch it instead.

Does resizing reduce the file size in KB?

Yes, when you make the image smaller. Fewer pixels need less data, so the file shrinks roughly in proportion to the pixel count. Enlarging an image makes the file bigger.

Can I change DPI or print size here?

No. This tool changes pixel dimensions, which is what screens and websites use. DPI is only a print setting that says how many pixels to fit in an inch; it does not change the image data.

Does resizing change the format?

No. A JPG stays a JPG and a PNG stays a PNG. Use the Image Converter to change the format.

What to check before using the result

  • One image at a time; the output keeps the input format.
  • The output is limited to 10,000 px per side and your device’s megapixel limit.
  • Enlarging cannot add detail, and pixel resizing does not change print DPI.

Keep working

Continue with another focused tool from the same collection.