Resize Image

Set the pixel dimensions of an image without sending it to a server.

Use the tool

Supported formats: JPEG, PNG, and WebP. Maximum file size: 20 MB.

No files selected.

85%

Files stay in this browser. No document or image is uploaded to a server.

Choose one JPEG, PNG, or WebP image, enter the output width and height, and decide whether to preserve the aspect ratio. The resized image is generated on your device.

How image resizing works

The browser draws the source image onto a canvas at the requested dimensions and exports a new image. Preserving the aspect ratio scales the image to fit inside the requested bounds.

  1. Choose one supported image file up to 20 MB.
  2. Enter a width and height between 1 and 8,192 pixels.
  3. Keep the aspect ratio or turn it off for exact dimensions, then download the resized image.

Worked examples

Create a smaller web image

Input
Original 2400 × 1600; target 1200 × 800
Result
1200 × 800 pixels

With the aspect ratio preserved, the image is scaled down evenly.

Fit a square thumbnail

Input
Original 1600 × 900; target 600 × 600
Result
600 × 338 pixels

Preserving the ratio fits the landscape image inside the square boundary.

Frequently asked questions

Can I enter exact pixel dimensions?

Yes. Turn off Keep aspect ratio to set the exact width and height. The image may look stretched if the proportions differ from the original.

What does Keep aspect ratio do?

It scales the image proportionally so it fits within the width and height you enter, without stretching the subject.

Which formats can I upload?

You can upload JPEG, PNG, and WebP images up to 20 MB. The resized output is saved as JPEG or WebP.

What are the maximum dimensions?

Each output dimension can be up to 8,192 pixels, with an overall limit of 40 megapixels to keep processing manageable.

Does the original image change?

No. The resized image is a new download. Your original file remains unchanged and is not uploaded.

Last updated: