Cookies for analytics and advertising
We use cookies for analytics and advertising, both sent to Google. Refusing changes nothing you can see.Read the privacy page
WebP at the same visual quality is roughly a quarter to a third smaller.
Choose JPG when
When the file has to work everywhere without thinking — a CV, a marketplace listing, a printer, a decade-old phone. JPG is the most universally readable image there is.
Choose WebP when
On a website you control. Same photograph, same apparent quality, meaningfully fewer bytes, and every browser in current use reads it.
Converting an existing JPG to WebP does not recover what JPG already discarded. It re-compresses an already lossy image, so start from the original if you still have it.
WebP has nowhere to put IPTC fields, which hold captions, credits and keywords and the GPS coordinates, so those go no further than the JPG. Worth checking before the original is deleted, and worth knowing if the point was to strip it.
WebP supports transparency and JPG does not. That is room the result has and the original never used — converting does not create a transparent background, it only makes one possible afterwards.
WebP can hold animation; a JPG is one frame. The result is a single-frame file in a format that could hold more.
Adobe Photoshop and GIMP read both JPG and WebP, so there is a way to check the result against the original without a second tool.
The result is larger than the original and no better. JPG has already discarded detail, and WebP stores what is left without discarding more — it prevents further loss rather than undoing the first one.
JPG is Joint Photographic Experts Group's format, published in 1992. It records 8 bits per channel.
WebP comes from Google and dates from 2010, specified as RFC 9649. Adobe Photoshop, GIMP and Squoosh all read it.
JPG was published in 1992 and WebP in 2010. The older one is generally the safer file to hand to somebody; the newer one usually does the job in fewer bytes.
JPG has no alpha channel. A transparent WebP comes out with those areas filled in — white unless something else is set — and no setting in JPG brings the transparency back.
JPG holds a single still image. An animated WebP keeps its first frame and loses the rest, so a conversion is a way to take a still out of one, not a way to move it.
Adobe Photoshop and GIMP read both WebP and JPG, so there is a way to check the result against the original without a second tool.
The file gets substantially smaller, and it gets smaller by discarding detail. WebP keeps everything; JPG keeps what the eye is poor at noticing. On a photograph that trade is close to free; on text, a screenshot or a line drawing it is visible as haloing around the edges.
WebP is Google's format, published in 2010. It records 8 bits per channel.
JPG comes from Joint Photographic Experts Group and dates from 1992, specified as ITU-T T.81. Adobe Photoshop, GIMP and Preview all read it.
JPG was published in 1992 and WebP in 2010. The older one is generally the safer file to hand to somebody; the newer one usually does the job in fewer bytes.






| JPG | WebP | |
|---|---|---|
| Full name | JPEG Image | WebP Image |
| Extension | .jpg, .jpeg, .jpe | .webp |
| Media type | image/jpeg | image/webp |
| Compression | Lossy — file size is bought with quality | Either, depending on the setting |
| This site can write it | Yes | Yes |
Which to choose
Both are lossy formats for photographs, and they work the same way in outline: discard detail the eye is unlikely to miss, describe what is left compactly. JPEG was standardised in 1992 and WebP in 2010, and the eighteen years between them are most of the difference.
WebP’s compression comes from video coding — it is a still frame of the VP8 codec — and it brings techniques JPEG predates: better prediction from surrounding blocks, a smarter transform, and an entropy coder that squeezes more out of what remains. At comparable visual quality the file is typically twenty-five to thirty-five per cent smaller.
On a page with one photograph, nothing you would notice. On an e-commerce category page with forty product images, a third off the largest thing on the page is the difference between a site that feels immediate and one that does not — and it is measured directly by the metric search engines use for page experience.
It also compounds on mobile connections, where the bytes arrive slowly and the visitor is most likely to leave. If images are the bulk of a page’s weight, and on most pages they are, converting them is the single highest-return performance change available.
Transparency, with a real alpha channel — so a product photograph cut out from its background can be a WebP where it previously had to be a PNG at several times the size. That is a bigger practical win than the compression on many sites.
And a lossless mode, which JPEG has no useful equivalent of. So one format covers photographs, cut-outs and interface graphics, where a site previously needed JPG for one and PNG for the others. Fewer formats in a build pipeline is worth something on its own.
Everywhere that is not a browser. Every camera writes JPEG, every phone gallery opens it, every printing service takes it, every upload form accepts it, every email client shows it, and every piece of software written in the last thirty years reads it. Nothing else in imaging is that universal.
So the rule is about destination, not quality. A photograph going onto a web page: WebP. A photograph being emailed, printed, uploaded to somebody else’s system, or handed to a person: JPG. Sending a WebP to a client and being asked what the file is is a conversation nobody needs.
This is the mistake worth naming. Converting an existing JPG to WebP re-encodes an image that has already been compressed lossily. The artefacts from the first pass are treated as detail and preserved faithfully, and new ones are added on top.
The saving is real and the quality is a generation down from what it should be. Where possible, generate the WebP from the original — the camera file, the master, the export from the design tool. Where that is impossible, converting is still usually worth doing at a high quality setting, and it should be a considered decision rather than an automatic one.
A picture element takes several sources and the browser picks the first it understands. Put the WebP first and the JPG second and every visitor gets the best file their browser can read, with no detection and nothing to maintain.
Most content management systems and image services now do this automatically — they store one original and deliver whichever format the requesting browser advertises. If your platform offers that, it is the whole job, and hand-converting an image library is unnecessary work.
AVIF is smaller again on photographs, often by another twenty to thirty per cent against WebP, and it handles gradients and skies with less banding. It is also considerably slower to encode, which matters when a site generates images on upload.
Both are read by every current browser, so the sensible arrangement is AVIF first, WebP second, JPG as the fallback. If that is more pipeline than the site justifies, WebP with a JPG fallback captures the great majority of the benefit for a fraction of the effort.
For serving photographs on a web page, yes — typically 25 to 35 per cent smaller at comparable quality, plus transparency and a lossless mode JPEG has no equivalent of. Outside a browser, JPG is the file that always works, and that is what keeps it.
With care. Converting re-encodes an already lossy image, so the first pass’s artefacts are preserved and new ones added. Generate WebP from the original where you can. Where you cannot, convert at a high quality setting and treat it as a considered trade rather than a free win.
Better not to. Email clients, older phone galleries, plenty of desktop software and many upload forms do not handle it. For anything a person receives directly, send JPG.
Yes, with a full alpha channel — which JPEG has none of. That lets a cut-out product photograph be a WebP instead of a PNG at several times the size, and on many sites it is a bigger saving than the compression itself.
Not for browsers — every current one reads WebP. Keep the JPG anyway as the file you send, print and upload elsewhere, and serve it as a picture element fallback if you want the belt and braces.
AVIF is smaller again on photographs and much slower to encode. Both are supported everywhere current, so the best arrangement serves AVIF first, WebP second and JPG as the fallback. WebP alone still captures most of the benefit.
The claims this page makes about JPG and WebP are checkable, and these are the documents that settle them.