Developer tools directory

Developer

Image Resizer

Resize images to exact pixel dimensions, preserve proportions or fit into a fixed-size canvas.

Open tool

Process locally · Copy or download your output.

Set your image size

JPG, PNG or WebP · Up to 20 MB. Files stay in your browser.

Original

Choose an image to begin

Output

Generate an output to compare

Inspect fine details and text in your downloaded image. Re-encoding removes source metadata; real savings depend on the original image and your settings.

How to use it

Prepare, process and export.

Inputs and units

Upload a JPG, PNG or WebP image up to 20 MB. Set width and height in pixels. Keep aspect ratio for proportional scaling, or disable it and choose Contain, Cover or Stretch.

How processing works

Contain fits the entire image within your target canvas and leaves background space. Cover fills the canvas and crops the excess from the center. Stretch changes the image proportions. Locking aspect ratio calculates height from width.

Worked example

For a square 512 × 512 image, disable the aspect-ratio lock and choose Cover. For a proportional thumbnail, keep the lock and enter a width of 800 pixels.

Assumptions and limitations

Inputs and files are processed in your browser, are not uploaded, and clear when you leave or reload. Enlarging an image does not recover detail. Cover can crop important content. Maximum output is 4,096 pixels per side and 16 million pixels. Re-encoding removes source metadata; transparent output is supported with PNG and WebP.

Questions & answers

Frequently asked questions

Help with image resizer, its inputs and what to expect.

What do I need to use the Image Resizer?

Upload a JPG, PNG or WebP image up to 20 MB. Set width and height in pixels. Keep aspect ratio for proportional scaling, or disable it and choose Contain, Cover or Stretch.

How does this tool process my input?

Contain fits the entire image within your target canvas and leaves background space. Cover fills the canvas and crops the excess from the center. Stretch changes the image proportions. Locking aspect ratio calculates height from width.

What should I check before using the output?

Inputs and files are processed in your browser, are not uploaded, and clear when you leave or reload. Enlarging an image does not recover detail. Cover can crop important content. Maximum output is 4,096 pixels per side and 16 million pixels. Re-encoding removes source metadata; transparent output is supported with PNG and WebP.