WebP vs JPG: Which Is Better for Websites?

Written by

in

You download a photo from a website and it arrives as a .webp file. Your editor refuses to open it, your email app will not attach it, and you wonder whether you should have saved it as a JPG instead. Or you run a website, and you have read that WebP files are smaller and faster, but you are not sure whether switching from JPG is safe. Both questions have the same answer at their core: WebP and JPG are built for different jobs, and the right choice depends on where the image will be seen. This guide explains the difference in plain terms, with real file size numbers, so you can choose correctly every time. If you already have a WebP file that needs to become a JPG, our WebP to JPG converter does the conversion in your browser, with no upload and no sign-up.

1. The short answer: WebP for the web, JPG for everywhere else

Use WebP for images on a website you control. A WebP file is typically 25 to 35 percent smaller than a JPG of similar visual quality, so a page full of WebP images loads faster and costs less bandwidth than the same page full of JPGs. Every current browser displays WebP, so your visitors will see the images exactly as intended. Use JPG when the image has to work everywhere, with no exceptions: email attachments, print shops, upload forms, older software, and sharing with people whose apps you cannot control. JPG opens on every phone, computer, printer, and app made in the last twenty years, and WebP still does not.

That short answer covers most decisions, and the rest of this guide is the evidence behind it. A product photo on your own shop can be a WebP, because you control the page and every visitor arrives in a modern browser. The same photo attached to an email should be a JPG, because you do not control the email program at the other end. A blog hero image can be a WebP, because the speed saving helps every reader. A photo you send to a print shop should be a JPG, because print services list JPG as an accepted format and may refuse WebP outright. If you remember only one line, remember this: WebP wins on size where you control the viewing, and JPG wins on compatibility where you do not.

There is one case that decides the format for you before anything else. If the image needs a transparent background, so that the page behind it shows through, WebP can do it and JPG cannot. A logo with a transparent background saved as a WebP stays transparent. The same logo saved as a JPG sits on a solid white rectangle. Transparency alone is enough reason to pick WebP over JPG, whatever the file size. Section 7 covers transparency in full.

2. What WebP is: a modern format built by Google for the web

WebP is an image format developed by Google for pictures on the web. Google announced it in September 2010, building it from the VP8 video codec, with one clear goal: make web images smaller without making them look worse. Websites serve billions of images every day, and a format that shrinks each image by a quarter or a third saves an enormous amount of loading time and bandwidth. That is why so many websites now serve WebP versions of their images by default, and why so many of the files you download from the web arrive with a .webp extension even when you never asked for one.

WebP is unusual because it does two jobs in a single format. It supports lossy compression, like JPG, which throws away detail the eye is unlikely to notice in order to shrink the file. It also supports lossless compression, like PNG, which keeps every pixel exactly. One format can therefore cover jobs that used to need two different formats. A photograph can be a lossy WebP, small and good looking. A logo can be a lossless WebP, exact and transparent. No other common format from the same era does both.

The format also handles transparency with an alpha channel, so a WebP image can have see-through areas just like a PNG. It can even be animated, like a GIF, although most WebP files you download from a website are still pictures, not animations. And it stores colour at 8 bits per channel, the same as JPG, which means 256 levels each of red, green, and blue, or about 16.7 million possible colours in total. That is more than enough for a photograph, which is why WebP photos look natural.

Google published figures for the size saving, and the numbers are specific. Lossy WebP is roughly 25 to 34 percent smaller than a comparable JPG, and lossless WebP is about 26 percent smaller than a comparable PNG. Those are Google’s own published figures, and they match what the converter pages on this site report. The saving comes from a more modern compression method than the one JPG uses. JPG was published in 1992, and its compression was designed for the computers of that time. WebP was designed nearly twenty years later, with better maths and more computing power available, so it squeezes the same picture into fewer bytes.

WebP has one honest weakness, and it is not image quality. It is acceptance. Browsers have supported WebP for years, but older desktop software, email clients, office programs, and upload forms have been slower to catch up. A WebP file that displays perfectly in Chrome may be refused by an older photo editor on the same computer, or by a job portal upload form that only lists JPG and PNG as accepted formats. That gap is closing every year, but it has not closed completely, and it is the reason JPG still has a job.

3. What JPG is: the universal photo format

JPG, also written JPEG, stands for Joint Photographic Experts Group, the committee that created the format. It was published in 1992, and it became the standard format for digital photographs because it solves the central problem of photography on computers: a photo contains a huge amount of data, and JPG shrinks it to a manageable size by throwing away detail the human eye is unlikely to notice. That process is called lossy compression, because some of the original image data is lost every time a JPG is saved.

