Skip to content
Changelog
new toolimages

Responsive Image Generator

v1.0

Responsive Image Generator resizes one image to a set of widths and writes the srcset markup to serve them. Drop in an image, or load one from the Sample menu. Clear removes it.

Widths start at 320, 640, 960, 1280 and 1920 and show as chips you can remove, with a field to add any other width. A width that isn't a whole number of pixels, or is already in the list, is called out when you press Add. Widths wider than the source are flagged but not blocked. Format is Keep original or WebP, at a quality you set with a slider.

The sizes attribute has its own builder: full width, half above 768px, a third above 1024px, a fixed maximum width, or a custom value. A plain <img srcset sizes> and a <picture> with a WebP source and an original-format fallback are each one click to copy. Each variant downloads on its own, or Download all saves every variant in one zip, named like photo-960w.webp. If your browser can't encode the chosen format, the tool says which format the files really are, and the snippets match.

A savings line compares the real size of the variants with serving the original at every width. Your image is resized in your browser and never uploaded, so there is no share link.

All changes