Image Optimizer for Web
Convert and optimize images for different uses with this image optimizer for web. Transform images between formats while maintaining quality.
When to Use This Tool
Optimizing images specifically for website performance.
Key Benefits
- Better PageSpeed scores
- Faster load times
- Lower bounce rates
- Improved SEO
Pro Tip
Aim for images under 100KB for most web use. Hero images can be 200-300KB maximum.
Supported Formats
| Format | Best For | Supports |
|---|---|---|
| JPEG | Photos | Lossy compression |
| PNG | Graphics, screenshots | Transparency, lossless |
| WebP | Web images | Both lossy and transparency |
| GIF | Animations | Limited colors |
Optimization Tips
1. Use JPEG for photos to reduce file size 2. Choose PNG when you need transparency 3. Consider WebP for modern browsers 4. Compress images before uploading to websites
Sizing Images for the Web
Images are usually the largest thing on a page and the most common cause of a poor Largest Contentful Paint score.
| Purpose | Max width | Format | Quality |
|---|---|---|---|
| Hero banner | 1920px | WebP | 80 |
| Content image | 1200px | WebP | 80 |
| Thumbnail | 400px | WebP | 75 |
| Icon | SVG where possible | ā | ā |
- Serve responsive sizes. A 1920px hero delivered to a 375px phone wastes about 96% of the
srcset and sizes.
- Set width and height. Without them the page reflows when the image lands, which is a
- Lazy-load below the fold, and explicitly *do not* lazy-load the LCP image ā
loading="lazy" on a hero delays the exact element the metric measures.Target under 200 KB for a hero and under 100 KB for content images.
Sizing Before Compressing
Resizing beats compressing. Halving an image's dimensions removes 75% of its pixels, which no quality setting can match, and a 4000px photo displayed at 800px is wasting 96% of what it downloads.
| Displayed at | Serve (1Ć) | Serve (2Ć for retina) |
|---|---|---|
| 400px | 400px | 800px |
| 800px | 800px | 1600px |
| 1200px | 1200px | 2400px |
Quality Settings That Hold Up
| Setting | Looks | Use for |
|---|---|---|
| 95ā100 | Indistinguishable, large | Masters and print |
| 80ā90 | Very good | Hero images, product photography |
| 70ā80 | Good | Most web content |
| 50ā70 | Visible artefacts on detail | Thumbnails |
| Below 50 | Obvious | Nothing |
Everything Runs Locally
Conversion and compression here use a canvas in your own tab. No file is uploaded, nothing is stored, and the work continues offline once the page has loaded. That is worth knowing for anything containing faces, documents or unreleased work ā most online image tools upload by necessity, because they process server-side.
Getting the Rest of the Win
- Serve modern formats with a fallback.
with AVIF, then WebP, then JPG. - Always set
widthandheight. Without them the page reflows on load, which
- Lazy-load below the fold ā and never the hero, since
loading="lazy"on it delays
- Strip metadata. EXIF can carry GPS coordinates and adds weight to every copy.