The way JPG compression works is worth understanding, because it explains both its strength and its weakness. A JPG divides the image into small blocks, typically 8 pixels by 8 pixels, and looks at how the colour changes across each block. In a photograph, neighbouring pixels are usually very similar, so the format can describe a block approximately instead of storing every pixel exactly. It keeps the broad shapes and colours and discards fine detail, especially in areas of subtle colour change. The result is a file that is much smaller than the original, and at a sensible quality setting the missing detail is hard to spot.

JPG stores colour at 8 bits per channel, which means 256 levels each of red, green, and blue, or about 16.7 million possible colours in total. That is more than enough for a photograph, which is why JPG photos look natural. The format has a quality setting, typically on a scale from 0 to 100, and the converter on this site uses a quality of 90 for JPG output. A higher number keeps more detail and makes a larger file. A lower number throws away more detail and makes a smaller file, but the damage becomes visible as blocky patches, halos around edges, and smudged areas of flat colour. Those visible faults are called compression artifacts, and once they are in a JPG, saving the file again cannot remove them.

JPG has no support for transparency. Every JPG pixel has a colour, and there is no channel that can say “let the background show through here”. That is a deliberate trade, not an oversight. The format was designed for photographs, and photographs never need transparency. The format also has no support for animation. A JPG is always a single still image, and it always has a solid background, even if that background is plain white.

The strength of JPG is not file size. WebP beats it there. The strength of JPG is that it works everywhere, with no exceptions. Cameras save photos as JPG by default, phones save photos as JPG by default, websites serve photos as JPG, email accepts JPG without complaint, printers accept JPG, and every image editor made in the last twenty years opens JPG. You will never send someone a JPG they cannot open, and you will never upload a JPG a website rejects. For anything that has to travel beyond your own control, JPG is still the safe default, and that universality is worth more than the file size saving in many real situations.

4. WebP vs JPG compared side by side

The table below puts the two formats side by side on the points that decide a real choice. Read it as a checklist rather than a scoreboard. Neither format wins overall. Each one wins the job it was designed for, and loses the other job.

Feature WebP JPG
Compression Lossy or lossless, both in one format Lossy only, throws away detail to shrink the file
File size for photos Smaller, typically 25 to 35 percent smaller than JPG Larger, the older and less efficient format
Image quality Very good at similar quality, smaller file for the same look Very good for photos at quality 80 to 95, visible artifacts at low quality
Transparency Full alpha channel, including soft and partial transparency None, every pixel has a solid colour
Animation Yes, WebP can be animated like GIF None, always a single still image
Colour depth 8 bits per channel, about 16.7 million colours 8 bits per channel, about 16.7 million colours
Re-saving Loses a little quality every time a lossy WebP is re-saved Loses a little quality every time it is re-saved
Browser support All current browsers: Chrome, Edge, Firefox, Safari 14 and later, Opera Every browser ever made, with no exceptions
App and device support Good in modern apps, uneven in older software, email, and office programs Universal, every phone, printer, editor, and upload form
Best for Website images, blog photos, product photos, logos with transparency Email, printing, uploads, sharing with unknown recipients
Year published 2010 1992

Two rows of that table do most of the work. The file size row explains why websites prefer WebP, and the app support row explains why JPG is still the safe choice for sharing. If you are choosing between the formats for a single image, ask two questions in order. First, does the image need to work in a place you do not control, such as an email, a print shop, or an upload form? If yes, use JPG, and the discussion is over. Second, is the image for a website you control? If yes, use WebP, because the smaller files make the page faster and the quality is the same to the eye. Those two questions settle almost every case, and the rest of this guide covers the cases where they do not.

It is also worth knowing what the table does not say. Both formats store the same 16.7 million colours, so neither one has a colour advantage for ordinary photos. Both formats are lossy in their usual settings, so both lose a little quality on every re-save. The difference between them is not how good the picture looks. It is how many bytes the picture costs, and how many places will open it. Those are practical questions, not artistic ones, and the table answers them directly.

5. Worked examples: what the file size difference looks like in real numbers

General statements about file size are easy to agree with and hard to act on, so here are four worked examples with real numbers, all taken from the converter pages on this site. The arithmetic is shown in full, so you can check it yourself.

