ResizePicture

Resize images for a website

Get every size a web page needs from one photo, plus the code to use them.
or drop it below · paste works too

FreeNo sign-upResized here, on your own machine.

One photograph at five shrinking widths.
Choose photoor drop it here · paste works too · several at once is fine

No file to hand?

No picture open Resized here, in this tab

Drag the box's edges or corner on the canvas, or type the numbers. Keys: L chain · Ctrl Z undo · C compare · hold Space for the original · 0 fit · 1 100% · Ctrl K find a size. How the resampling works.

One picture in; every width a page needs, and the HTML that uses them, in one ZIP.

Opens on the Sizes panel with WebP output. Choose srcset for one format or <picture> for WebP with a JPG fallback; set a limit per file if you have a budget.

A worked example

A 4032 × 3024 photo becomes 480 × 360, 800 × 600, 1200 × 900, 1600 × 1200 and 2000 × 1500 WebP files at quality 80, plus srcset.html with sizes set to the largest width. With <picture> chosen, the ZIP holds ten files — each width as WebP and JPG — and picture.html.

When another page here fits better

For a whole folder at one width, use bulk resize. For one size with a byte limit, resize image in KB.

What stays on your device

Every width is rendered one at a time in this tab and the ZIP is built here. The snippet names the files in the ZIP and nothing else.

The snippet's sizes attribute assumes the image is shown full width up to its largest size. Change it if your layout puts the image in a column.

Questions people ask here

Which widths do I need?

480 and 800 cover phones, 1200 and 1600 cover laptops and high-density phones, 2000 covers large screens. A width larger than your picture is skipped rather than enlarged.

srcset or <picture>?

srcset with WebP is enough for current browsers. <picture> adds a JPG copy of every width for older ones, at the cost of twice the files; the snippet lists both and the browser picks.

Can every file stay under 200 KB?

Set Limit per file: each JPG and WebP is searched for the best quality under it at its own width, and the summary says if one could not get there.