Screenshot Format Comparison

Comparing PNG, JPEG, WEBP, AVIF and GIF to find the best format for your website screenshots

Capturing full-page screenshots is a balance of image quality, performance, and storage. Below, we explore the five most common formats - PNG, JPEG, WEBP, AVIF, and GIF - and help you understand which is best for your needs. We'll also show you how compression affects image quality and file size.


Recommended Format: WEBP is our recommended format for most website screenshots. It offers excellent quality, significantly smaller file sizes than PNG and JPEG, and is supported by modern browsers.

Image Comparison Test

Below we compare screenshots of two different websites (bbc.com and stripe.com) across all five formats, showing both 100% quality and 80% quality versions with file sizes.

Website 1: bbc.com

FormatOriginal Size80% Quality SizeSize Reduction
PNG456KB157KB66%
JPEG259KB83KB68%
GIF183KB183KB0%
AVIF135KB76KB44%
WEBP123KB67KB46%

Original - 456KB 80% Quality - 157KB (66% reduction)
PNG Screenshot - 100% Quality PNG Screenshot - 80% Quality
Original - 259KB 80% Quality - 83KB (68% reduction)
JPEG Screenshot - 100% Quality JPEG Screenshot - 80% Quality
Original - 123KB 80% Quality - 67KB (46% reduction)
WEBP Screenshot - 100% Quality WEBP Screenshot - 80% Quality
Original - 135KB 80% Quality - 76KB (44% reduction)
AVIF Screenshot - 100% Quality AVIF Screenshot - 80% Quality
Original - 183KB 80% Quality - 183KB (0% reduction)
GIF Screenshot - 100% Quality GIF Screenshot - 80% Quality
  

https://api.addscreenshots.com/screenshots
?apikey=
YOUR_API_KEY
&format=png
&url=https://bbc.com

  

https://api.addscreenshots.com/screenshots
?apikey=
YOUR_API_KEY
&format=jpeg
&url=https://bbc.com

  

https://api.addscreenshots.com/screenshots
?apikey=
YOUR_API_KEY
&format=webp
&url=https://bbc.com

  

https://api.addscreenshots.com/screenshots
?apikey=
YOUR_API_KEY
&format=avif
&url=https://bbc.com

  

https://api.addscreenshots.com/screenshots
?apikey=
YOUR_API_KEY
&format=gif
&url=https://bbc.com

Your API key can be found on the API Keys page. Need an API Key? Sign up to get started.
For internal applications, replace YOUR_API_KEY with your own unique API Key.
For public facing websites or hotlinks, generate a signed URL.


Website 2: stripe.com

FormatOriginal Size80% Quality SizeSize Reduction
JPEG164KB51KB69%
PNG109KB29KB73%
GIF59KB59KB0%
WEBP63KB36KB43%
AVIF48KB30KB38%

Original - 164KB 80% Quality - 51KB (69% reduction)
JPEG Screenshot - 100% Quality JPEG Screenshot - 80% Quality
Original - 109KB 80% Quality - 29KB (73% reduction)
PNG Screenshot - 100% Quality PNG Screenshot - 80% Quality
Original - 63KB 80% Quality - 36KB (43% reduction)
WEBP Screenshot - 100% Quality WEBP Screenshot - 80% Quality
Original - 48KB 80% Quality - 30KB (38% reduction)
AVIF Screenshot - 100% Quality AVIF Screenshot - 80% Quality
Original - 59KB 80% Quality - 59KB (0% reduction)
GIF Screenshot - 100% Quality GIF Screenshot - 80% Quality
  

https://api.addscreenshots.com/screenshots
?apikey=
YOUR_API_KEY
&format=png
&url=https://stripe.com

  

https://api.addscreenshots.com/screenshots
?apikey=
YOUR_API_KEY
&format=jpeg
&url=https://stripe.com

  

https://api.addscreenshots.com/screenshots
?apikey=
YOUR_API_KEY
&format=webp
&url=https://stripe.com

  

https://api.addscreenshots.com/screenshots
?apikey=
YOUR_API_KEY
&format=avif
&url=https://stripe.com

  

https://api.addscreenshots.com/screenshots
?apikey=
YOUR_API_KEY
&format=gif
&url=https://stripe.com

Your API key can be found on the API Keys page. Need an API Key? Sign up to get started.
For internal applications, replace YOUR_API_KEY with your own unique API Key.
For public facing websites or hotlinks, generate a signed URL.


Use Cases for Each Format

FormatBest Use CasesFile SizeQualityBrowser Support
PNGDocumentation, UI mockups, text-heavy screenshotsLargestLosslessUniversal
JPEGPhotographic content, e-commerce, general web screenshotsMediumLossyUniversal
WEBPModern websites, performance-critical applicationsSmallLossy/LosslessModern browsers
AVIFHigh-traffic sites, CDNs, bandwidth-sensitive applicationsSmallestLossy/LosslessMost Modern browsers
GIFAnimated demonstrations, UI tutorialsMedium-LargeLimited colorsUniversal

When to Use Each Format

When to Use PNG

PNG (Portable Network Graphics) is a lossless image format that preserves all image data. It's ideal for:

  • Screenshots requiring perfect clarity and sharpness
  • Images with text, lines, or sharp edges
  • Images that need transparency
  • When file size is less important than quality

Best for: Documentation, UI mockups, and any screenshot where detail preservation is critical.

When to Use JPEG

JPEG (Joint Photographic Experts Group) is a lossy compression format that reduces file size by discarding some image data. It's ideal for:

  • Photographic content and complex images
  • When file size reduction is important
  • Websites with many images where loading speed matters
  • Images where minor quality loss is acceptable

Best for: E-commerce product screenshots, blog post images, and general website screenshots.

When to Use WEBP

WEBP is a modern image format developed by Google that offers superior compression compared to JPEG and PNG. It's ideal for:

  • Websites where loading speed is critical
  • When you need both good quality and small file size
  • Modern browsers that support WEBP
  • Reducing bandwidth usage and improving page load times

Best for: Modern websites, mobile applications, and any scenario where performance is prioritized.

When to Use AVIF

AVIF (AV1 Image File Format) is the newest image format, offering exceptional compression while maintaining high quality. It's ideal for:

  • Maximum file size reduction without significant quality loss
  • Modern websites targeting browsers that support AVIF
  • When bandwidth savings are critical
  • High-resolution screenshots where quality must be preserved

Best for: High-traffic websites, mobile applications, and content delivery networks where bandwidth costs matter.

When to Use GIF

GIF (Graphics Interchange Format) is a bitmap image format that supports animation. It's ideal for:

  • Animated screenshots or demonstrations
  • Simple animations with limited colors
  • When you need to show a sequence of actions
  • Creating engaging visual content

Best for: UI demonstrations, animated tutorials, and interactive feature showcases.


Image Quality and Compression

Our screenshot API allows you to control image quality through compression. The examples above show both 100% quality and 80% quality versions of the same screenshots. Here's what you need to know:

  • 100% Quality: Maximum quality with no compression applied
  • 80% Quality: Balanced compression that significantly reduces file size while maintaining good visual quality
  • Compression Impact: Most noticeable in JPEG, WEBP, and AVIF formats, with minimal impact on PNG and GIF

Pro Tip: For most website screenshots, 80% quality provides an excellent balance between file size and visual quality. You can adjust this value in the API to find the perfect balance for your specific needs.