PNG vs JPG (and WebP): Which Format Should You Use for Screenshots?

PNG vs JPG (and WebP): Which Format Should You Use for Screenshots?

Every screenshot tool asks, or quietly decides, which file format to use. It matters more than it seems: the wrong choice gives you fuzzy text or a file five times bigger than it needs to be. The good news is that one simple rule covers almost every case.

The rule: if the screenshot is mostly text, icons, code or interface elements, use PNG. If it's mostly a photo, video frame or gradient, use JPG. If you want the smallest file in either case and your tools support it, use WebP.

How each format works

PNG: lossless

PNG keeps every pixel exactly as it was captured. It's very efficient for large areas of flat colour, which is exactly what interfaces are: white backgrounds, solid buttons, crisp text. That's why Windows, macOS and ChromeOS all save screenshots as PNG by default. PNG also supports transparency.

JPG: lossy

JPG throws away detail the eye is unlikely to notice in photographs, which makes photos much smaller. But around sharp edges (letters, lines, icons) it leaves faint blur and blotches called compression artifacts. On a screenshot of text, that makes words look smudged, and re-saving a JPG several times makes it worse each time.

WebP: both

WebP, created by Google, can work either way. In lossless mode it's typically smaller than PNG; in lossy mode it's typically smaller than JPG at similar quality. Browsers, most chat apps and image hosts support it today.

GIF: animation only

GIF is limited to 256 colours. It's fine for short looping animations, but for still screenshots PNG looks better and is usually smaller.

Comparison table

PNGJPGWebPGIF
CompressionLosslessLossyBothLossless, 256 colours
Text and UIExcellentFuzzy edgesExcellent (lossless)OK if few colours
PhotosLarge filesExcellentExcellentPoor
TransparencyYesNoYesOn/off only
AnimationNo*NoYesYes
Opens everywhereYesYesAlmost everywhereYes

* An animated variant (APNG) exists but is less widely used.

Examples

Changing the default format

Keep PNG as your default. Converting a PNG to JPG later is easy, but converting a fuzzy JPG back to PNG doesn't bring the lost sharpness back.

File size in practice

For a typical screenshot of an app window, PNG is usually the smaller format because the image is mostly flat colour. For a screenshot full of photos, JPG can be several times smaller than PNG. If you need to hit an upload limit, read how to reduce screenshot file size.

What happens when you upload

sshot.online accepts PNG, JPG, GIF and WebP up to 3 MB and keeps the format you upload, so a crisp PNG stays crisp. The direct image link even ends in the file's extension, such as .png, so you can embed it in docs, Markdown and forums.

Your screenshot is stored in its original format, with no extra compression, so text stays sharp.

Upload PNG, JPG, GIF or WebP

Frequently asked questions

Is PNG or JPG better for screenshots?

PNG is better for most screenshots because they contain text, icons and flat colours, which PNG keeps perfectly sharp. JPG is better when the screenshot is mostly a photo or video frame.

Why does text look blurry in my JPG screenshot?

JPG compression is lossy. It blurs sharp edges and adds faint smudges, called artifacts, around letters and lines. Save as PNG instead.

Is WebP good for screenshots?

Yes. WebP supports both lossless and lossy compression and usually makes smaller files than PNG or JPG at the same quality. Almost every modern browser and app can open it.

How do I change the default screenshot format on a Mac?

Open Terminal and run defaults write com.apple.screencapture type jpg (or png to go back), then killall SystemUIServer.

When should I use GIF?

Only for short animations. GIF supports just 256 colours, so still screenshots look worse and are often bigger than PNG.

Related articles

← All guides