Responsive Image Generator
← SkillSafe

Make responsive images for your website

Drop a photo and get WebP and JPEG copies at every width a page needs, plus the picture code with srcset and sizes.

Drop an image here or

JPG, PNG, WebP, AVIF, GIF or BMP. You can also paste a screenshot.

No image handy? Try one:

How it works

  1. Drop an image. A JPG, PNG, WebP, AVIF, GIF or BMP. It opens in your browser and is never uploaded.
  2. Get the copies. WebP and JPEG at 400, 800 and 1200 px wide, quality 80, made straight away. A width larger than your image is left out and the image's own width is used instead, so nothing is enlarged.
  3. Get the code. A picture element with a WebP source and a JPEG fallback, srcset, sizes, width and height, your alt text, and lazy loading, or high priority for an image at the top of the page.
  4. Download. One ZIP with the files in an images folder and the code in picture.html. The table shows which file a phone, tablet, laptop and desktop would download, and marks any file over its size target.

Questions

Is my image uploaded?
No. The image is opened, resized and saved inside your browser, and the files you download are made there. The optional AI step sends only the layout description you type and the image's width and height, never the image.
What does the sizes attribute do?
It tells the browser how wide the image will be on screen at each screen width, before the page's CSS has loaded. The browser multiplies that by the screen's pixel density and downloads the smallest copy in srcset that is at least that wide. Full width is 100vw; if the image only takes half the page on wide screens, say so and phones and laptops download smaller files.
Which widths and quality does it use?
400, 800 and 1200 px at quality 80, as WebP with a JPEG fallback. A width larger than your image is left out and the image's own width is used instead, so nothing is ever enlarged. You can type other widths and set the quality from 40 to 95 under More options; 70 to 85 is the usual range.
Should the image be lazy-loaded?
Only when it is further down the page. An image at the top, such as a hero or banner, should load first: choose At the top and the code gets fetchpriority=high and no lazy loading. Every other image gets loading=lazy and decoding=async. Width and height are always set so the page does not jump while it loads.
What are the size targets?
A hero image under 200 KB and a thumbnail (a copy 400 px wide or less) under 30 KB. A file over its target is marked; lower the quality or use WebP or AVIF to bring it down.
Can I make AVIF?
Where this browser can write AVIF files, a tick box under More options adds them, and the code lists AVIF first. Browsers that cannot write AVIF do not show the box.