Example 1: a product photo, WebP against JPG, from the WebP to JPG converter page. A product photo saved from an online store lands on your computer as product.webp and weighs 240 KB. Drop it into the converter and you download product.jpg at about 310 KB. The JPG is larger because JPG compresses less efficiently than WebP. The increase is 310 minus 240, which is 70 KB, and 70 divided by 240 is 0.292, so the JPG is about 29 percent larger than the WebP. Look at it the other way: the WebP is 70 KB smaller, and 70 divided by 310 is 0.226, so the WebP is about 23 percent smaller than the JPG. That sits just below the typical range of 25 to 35 percent smaller, because this particular photo compresses well in both formats. The JPG costs an extra 70 KB and buys one thing: it opens in the photo editor, attaches to the email, and prints at the office without any error message.

Example 2: a photograph compressed to WebP at three quality levels, from the Compress WebP page. The test photo is an 800 by 600 pixel JPEG photograph weighing 58,520 bytes. At quality 95 it becomes a WebP of 22,934 bytes. The saving is 58,520 minus 22,934, which is 35,586 bytes, and 35,586 divided by 58,520 is 0.608, so the WebP is about 61 percent smaller than the JPG. At the default quality of 80 it becomes a WebP of 10,266 bytes. The saving is 58,520 minus 10,266, which is 48,254 bytes, and 48,254 divided by 58,520 is 0.825, so the WebP is about 82 percent smaller. At quality 10 it becomes a WebP of 6,290 bytes, which is about 89 percent smaller, but visibly softer. The lesson is that the quality slider is a real trade: quality 95 keeps nearly everything and still saves 61 percent, quality 80 is the sweet spot for the web, and quality 10 buys a tiny file at a visible cost.

Example 3: a photographic GIF converted to WebP, from the GIF to WebP converter page. A 320 by 240 pixel photographic-style GIF weighs 17,487 bytes. Converted to WebP at the default quality of 85, it becomes a 1,622 byte WebP. The saving is 17,487 minus 1,622, which is 15,865 bytes, and 15,865 divided by 17,487 is 0.907, so the WebP is about 91 percent smaller than the GIF, at the same 320 by 240 dimensions. At quality 90 the same file becomes 2,162 bytes, and at quality 30 it becomes 1,070 bytes. The pattern is the same as in example 2: each step down the quality slider buys a smaller file, and the biggest savings come from the first steps down from the top. This example also shows why WebP has largely replaced GIF for still images on the web: the same picture, a tenth of the size.

Example 4: a whole web page of photos, using the numbers from example 1. Imagine a shop page with ten product photos, each one 240 KB as a WebP and 310 KB as a JPG. As WebP, the ten photos together are 10 times 240, which is 2,400 KB. As JPG, they are 10 times 310, which is 3,100 KB. The saving is 3,100 minus 2,400, which is 700 KB, and 700 divided by 3,100 is 0.226, so the WebP page carries about 23 percent less image data. On a fast connection that is a fraction of a second. On a slow mobile connection it is the difference between a page that appears promptly and a page that keeps the visitor waiting. Multiply that across every page of a shop, and the saving is the reason websites switched.

The pattern across all four examples is consistent. WebP is smaller than JPG at the same visible quality, and the saving is large enough to matter on a website, where ten or twenty images add up. The saving is not free: it costs compatibility in older software. But for images served on a website you control, the saving is real money in loading time, and that is why the format exists.

6. Quality and compression: lossy, lossless, and what you actually lose

Both WebP and JPG, in their usual settings, are lossy formats. That means they shrink a file by throwing away image detail permanently. The detail they throw away is detail the human eye is unlikely to notice: subtle texture in a smooth sky, faint variation in a shadow, tiny colour shifts in a busy background. At a sensible quality setting, the missing detail is hard to spot, and the file is much smaller. At a low quality setting, the damage becomes visible as blocky patches, soft edges, and banding across smooth gradients.

The difference is that WebP gives you a choice JPG does not. WebP supports lossless compression as well as lossy compression, in the same format. A lossless WebP keeps every pixel exactly, like a PNG, and Google’s published figures put it about 26 percent smaller than a comparable PNG. A lossy WebP throws away detail like a JPG, and is roughly 25 to 34 percent smaller than a comparable JPG. So WebP can be the exact format when exactness matters, and the small format when size matters, without switching to a different file type.

