Speeding up your website
Images make up most of a web page’s weight. Smaller WEBP images at the same quality load faster and help with Google’s page speed assessment.
Keep the JPG or switch to WEBP?
| Where it’s used | Recommended | Why |
|---|---|---|
| Your own website, blog or product pages | WEBP | Smaller at the same quality, so pages load faster |
| Photos sent by chat app or email | JPG | Opens regardless of the recipient’s device or software |
| Upload forms (government, job applications, etc.) | JPG | Accepted formats are often limited to JPG and PNG |
| Archiving original photos | Original JPG | Every re-compression throws away a bit more detail |
Choosing the quality
- High (recommended): Hard to tell apart from the original. Use it where detail matters, such as product photos.
- Medium (smaller file): Enough for most on-screen use, like photos in a blog post, with a clearly smaller file.
- Low (smallest file): Fine for thumbnails or background images shown small. Edges can smear when viewed large.
Going from JPG to WEBP means a second round of lossy compression. To try a different quality, convert again from the original JPG, not from a WEBP you already made.
Shrinking the pixel size too
Original photos from phones and cameras are usually far wider than a web page’s content area. If changing the format alone doesn’t cut the size enough, choose WEBP in Compress image and reduce the dimensions as well (for example, 1920 or 1280 pixels on the long side).
How it works
The photo is turned upright using its orientation data and saved with the browser’s WEBP encoder at the chosen quality. Pixel dimensions stay the same, and EXIF data such as capture date or location is not included.
What is a JPG file?
JPG (or JPEG) is the most common photo format. It uses lossy compression that discards detail the eye barely notices, which keeps files small — ideal for photos, scans and sharing by email or messenger. Every device, browser and image app can open it.
JPG does not support transparency, and repeated re-saving slowly reduces quality. Cameras and phones also store an orientation tag (EXIF) that tells apps how to rotate the picture for display.
What is a WEBP file?
WEBP is an image format Google introduced in 2010 for the web. It supports both lossy compression (for photos) and lossless compression, as well as transparency and animation. Files are smaller than JPG or PNG at similar quality, so many websites serve their images as WEBP.
Modern browsers and the Windows Photos app open it, but some older editors and upload sites don’t accept WEBP.