Screenshot image formats

Choose the right format for every screenshot.

Compare PNG, JPEG, WEBP, AVIF, and GIF output by file size, visual fidelity, transparency, and browser compatibility.

  • Five output formats
  • Quality controls
  • Direct storage delivery
Output formatRecommended: WEBP
PNG
JPEG
AVIF
GIF
Balanced quality and sizeModern browser support
format=webp
One capture endpointFive output choices
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 pronounced in JPEG, WEBP, and AVIF — but the quality parameter also reduces PNG size substantially by re-encoding the image (a 560 KB PNG dropped to 146 KB at quality 80 in our quality comparison); GIF sees the least benefit

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.

Website Screenshot Format FAQs

Which image format is best for website screenshots?

WEBP is our recommended default for most website screenshots because it keeps file sizes low without sacrificing crisp text and UI details.

When should I choose PNG instead of JPEG or WEBP?

Choose PNG when transparency or pixel-perfect accuracy matters, such as compliance archives or design reviews. For marketing assets, JPEG and WEBP offer excellent compression with negligible visual loss.

Does Add Screenshots support WEBP, AVIF, and GIF outputs?

Yes. Pass the format parameter in the API to return PNG, JPEG, WEBP, AVIF, or GIF files, and pair it with the quality setting to fine-tune compression.

Set the format once, then automate delivery.

Combine your output choice with a reusable quality preset, viewport, and storage destination.

Create an account