JPG has no lossless mode. Every JPG is lossy, at every quality setting, including quality 100. That matters when you edit and re-save. Open a JPG, make a small change, and save it again, and the file is compressed a second time. The second compression starts from an image that already lost detail, and it throws away a little more. Do that ten times and the damage adds up. The image gets softer, the artifacts get stronger, and the colours drift slightly. The same is true of a lossy WebP. A lossless WebP, by contrast, can be opened and saved again as often as you like with no loss at all, which is why lossless WebP is a good working format for graphics you will keep changing.

There is a practical habit that follows from this. Keep the original file. If your camera saved a JPG, keep that JPG untouched in a folder you do not edit, and make every resized, cropped, or compressed version from it. If you edited a photo in an editor, keep the editor’s own project file or a lossless copy as the master, and export a fresh WebP or JPG only at the end, when the image is finished. Never edit the only copy of a photo, and never re-save a JPG that has already been through several rounds of saving. The original is the only version that has all the detail, and once it is gone, it cannot be recovered.

Converting between the formats also costs a little quality, and it is worth understanding why. WebP is usually a lossy format, and re-encoding it as a JPG is another lossy step. At normal quality settings the difference is invisible, but the conversion does not restore detail, and it does not add any. A WebP converted to JPG is a copy of the WebP as it is now, with one more round of compression on top. The same applies in reverse: a JPG converted to WebP does not gain back the detail the JPG lost when it was first saved. Conversion changes the container and the compatibility. It never improves the picture. If you need the best quality, go back to the original file and export a fresh copy at a higher quality setting.

The quality setting itself is simple to use once you know the ranges. On the converter pages on this site, JPG output uses a quality of 90 by default, which keeps photos sharp while keeping the file reasonably small. The WebP compressor defaults to a quality of 80, which saved 82 percent on a real test photograph while looking clean at normal viewing sizes. Use 90 to 95 when you want to preserve as much detail as possible, for example for portfolio images. Use 60 to 75 for web thumbnails and blog illustrations, where loading speed matters most. Reserve anything below 50 for drafts and placeholders, where tiny file size matters more than fidelity. There is no single correct number. There is a trade between size and quality, and the right point on that trade depends on who will look at the image and how closely.

7. Transparency: WebP keeps it, JPG cannot

Transparency is the clearest yes-or-no difference between the two formats. WebP has an alpha channel, an extra layer of data that says how see-through each pixel is. A WebP pixel can be fully solid, fully transparent, or any level in between, which allows smooth, soft edges around a logo or a cutout, with no white fringe. JPG has no alpha channel at all, so every JPG pixel has a solid colour, and a JPG is always fully opaque, edge to edge.

This matters whenever an image needs to sit on top of something else: a logo over a coloured website header, a product cutout over a banner, a sticker over a photo, a watermark over an image. Save that image as a WebP and the transparent areas stay transparent. Save it as a JPG and the transparent areas become a solid colour, usually white. The image still looks fine on a white page, but place it on a dark background and the white box appears around it, and the logo looks like a mistake.

Converting a WebP to a JPG flattens transparency to white, and that is a one-way trip. The Pixel File WebP to JPG converter states this plainly on the page: converting WebP to JPG flattens transparency onto a white background, because JPG has no way to store it. If your WebP image has a transparent background and you need to keep it, do not convert it to JPG. Convert it to PNG instead, which keeps the alpha channel, or keep it as a WebP. The same warning applies to the general converter on this site, which turns PNG, WebP, GIF, and BMP into JPG: transparent areas in any of those formats become white in the JPG output.

There is one thing converting to WebP cannot do, and it is the mirror image of the same rule. A WebP cannot create transparency that was not there. A photo with no transparent pixels produces a fully opaque WebP, just stored in a format that supports transparency. Conversion preserves what the source had. It does not invent anything new. If you have a JPG logo on a white background and you want a transparent version, converting it to WebP will not help. You need to open it in an image editor, remove the white background, and save the result as a WebP or a PNG.

For websites, transparency is one of the strongest reasons to choose WebP over JPG for graphics. A website header, a navigation bar, a product badge, or an icon set will usually sit on a coloured background, and a transparent WebP sits cleanly on any of them. A JPG version of the same graphic carries its white rectangle everywhere it goes. For photographs, transparency does not matter, because photographs never need it. But for any graphic that must blend into a page, WebP is the format that does the job, and JPG simply cannot.

8. Browser and app support: where each format works

