JPG is great for photos, PNG is best for transparency, and WebP often gives better size-quality balance for modern websites.
Quick pick
- Photos: use
JPGorWebP - Transparent assets: use
PNGor transparentWebP - Website pages: prefer
WebP
Practical advice
If your main goal is page speed and SEO, start with WebP and keep JPG as fallback where needed.