How to Resize Images for the Web (Without Distortion)

Resize images to the right dimensions for the web without stretching or blurring. The correct pixel sizes, aspect-ratio rules, and how to resize a whole batch at once.

Updated 5 min read By CodingEagles
Free tool Bulk Image Resizer Bulk resize by pixels or percent with one-click presets. Open tool

Resizing is the most overlooked step in image optimisation — and the one that saves the most. A camera photo can be 6000 pixels wide, but a blog displays it at maybe 1000 pixels. Serving the original means the browser downloads (and the visitor pays for) five times more image than they’ll ever see. This guide covers the right sizes, how to avoid distortion, and how to resize a whole batch at once.

TL;DR — Resize images to the dimensions they’re actually displayed at, keep the aspect ratio locked, and scale down rather than up. Do a whole folder for free in the bulk image resizer.

What size should web images actually be?

There’s no single answer — match the image to the slot it fills. These are reliable starting points:

PlacementRecommended width
Full-width hero / banner1600–2000px
In-content / blog image800–1200px
Sidebar / card thumbnail300–500px
Avatar / icon64–256px

For high-density (Retina) screens, you can export at 2× the display size and let the browser scale it down — a 1200px image shown in a 600px slot stays crisp. Beyond 2× there’s no visible benefit, only bigger files.

Why aspect ratio matters

The aspect ratio is the relationship between width and height. Change one without the other and the image stretches — faces get wide, circles become ovals.

The rule is simple: lock the aspect ratio. Set the width you want, and the height adjusts proportionally so the image scales evenly. You only unlock it when you deliberately want exact dimensions and are willing to crop rather than distort.

Tip: If you need an exact square or 16:9 frame, don’t stretch — crop to the ratio first, then resize. Stretching is always visible; cropping never is.

Resize down, not up

  • Scaling down removes pixels you don’t need. The result is sharp and the file is smaller. This is what you want almost every time.
  • Scaling up (enlarging) forces the tool to invent pixels, which softens the image. If you genuinely need a bigger image, use an AI upscaler instead of a plain resize — it reconstructs detail rather than just stretching.

Step by step: resize images for the web

  1. Decide the target width from the table above, based on where the image appears.
  2. Open the bulk image resizer and drop your images in.
  3. Enter the width in pixels (or a percentage to scale the whole batch evenly).
  4. Keep the aspect-ratio lock on so nothing distorts.
  5. Download the resized images, then compress them for the final saving.

Everything runs in your browser — no upload, no account, no limits. The same settings apply to your whole batch, so a folder of mixed photos all come out at a consistent size.

The optimisation order that works

For the smallest, sharpest web images, always do it in this order:

  1. Resize to display dimensions (this guide).
  2. Convert to WebP or AVIF — see the format guide.
  3. Compress with the quality slider — see compress without losing quality.

Skipping the resize step is the most common mistake. No amount of compression fixes an image that’s simply too large in dimensions.

Where to go next

Frequently asked questions

What size should images be for a website?
It depends on where they appear. Full-width hero images are typically 1600–2000px wide, in-content images 800–1200px, thumbnails 300–500px. Match the image to the space it fills on screen — anything larger is wasted bytes.
How do I resize an image without distorting it?
Keep the aspect ratio locked. When you set a new width, the height should change proportionally so the image scales evenly. Only unlock the ratio if you deliberately want to crop or stretch to exact dimensions.
Does resizing reduce image quality?
Resizing down is essentially lossless — you're removing pixels you don't need. Resizing up (enlarging) softens detail, because the tool has to invent pixels that weren't there. For best results, scale down rather than up.
Can I resize many images to the same size at once?
Yes. A bulk resizer applies one width or percentage to your whole batch, so a folder of photos all come out at a consistent size in one step.

Ready to try it?

Bulk resize by pixels or percent with one-click presets. Free, unlimited, and 100% private — your files never leave your device.

Open the Bulk Image Resizer