How to optimize images for the web
- Choose, drop or paste your images.
- Pick a preset, or choose a format, a quality or a target size, and a maximum width or height.
- Select Optimize images. Each file shows its new size and how much was saved.
- Drag the divider in the comparison to check quality, then download files individually or as a ZIP.
Which format to use
| Format | Best for | Notes |
|---|---|---|
| WebP | Almost everything on a website | Usually 25 to 35 percent smaller than JPEG at the same quality. Supports transparency. Works in all current browsers. |
| JPEG | Photos for email, older software and print shops | Opens everywhere. No transparency. |
| PNG (reduced colours) | Logos, icons, screenshots, diagrams | Keeps sharp edges and transparency. 256 colours is often 60 to 80 percent smaller than full-colour PNG. |
| PNG (full colour) | Graphics that must be pixel-perfect | Lossless. Large for photos. |
What the optimizer does
- Resizes images larger than your maximum, which is often the biggest saving. A phone photo is 4000 pixels wide, while most websites show images at 1200 to 1920 pixels.
- Re-encodes at the quality you choose, or finds the highest quality that fits your target size.
- Removes metadata such as GPS location, camera model and editing history. Phone photos are turned upright first, using their rotation tag.
- Never makes a file worse for nothing: if the original is already smaller, it can be kept as it is.
Limits
- Up to 100 images per batch, 60 MB each, and 8192 px or 16.7 megapixels per output image.
- Animated GIFs are converted from their first frame only. Use the Video to GIF tool for animations.
- AVIF output is not offered because most browsers cannot create AVIF files yet. AVIF input works where your browser can open it.
- Colours are converted to sRGB, the standard for the web.
Frequently asked questions
Which format should I choose for my website?
WebP is usually the smallest and works in all current browsers. Use JPEG for the widest compatibility with older software, and PNG for logos, screenshots and graphics that need sharp edges or transparency.
How does the target file size work?
The tool tries different quality levels and keeps the best-looking version that fits under your target. If the image can't get that small, it can also reduce the dimensions step by step, and it tells you what it did.
Does optimizing remove metadata?
Yes. Optimized files are newly encoded without EXIF data such as GPS location, camera model or date.
What if the optimized file is bigger than the original?
That can happen with images that are already well compressed. With Keep original if smaller turned on, the tool keeps your original file and tells you.