image·optimizer

Resize, compress and convert images to WebP. Runs entirely in your browser.

From computer

The fastest way. Select one or more images to process.

Scan a web page

Enter a URL to find and process all images on that page.

From direct URLs

Paste a list of image URLs, one per line.

From page source

Paste the full HTML and the original page URL.

⭐ For power users

This console snippet finds all images, including lazy-loaded and CSS backgrounds.

(() => {
  const imgSrcs = Array.from(document.querySelectorAll('img')).map(img => img.src || img.dataset.src);
  const bgImgs = Array.from(document.querySelectorAll('*')).flatMap(el => {
    const style = window.getComputedStyle(el);
    const bgImg = style.backgroundImage;
    if (bgImg && bgImg !== 'none') {
      const match = bgImg.match(/url\("?(.+?)"?\)/);
      return match ? [match[1]] : [];
    }
    return [];
  });
  const allUrls = [...new Set([...imgSrcs, ...bgImgs])]
    .filter(Boolean)
    .map(url => new URL(url, window.location.href).href)
    .filter(url => url.startsWith('http'));
  copy(allUrls.join('\n'));
  console.log(`✅ ${allUrls.length} image URLs found and copied to your clipboard! Paste them into the "From Direct URLs" box.`);
})();