WebP vs JPG: which should you use?
WebP vs JPG at a glance
| WebP | JPG | |
|---|---|---|
| Full name | WebP | Joint Photographic Experts Group (JPEG) |
| File extension | .webp | .jpg, .jpeg |
| Introduced | 2010 | 1992 |
| Created by | Joint Photographic Experts Group | |
| Compression | Lossy or lossless | Lossy |
| Transparency | Yes | No |
| Animation | Yes | No |
| Support | All modern browsers; some older desktop apps can’t open it | Every browser, app and device |
When to use WebP
WebP is a modern image format from Google that produces files 25–34% smaller than JPG at similar quality (according to Google’s WebP study), while also supporting transparency and animation.
- Website images
- Replacing both JPG and PNG on the web
- Animated images smaller than GIF
When to use JPG
JPG (or JPEG) is the most widely used image format for photographs. It shrinks files by discarding detail the eye is unlikely to notice, which makes it ideal for photos but poor for sharp text and logos.
- Photos for the web and email
- Uploading to forms and portals
- Maximum compatibility