Skip to content
imgtools.Tools

srcset Generator

Pick widths and formats, get a ZIP of resized images and the matching HTML. Nothing is uploaded.

Runs entirely in your browser. Nothing is uploaded.

Drop an image, click to browse, or paste from clipboard

How this works

Each width becomes its own file, named after your image, like photo-640w.webp. The markup lists exactly those files with their real widths and MIME types, so the browser can pick the smallest one that still looks sharp on the visitor's screen. Widths larger than your original are skipped, because enlarging only adds bytes. If every requested width is too large, the original width is used.

Choose two or more formats to get a <picture> element: newer formats go in<source> tags and the last one is the fallback image. AVIF appears only if your browser can encode it. Upload the files next to your page, or change the paths in the markup.