ConvertWarp

Image guides

How to resize an image for the web

Uploading a full-resolution camera photo to a web page wastes bandwidth and slows the page for no visible gain. Resizing to the size it is actually shown at is the single biggest speed win.

4 November 2026

A large photo being resized to fit inside a browser window.

Why resizing matters for the web

A browser scales a big image down to fit its slot on the page, so a 4000-pixel photo shown in a 800-pixel column looks no sharper than an 800-pixel one; the visitor just waited longer to download the extra pixels. On a phone connection that delay is the difference between a page that feels fast and one that does not.

Resizing to roughly the dimensions the image is displayed at is the simplest, highest-impact thing you can do for page speed. It also cuts the file size dramatically, because file size roughly tracks the number of pixels.

How to resize

Use Resize image and type the width you want. Keep the aspect ratio locked so the picture does not stretch, which distorts faces and logos. The format stays the same: JPEG stays JPEG, PNG stays PNG. Everything happens in your browser, so nothing is uploaded.

  • Drop the image on the tool.
  • Enter the target width; the height follows automatically with the ratio locked.
  • Convert and download the smaller image.

Sizes worth knowing

  • Full-width hero or banner: about 1600 to 2000 pixels wide covers most large screens.
  • In-article photo: 800 to 1200 pixels is usually enough.
  • Thumbnail or avatar: 150 to 400 pixels.
  • If the design is known, match the slot: there is no benefit to sending more pixels than it displays.

Shrinking only; do not enlarge

Resizing down discards pixels cleanly and looks great. Resizing up cannot invent detail, so an enlarged image just looks soft and blocky. If you need a bigger image, start from a higher-resolution original rather than stretching a small one. To fill an exact frame, crop with Crop image instead of squeezing the whole photo.

Then compress, and consider WebP

After resizing, lower the JPEG quality with Compress image for a smaller file again. For the smallest download on a site you control, convert to WebP with JPG to WebP or PNG to WebP. The JPG vs PNG vs WebP guide explains which format to serve, and reducing image file size covers the order to do these steps in.

More guides