Guides · Formats
JPG vs PNG vs WebP — when to use each
Three formats cover nearly every image you'll ever save. They differ in exactly four ways — compression, transparency, file size and compatibility — and picking right is a ten-second decision once you know them.
The short version
| Best for | |
|---|---|
| JPG | Photographs you need to share anywhere. Lossy compression, tiny files, opens on everything made in the last 30 years. No transparency. |
| PNG | Screenshots, text, logos and anything needing transparency. Lossless — every pixel preserved — but photos come out 3–10× larger than JPG. |
| WebP | Images for the web. Does lossy and lossless, supports transparency, and beats JPG by roughly 25–35% on size. Weak spot: older desktop software and some print shops can't open it. |
JPG — the universal photograph format
JPG (or JPEG) compresses by throwing away detail your eye is unlikely to notice, controlled by a quality setting from 1–100. At quality 80–90 a photo is typically 80–95% smaller than the raw image with no visible loss. Its weaknesses are structural: no transparency (transparent areas become solid), and it mangles sharp edges — text and line art get fuzzy halos. Every camera, phone, browser and program opens JPG, which is why it remains the safe default for sharing photos. Convert with PNG to JPG or WebP to JPG.
PNG — the exact-copy format
PNG compression is lossless: save and re-save a PNG a hundred times and it never degrades, unlike JPG which loses a little on every save. It also supports full transparency, making it the format for logos, cut-outs and overlays. The cost is size — a photograph saved as PNG is commonly 3–10 times larger than the same photo as JPG, because photos are full of the gradual colour changes lossless compression handles worst. Rule of thumb: if it came from a camera, PNG is probably wrong; if it came from a screen or needs a transparent background, PNG is probably right. Convert with JPG to PNG.
WebP — the modern web format
Google created WebP in 2010 to replace both: it offers lossy compression that beats JPG by 25–35% at matched quality, a lossless mode about 26% smaller than PNG, plus transparency and animation in one format. Every major browser has supported it since 2020, so for anything published on the web it's now the sensible default. The friction is off the web: older versions of Photoshop, Word, and many print and signage shops still can't open WebP files, and Windows' built-in viewer needed an extension until recently. If a WebP won't open where you need it, convert it to JPG; to publish smaller images, go the other way with JPG to WebP or PNG to WebP.
The ten-second decision
Ask two questions. Where will it live? On a website → WebP. Anywhere else → keep going. What is it? A photograph → JPG. A screenshot, logo, or anything with text or transparency → PNG. And whatever you choose, keep the original as your master: conversions to JPG and lossy WebP are one-way doors.
Frequently asked questions
Which format is best for websites?
WebP for photos and graphics in most cases — it's 25–35% smaller than JPG at the same quality and every modern browser supports it. Keep a JPG fallback only if you must support very old software. For logos and icons, SVG beats all three when you have a vector source.
Which format is best for printing?
PNG or a high-quality JPG. Print shops know both; many still can't open WebP. Use PNG when the image has text or flat graphics, JPG (quality 90+) for photographs — and check the pixel dimensions against the print size before sending.
Does converting PNG to JPG lose quality?
Yes, a little — JPG is lossy, so the conversion discards some data, and any transparency becomes a solid background (white by default). For a photograph you'll never see the difference; for a screenshot with small text, you will. Keep the PNG as your master copy.
Why do my screenshots look bad when I save them as JPG?
JPG compression is designed for the smooth gradients of photographs. Sharp edges — text, UI lines, flat colour blocks — produce visible smudging and speckles ("artifacts") around them. Screenshots are exactly the images PNG was made for.
Is WebP always smaller than JPG?
For photos, almost always — Google's comparative study found WebP 25–34% smaller at equivalent quality. For tiny images (a few KB) or already-heavily-compressed files the difference can vanish, and occasionally a specific image compresses marginally better as JPG. Test with the actual file if size is critical.