Browser support for WebP is no longer a concern for viewing. All current browsers, including Chrome, Edge, Firefox, Safari, and Opera, display WebP images natively, with no plug-in needed. The format arrived in browsers over a decade, and the last holdout was Safari, which added WebP support in version 14, released in September 2020 with macOS Big Sur and iOS 14. Chrome had supported WebP since version 9 in 2011, and Firefox added it in version 65 in January 2019. Since Safari joined in 2020, a WebP image served on a website displays for essentially every visitor using a current browser.

That is the browser story. The app story is different, and it is the reason this guide keeps coming back to the same warning. Support for WebP is decided app by app, not device by device. Your browser may display a WebP perfectly while your email client, your office program, your print shop’s upload form, or an older photo editor refuses the same file. That does not mean the file is corrupt, and it does not mean your device is broken. It means that one app has not added WebP support, or its upload rules only list JPG and PNG. If you downloaded a picture and ended up with a .webp file that your usual app refuses to open, our guide on how to open a WebP file walks through the fix for Windows, Mac, Android, and iPhone, and the fastest test is always the same: drag the file into a current browser tab. If the picture appears there, the file is good and the app you tried first is the problem.

On current devices, the built-in viewers mostly handle WebP now. Updated Windows 10 and Windows 11 installations open WebP files in the Photos app, and File Explorer shows thumbnails for them. On a Mac, Preview opens WebP files on macOS Big Sur and later, and Quick Look shows them with a press of the space bar. On Android, WebP is a native format, and the gallery or Google Photos app opens WebP pictures. On iPhone and iPad, the Photos app opens WebP files on iOS 14 and later. If your device is older than those versions, updating the operating system is the cleanest fix, because WebP support arrived with those updates.

JPG support has no such history to explain, because it has no gaps. Every browser ever made displays JPG. Every phone, every email program, every social media platform, every printer, every image editor, and every upload form accepts JPG. Internet Explorer, which never supported WebP at all, opens JPG without a thought. An old office version from before WebP existed opens JPG without a thought. That universality is JPG’s whole advantage, and it is a large one. When the recipient is unknown, when the app is unknown, or when the file must work first time with no troubleshooting, JPG is the format that guarantees it.

For a website, the practical consequence is simple. Serve WebP to your visitors, because their browsers all support it, and keep a JPG copy for the destinations that do not. Most websites do exactly this: the page shows WebP images to browsers, and the download links, the email versions, and the print versions use JPG. You do not have to pick one format for everything. You pick WebP where you control the viewing, and JPG where you do not, and the same image can exist in both forms without any conflict.

9. Loading speed and website performance

For websites, the choice between WebP and JPG is also a choice about speed, and speed is the reason WebP exists at all. A web page loads its images before the visitor can see it properly, and large images are the most common reason pages load slowly. A page with JPG photos carries about a quarter to a third more image data than the same page with WebP photos, and visitors on mobile connections notice the difference immediately. Search engines also use page speed as a ranking factor, so the format choice affects both the visitor and the search result.

The worked example in section 5 shows the scale. A shop page with ten product photos carries 3,100 KB of JPG images, or 2,400 KB of the same photos as WebP, a saving of 700 KB. That is one page. A shop with a hundred product pages saves the same 700 KB a hundred times over, every time a visitor browses. A blog with twenty images per article saves it on every article. The saving is not a rounding error. It is the single easiest speed win on most image-heavy websites, because it requires no redesign and no new code, only serving the same pictures in a smaller format.

There is one more website detail that matters as much as the format: dimensions. A photo displayed at 800 pixels wide does not need to be stored at 4000 pixels wide. Resizing the image to the size it will actually be shown at, and then saving it in the right format, is the biggest speed win of all. A 4000 pixel wide JPG photo is a double waste, because it is both the less efficient format and far larger than it needs to be. Resize first, then choose the format, then set the quality. If the image is still too large after those steps, the compress WebP tool on this site can reduce the file size further without changing the dimensions, either by picking a quality level or by setting a target file size and letting the tool hunt for the quality that hits it.

Speed also has a limit, and it is worth stating plainly. Changing formats will not fix a slow website by itself. A page can be slow for many reasons: too many images, uncompressed scripts, a slow server, or images that were never resized. WebP helps with one of those reasons, the size of each image, and it helps a lot. But if a page loads twenty images at full camera resolution, converting them all to WebP will make it faster and still slow. Fix the dimensions first, then the format, then the quality, in that order, and measure the result after each step.

