Skip to content
Mavlo

Image Resizer

Set an exact size in pixels or percent, keep the proportions, download the result.

Drop an image here

JPG, PNG or WebP. Resized on your device.

Runs in your browser. Your files never leave your device.

Websites, social networks, forms and printers all ask for images of a particular size. This image resizer changes the width and height of a JPG, PNG or WebP picture to the exact number of pixels you need, or scales it by a percentage, and lets you download the result straight away.

Keep the lock on and the other side follows automatically, so the picture is never stretched or squashed. The resizing happens in your browser: your photo is not uploaded anywhere, and the original file is never changed.

How to use it

  1. Drop an image onto the box, or choose one from your device. Its current size is shown.
  2. Choose Pixels or Percent, then type a new width or height. With the lock on, the other value updates to keep the proportions.
  3. Pick the output format and, for JPG or WebP, a quality.
  4. Press Resize, check the preview and the new file size, then download.

How it works

Resizing redraws the picture on a canvas of the new size using high-quality smoothing. Shrinking an image throws away pixels it no longer needs, which gives a smaller file. Enlarging adds pixels by interpolation, so it makes the picture bigger but not sharper, and strong enlargements look soft.

Keeping the aspect ratio means multiplying width and height by the same factor. If a 4000 by 3000 photo is set to 1200 pixels wide, the height becomes 1200 × 3000 ÷ 4000, which is 900 pixels. If you unlock the ratio you can enter both values freely, at the cost of stretching the picture.

Photos are rotated according to the orientation recorded by the camera, so portrait shots are not turned on their side. Transparent areas in PNG and WebP files are kept, and are filled with white when you save as JPG because JPG has no transparency. Browsers limit the size of a canvas, so extremely large outputs, above roughly 100 megapixels, are refused with a message.

new height = new width × original height ÷ original width
percent: new size = original size × percent ÷ 100

Worked examples

A phone photo for a website

A 4000 × 3000 photo resized to 1600 pixels wide becomes 1600 × 1200. Save it as WebP at 80% quality to make the file much smaller too.

A profile picture of exactly 400 × 400

Turn the lock off, enter 400 and 400. If the photo is not square, crop it first so that the face is not stretched.

Half-size screenshots

Switch to Percent and enter 50. A 2560 × 1440 screenshot becomes 1280 × 720.

When this is useful

  • Preparing images for blogs, online shops, social media and email signatures.
  • Meeting the pixel dimensions required by an application form or a print service.
  • Creating small thumbnails from large photos.
  • Reducing the file size of a picture by shrinking it before sharing.

Tips

  • Resize from the original image whenever you can. Enlarging an image that was already shrunk gives poor results.
  • Use the Aspect Ratio Calculator to find a matching height for a width such as 16:9.

Frequently asked questions

Is my image uploaded to a server?

No. The picture is resized inside your browser. It never leaves your device and the original file is not modified.

How do I keep the picture from looking stretched?

Leave the lock on. When you change the width, the height is calculated from the original proportions, and the other way round.

Will resizing reduce the quality?

Shrinking keeps images sharp. Enlarging cannot add real detail, so large enlargements look soft. JPG and WebP also lose a little detail at lower quality settings.

Which formats are supported?

JPG, PNG and WebP can be opened, and you can save the result as any of the three. For iPhone HEIC photos, use the HEIC to JPG tool first.

What is the maximum size I can create?

Browsers limit canvas size, so this tool allows up to 16,384 pixels on a side and about 100 megapixels in total, and less on older phones.

More in Image tools