EN
PortuguêsEnglishEspañol
All tools
Image tools 100% free

Optimize images for your website

Choose the photos. The tool creates versions at several widths, in WebP, and builds the responsive HTML: the browser downloads only the size the screen needs.

How to use

Thank you so much for helping!

Every donation helps pay for the servers and keeps the tools free for everyone. Pick or type an amount:

Secure payment by Stripe. Opens in a new tab.

Back to Image

Light, responsive images

Choose or drag your site’s imagesThe images never leave your device.

Available in: PortuguêsEspañolEnglish

Advertisement

Optimize images for your website: what it is for

Choose one or more photos and set the widths (480, 800, 1200 and 1600 px by default), the format (WebP or JPG) and the quality. The tool creates each version without enlarging the photo beyond its original size, shows the weight of each one and builds the responsive HTML with srcset, sizes, width and height and loading=lazy or fetchpriority=high for the top image.

Everything runs in the browser and the photos never leave your device.

How to use

  1. Choose your site's images.
  2. Adjust widths, format, quality and folder.
  3. Download the .zip and copy the HTML into the page.

When to use it

  • Making your site faster on phones.
  • Improving Core Web Vitals LCP and CLS.
  • Preparing product and gallery photos.

Frequently asked questions

Why generate several widths?

A phone doesn't need to download the 1600 px photo made for large monitors. With srcset, the browser picks the smallest version that still looks sharp on screen, and the page loads faster, which also helps Core Web Vitals (LCP).

Does WebP work in every browser?

Yes, in all current browsers (Chrome, Safari since version 14, Firefox and Edge). If you need compatibility with very old devices, choose JPG.

What are width, height and loading=lazy for?

Width and height reserve the image's space before it loads, keeping the page from jumping (CLS). loading=lazy defers images that are off screen. Don't use lazy on the main image at the top of the page.

Are the photos uploaded to a server?

No. Everything happens in your browser; the images never leave your device.

Is it really free?

Yes, 100% free. No sign-up, no subscription and no usage limits. All Tools123 tools are free and run right in your browser.

Similar tools

The tools are provided as is, without warranty. We are not responsible for the results or for how they are used.