RescaleImageAll toolsResize a photo

Resize images for website use

Fast pages, sharp photos, every screen

Turn one photo into phone, laptop and big-screen sizes, plus the code to use them.

Choose photoor drop it here · paste works tooJPG, PNG, WebP, HEIC and moreOpen the largest version of the photo you have. Widths it cannot fill are skipped.

No photo handy?

Free · No sign-up · Photos stay on your device

A 3000 × 2000 photo becomes

The default set for a 3000 × 2000 photo
WidthHeightFiles
480 px320 px-480w.webp, -480w.jpg
768 px512 px-768w.webp, -768w.jpg
1080 px720 px-1080w.webp, -1080w.jpg
1600 px1067 px-1600w.webp, -1600w.jpg
2400 px1600 px-2400w.webp, -2400w.jpg

Heights follow the photo’s own proportions, rounded to whole pixels, and the markup quotes exactly those numbers. Each width is computed from the full-size original — never from a smaller copy — through Lanczos in linear light.

Limits

  • No art direction: every width is the whole photo. A different crop for phones is a different picture — make it on the aspect-ratio page first.
  • AVIF is not written; WebP and JPEG cover every current browser.
  • Quality is one setting for the set. For a hard size cap on one file, use Resize to a KB limit.

Questions

What size should images be for a website?

There is no single size: a phone needs about 480–800 px across, a laptop 1080–1600, a large retina screen up to 2400. The answer is a set — the browser picks the smallest file that fills the space it has. This page makes that set from one photo and writes the srcset markup that lets the browser choose.

Which widths does it make?

480, 768, 1080, 1600, 2400 px by default; tap any width to add or remove it. Widths larger than your photo are skipped and listed, because a responsive set should never contain an enlarged file.

Why both WebP and JPEG?

WebP files are usually noticeably smaller at the same look, and every current browser reads them. The JPEG copies are the fallback inside the <img> tag. The markup uses <picture> so each browser takes the format it supports; switch either format off if you only need one.

What do I put in sizes?

How wide the image is shown, so the browser can pick before it lays out the page. “(max-width: 768px) 100vw, 768px” means full width on phones and 768 px wide otherwise. Edit it to match your layout; the markup updates as you type.

Are the width and height attributes right?

Yes: they are the real pixel size of the fallback file, computed from your photo's own proportions, so the browser reserves the right space and the page does not jump while images load.

Neighbouring measurements

Upload a photo
One photograph printed at three sizes, 100, 62 and 44 percent, laid on a desk with a ruler under each
One photo, three sizes: the pixels decide how big it can go.