Prepare responsive images for websites

Open a photo and create up to three widths for different screens. Compare the file sizes and download the images and HTML code in one ZIP.

Free, with no account. The image is processed in your browser.

How to prepare a responsive image

  1. Choose a photo and enter the widths you need.
  2. Compare the actual file sizes of WebP and, if selected, AVIF.
  3. Unzip the download and keep the images in the same directory as the HTML snippet. Adjust the paths if you put them elsewhere.

In Chrome, the sample photo was 1,600 × 1,104 pixels and 330,132 bytes. At 960 pixels wide, the WebP was 28,364 bytes and the AVIF was 40,983 bytes. Compare the file sizes to choose what works for each photo.

Responsive images guide

Frequently asked questions

What do picture, srcset and sizes do?

The picture element offers AVIF to browsers that support it and WebP to other browsers with WebP support. Srcset lists files by width. Sizes tells the browser how much room the image takes in your layout.

What if the photo is small?

The tool preserves the original resolution as an upper limit. It caps any larger widths and removes duplicates.

What if I need to support older browsers?

The generated HTML uses WebP as the fallback. If you need to support browsers without WebP, create a JPG or PNG in the image converter and use it as a further fallback.

Is the photo uploaded to Lyntev?

No. The tool processes images in your browser. On first use it downloads the software and codecs without uploading the photo.