If you are comparing formats more widely, the same reasoning applies to other pairs. Our guide on JPG vs PNG covers the case where a photo format meets a graphics format, and our guide on TIFF vs JPG covers the case where an uncompressed archival format meets JPG. The principle in all of them is the same: match the format to the kind of image and to where it will be seen, and let file size follow from that choice.

10. When to use WebP: websites, blogs, shops, and graphics

Use WebP for any image on a website you control. That includes blog article images, hero images, product photos, category thumbnails, social graphics, and any picture served to visitors in a modern browser. The smaller files make the page load faster, the quality is the same to the eye, and every current browser displays the images. If you run a website, a blog, or an online shop, your images should be WebP unless there is a specific reason they should not be, and the specific reasons are covered in the next section.

Use WebP for logos and graphics with transparency on the web. A transparent WebP logo sits cleanly on a coloured header, a dark background, or a photo, and it costs less than the PNG version of the same logo, because lossless WebP is about 26 percent smaller than a comparable PNG. A website header, a navigation icon, or a product badge saved as WebP gets transparency and a small file in one format, where the older choice forced a trade between the two.

Use WebP when you are storing a large number of web images. A blog with hundreds of article images, or a shop with thousands of product photos, pays the file size difference on every page load and every backup. At roughly a quarter smaller per image, a library of 1,000 photos at 240 KB each as WebP takes about 240 MB of storage, while the same library at 310 KB each as JPG takes about 310 MB. That difference matters on a server bill, a backup drive, and a content delivery network, and it grows with the library.

Use WebP for images you will serve but not share as files. A blog photo is viewed, not downloaded and re-uploaded. A product photo is viewed on the shop page, not attached to an email. In those cases the compatibility gap does not matter, because the visitor never handles the file directly. The browser does, and the browser supports WebP. Keep the original file as your master copy, serve the WebP on the page, and make JPG copies only for the destinations that demand them.

Use WebP as the output when you convert a GIF still image for the web. A photographic GIF converted to WebP at quality 85 came out about 91 percent smaller in the worked example in section 5, at the same dimensions, and the WebP keeps transparency where the GIF had it. The GIF to WebP converter on this site does that conversion in the browser, keeping the first frame of an animated GIF and preserving transparency, with a quality slider from 1 to 100 that defaults to 85. If the GIF is animated and the motion matters, keep the GIF, because converting to WebP keeps only the first frame. But for a still GIF, WebP is the better format in almost every case.

11. When to use JPG: email, printing, uploads, and sharing

Use JPG for any image that has to work in a place you do not control. That is the whole rule, and the cases below are all versions of it. Email attachments are the most common case. Many contact forms, job portals, messaging apps, and email clients accept JPG but reject WebP outright, and a photo that will not attach is a photo that never arrives. A JPG photo attached to an email also downloads faster for the person receiving it on a slow connection, and it displays correctly in every email program.

Use JPG for print and office work. Word documents, PowerPoint decks, and print shops work best with JPG files, and many print services list JPG as an accepted format while refusing WebP. A photo you send to a print shop as a WebP may be rejected before anyone looks at it, while the same photo as a JPG goes straight to print. If the image will be printed, check the print service’s format list first, and if WebP is not on it, convert a copy to JPG at quality 90 or above and send that.

Use JPG for upload forms. A form that lists accepted formats will almost always list JPG and PNG, and often will not list WebP at all. A passport photo upload, a job application, a marketplace listing, or a government form will refuse a WebP file even though the file itself is perfectly good. The fix is not to argue with the form. Convert a copy to JPG, upload that, and keep the WebP original for your own use. The converter on this site accepts WebP input and produces JPG output in the browser, with no upload, so the conversion takes seconds.

Use JPG when you are sharing a file with a person whose apps you do not know. A photo sent to a relative, a client, or a colleague should open on the first try, on whatever device and whatever app they use. A JPG opens on every phone, computer, printer, and app made in the last twenty years, with no exceptions. A WebP opens on every current browser and most current apps, but not on every older program, and the one time it fails is the time the recipient decides the file is broken. For sharing, the format that never fails is worth more than the format that is smaller.

Use JPG for images with no transparency that will be edited in older software. Some older photo editors, design tools, and office versions cannot open WebP at all, and a file that will not open cannot be edited. If the person or the program at the other end is old, send a JPG. If the image has transparency and must keep it, send a PNG instead, because a JPG will flatten it to white. The choice is not about which format is better in the abstract. It is about which format the destination accepts, and JPG is accepted everywhere.

12. Converting WebP to JPG: what changes, and converting back

