Image Resizer

Resize a JPG, PNG or WebP image to the exact width and height you need. Choose how the original image fits inside the new canvas. Your image is processed locally in your browser.

This free tool requires JavaScript. Enable it in your browser and reload this page.

How to resize an image

  1. Choose a JPG, PNG or WebP file under 25 MB.
  2. Enter the desired width and height in pixels.
  3. Choose Crop to fill, Fit inside, or Stretch, then select the output format.
  4. Click Resize, inspect the preview, and save the result.

Which fit option should I choose?

OptionBest use
Crop to fillFills the canvas without distortion, but may cut off edges.
Fit insideShows the whole image, with padding if the proportions differ.
StretchForces the exact size; different proportions can distort the image.

Example: prepare a vertical graphic

A 1200 × 1600 portrait has a 3:4 ratio. To create a 1080 × 1920 canvas (9:16), use Crop to fill if you can lose the side edges, or Fit inside if the entire picture must remain visible. Avoid stretching text or faces.

Frequently asked questions

Does resizing reduce file size?

Often, but output format and compression also matter. If you need a specific file limit, use the image compressor.

Can I make a small image larger?

Yes, but enlarging does not restore missing details. Check the preview before using it. The tool limits output to 16 megapixels and input to 40 megapixels.

Will transparent areas stay transparent?

PNG and WebP can preserve transparency. JPG fills transparent areas with white. The browser re-encodes the image; metadata and animations are not preserved.

Need to calculate a matching size first? Use the aspect ratio calculator.