Converting a WebP to a JPG is easy, and the WebP to JPG converter on this site does it in your browser, with files up to 25 MB, no upload, and no sign-up. The tool loads the WebP image onto an HTML canvas in your browser, then re-encodes it as a JPEG at quality 90. No file is ever uploaded to a server, so your images stay private on your device. The conversion runs automatically once you drop the file in, usually in under a second, and you download a JPG that opens anywhere.

Three things change in the conversion, and all three are worth knowing before you convert. First, the file usually gets larger. As the worked example in section 5 showed, a product photo at 240 KB as a WebP becomes about 310 KB as a JPG, which is about 29 percent larger, because JPG compresses less efficiently than WebP. You pay that extra size for compatibility, and for a file that must open everywhere, it is a fair price. Second, transparency is flattened to white. A WebP image with transparent areas comes out of the conversion with a solid white background, because JPG has no way to store transparency. If the image needs its transparency, do not convert it to JPG. Third, quality drops very slightly. WebP is usually a lossy format, and re-encoding it as a JPG is another lossy step, so there is a small generation loss. At quality 90 the difference is invisible unless you zoom in and compare pixel by pixel, but the conversion does not restore detail, and it does not add any.

Converting a JPG to a WebP is the opposite journey, and it is the one that saves file size. Drop a JPG into the compress WebP tool, pick a quality, and download a WebP that is typically a quarter to a third smaller than the JPG, at the same visible quality. The same warnings apply in reverse. The conversion does not restore the detail the JPG lost when it was first saved, and a JPG converted to WebP and then back to JPG loses a little more at each step. Convert from the original file whenever you can, rather than converting a file that has already been converted, because each lossy step discards a little more detail that cannot be recovered.

If you have several files in different formats, or you are not sure which format each file really is, the file converter to JPG on this site accepts PNG, WebP, GIF, and BMP together, up to 20 files at a time and 25 MB each, and converts the whole batch to JPG in your browser. It detects the real format of every file by reading its file header, not just its extension, so a text file renamed to .png is rejected with a clear message. Animated GIFs lose their animation in the conversion, because only the first frame becomes the JPG, so keep animated GIFs as GIFs or convert them to video instead.

Before you convert, check the image for transparency. Open it and look at the background. If the background is a checkerboard pattern in your editor, that pattern means transparency, and converting will replace it with white. If the image is a screenshot, check whether any part of it is meant to show through. If the answer is no, convert freely. If the answer is yes, keep the WebP, or flatten the transparency onto the colour you actually want before converting, rather than letting the converter choose white for you.

13. Common mistakes and how to avoid them

Serving every website image as JPG and wondering why the site is slow. This is the most common mistake on image-heavy websites, and it happens because JPG was the default for so long that nobody questions it. A shop page with ten product photos carries 3,100 KB of JPG images, where the same photos as WebP would carry 2,400 KB. The fix is simple: serve WebP images on the pages you control, and keep JPG copies only for the destinations that demand them. Resize the images to the size they will actually be shown at first, then convert to WebP, then set the quality.

Converting a transparent WebP logo to JPG and getting a white box. This is the second most common mistake, and it happens when someone downloads a logo as a WebP, converts it to JPG for an editor or an upload form, and discovers the transparent background has become white. The JPG cannot store transparency, so the transparent area becomes a solid rectangle, and the logo looks wrong on any background that is not white. The fix is to keep the WebP original, and to convert a copy to PNG, not JPG, when the destination needs a format that keeps transparency. If you already have only the JPG version, you will need to remove the white background in an editor and save the result as a WebP or a PNG.

Converting a JPG to WebP to improve quality. This mistake comes from a reasonable sounding idea: WebP is the newer format, so converting to WebP should make the image better. It does not. The conversion copies the JPG exactly as it is, including its compression artifacts, soft edges, and lost detail. The detail that JPEG compression removed when the JPG was first saved is gone, and no converter can bring it back. The WebP is a smaller copy of the current quality, not an improvement on it. For better quality, go back to the original file and export a fresh copy at a higher quality setting.

Re-saving a lossy file many times and watching it degrade. This happens when someone opens the same JPG or lossy WebP, makes a small edit, saves it, opens it again, makes another edit, and saves it again, several times over. Each save throws away a little more detail, and after a few rounds the photo looks soft and blocky. The fix is to keep the original file untouched, do all the edits on a copy, and export a fresh WebP or JPG only once at the end. If the image needs many rounds of editing, work in a lossless format and export the delivery copy last.

Assuming every app opens WebP because every browser does. This is the mistake behind most WebP frustration. A file that displays perfectly in Chrome may be refused by an older photo editor, an email client, or an upload form on the same computer, because support is decided app by app. The fix is the browser test: drag the file into a current browser tab. If the picture appears, the file is good and the app you tried first is the problem. Then either update the app, use a different viewer, or convert a copy to JPG for that app, and keep the WebP original.

Judging quality by file size alone. A larger file is not always a better file. A JPG photograph is larger than a WebP photograph, but it does not look better. A WebP saved at quality 95 is larger than the same WebP at quality 80, but the difference is invisible to most viewers. Judge quality by looking at the image at the size it will be viewed at, and judge file size by what the image needs to do. The right file is the smallest one that looks good at its intended size, in the format that matches where it will be seen.

14. Frequently Asked Questions

Which is better for websites, WebP or JPG?

WebP is better for images on a website you control, because it is typically 25 to 35 percent smaller than a JPG of similar visual quality, so pages load faster, and every current browser displays WebP. JPG is better when the image has to work everywhere, such as in email, print, or upload forms, because JPG opens on every device and app. For a website, serve WebP on the page and keep JPG copies for sharing and printing.

Is WebP smaller than JPG?

Yes. Google’s published figures put lossy WebP at roughly 25 to 34 percent smaller than a comparable JPG, and the WebP to JPG converter page on this site reports 25 to 35 percent. A real example from that page shows it: a product photo at 240 KB as WebP becomes about 310 KB as JPG, so the WebP is about 23 percent smaller. A test photograph compressed to WebP at quality 80 came out 82 percent smaller than the JPG original. The saving varies with the image, but WebP is smaller in almost every real case.

Does WebP work in all browsers?

WebP works in all current browsers, including Chrome, Edge, Firefox, Safari 14 and later, and Opera. Safari was the last to add support, in version 14, released in September 2020 with macOS Big Sur and iOS 14. Older browsers do not support it: Internet Explorer never did, and Safari 13 and older cannot display WebP. For a website, that is no longer a problem, because almost every visitor uses a current browser. For older desktop apps, email clients, and upload forms, support is still uneven, so JPG remains the safe choice there.

Does converting WebP to JPG lose quality?

Slightly, but not visibly in most cases. WebP is usually a lossy format, and re-encoding it as JPG is another lossy step, so there is a small generation loss. At the quality level the converter on this site uses, quality 90, the difference is invisible unless you zoom in and compare pixel by pixel. The conversion also flattens any transparency to white, because JPG cannot store transparency. The result is a file that trades a tiny amount of fidelity for universal compatibility.

Should I convert my WebP images to JPG?

Convert a copy to JPG when the destination demands it: an upload form that lists only JPG and PNG, an email client that will not attach WebP, a print service that wants JPG, or an editor that cannot open WebP. Keep the original WebP file as your master copy, so you can always go back to the smaller, higher-quality original. Do not convert your WebP images to JPG for your website, because the JPG versions are larger and slower with no visible gain. Convert at the last step, from the WebP original, rather than converting early and then editing the JPG copy.

Will WebP make my website faster?

Yes, when images are a large part of the page. A WebP photo is typically 25 to 35 percent smaller than the same photo as a JPG, so a page full of WebP images carries about a quarter less image data and loads faster, especially on mobile connections. A shop page with ten product photos carries 2,400 KB as WebP against 3,100 KB as JPG, a saving of 700 KB. But format alone will not fix a slow site: resize images to the size they will actually be shown at first, then choose WebP, then set the quality. A page with twenty images at full camera resolution will still be slow even as WebP.

When should I use JPG instead of WebP?

Use JPG when the image must work in a place you do not control: email attachments, print shops, upload forms, older software, and sharing with people whose apps you cannot check. JPG opens on every phone, computer, printer, and app made in the last twenty years, with no exceptions, while WebP still fails in some older desktop programs and office tools. Use JPG when the image will be printed, because print services list JPG as an accepted format. And use JPG when the recipient is unknown, because a file that opens on the first try is worth more than a smaller file that might be refused.

The rule that covers everything above is short enough to remember: WebP for the web you control, JPG for everywhere else, and transparency decides before anything else. Check where the image will be seen first, then ask whether it needs transparency, then save it once at the right quality and keep the original safe. Do that, and you will never again wonder why a download will not open or why a page loads slowly.