WebP to JPG Converter

Convert WebP to JPG, PNG or WebP right in your browser: quality slider, transparency fill, before/after sizes. The file never leaves your device.

Everything runs in your browser — your data is never sent to any server.

Why people convert WebP to JPG anyway

WebP compresses pictures beautifully, which is exactly why it causes trouble: a photo from a chat app will not open in another chat app, an email attachment arrives without a preview, and a printer or an old editor simply refuses to work with the file. The request to convert webp to jpg comes up in those situations all the time, and the answer is always the same. JPEG is understood by every program that works with images at all, from a decade-old paint utility to a professional layout editor. You can do the conversion in two clicks right here in the browser. The file is read into the memory of the tab, redrawn on a canvas, and handed back to you. No upload, no queue, no waiting for someone else's server to wake up.

What the converter does

  • Load a file with the button or by dropping it straight into the drop zone
  • Pick the output format: JPG, PNG or WebP
  • A quality slider from 10 to 100 that applies to JPG and WebP output
  • Fill transparent areas with a colour of your choice when saving as JPG
  • A before and after panel with dimensions, file sizes and the lightening factor
  • Download the finished file or copy it to the clipboard as a data URL

How to save a webp file as jpg

  1. Drop the WebP file into the zone or pick it with the button
  2. Check the detected format and adjust the fill colour if you need a different background
  3. Leave the output as JPG, set the quality on the slider and press Convert
  4. Compare the size before and after, then download the file or copy it to the clipboard

How the conversion works

The file is read as a raw byte buffer, and the first twelve bytes are checked for the RIFF/WEBP signature, so a renamed file cannot fool the converter: a PNG wearing a .webp extension is honestly reported as PNG and still converts. The bytes then become pixels, first through createImageBitmap, which understands EXIF rotation and does not block the interface, and otherwise through an ordinary Image element fed with an object URL for older browsers. The pixels are painted onto a canvas at the original resolution, and when JPG is chosen the canvas is filled with the background colour first, because JPEG has no alpha channel at all. The final step is the browser encoder producing a Blob: the slider value is handed over as the quality argument of toBlob for image/jpeg and image/webp, while PNG ignores that argument entirely because it compresses without loss. No request ever leaves the page.

What comes out at different settings

SourceResultWhat it means
WebP, 120 KBJPG, 90 KB at quality 85JPG wins on simple shots
WebP, 120 KBJPG, 240 KB at quality 95at high quality JPG is clearly heavier
JPG, 240 KBWebP, 120 KB at quality 80WebP is half the weight at the same look
JPG, 240 KBWebP, 60 KB at quality 60heavy compression, visible artefacts
PNG with transparency, 400 KBJPG, 150 KBtransparency replaced by the fill colour
PNG with transparency, 400 KBPNG, 380 KBtransparency kept, nothing lost
WebP, 60 KBJPG, 55 KB at quality 75almost the same weight, wider support
Lossless WebP, 2 MBPNG, 1.9 MBpractically the same thing in a universal format
WebP, 300 KBWebP, 150 KB at quality 60squeezing the same format further
Video frame, 1.5 MBJPG, 180 KB at quality 70a reasonable trade for a catalogue

The figures in this table are illustrative, for a typical 1600x1200 photograph. Real file weights depend on the subject, the settings and the encoder, so the only reliable numbers are the ones your own file produces.

When turning WebP into JPG is the right call

The first and most common situation is old hardware. A Windows PC that never got its updates, a printer that goes through the manufacturer's own utility, a business application with a hard list of accepted formats. All of them read JPEG and none of them read WebP. The second situation is forwarding: a .webp attachment often lands in a chat with no preview, and the person receiving it decides the file is broken and ignores it. The third is paperwork: PDF files, slide decks and application forms ask for JPG, because any printer and any document viewer can handle it. These are not hypothetical cases. They are the reason this page exists.

There is also the reverse direction, and it deserves a mention. If you are preparing a website, JPG is the wrong choice: the same photograph in WebP weighs noticeably less at a comparable quality, and load time on a mobile connection depends directly on the weight of the images. The same converter works in that direction too, so choose WebP as the output format, set the quality and get a file ready to upload. If the job also involves resizing, the image resizer and compressor handles dimensions, and the cropper trims the frame before you get there. Vector sources follow a different road entirely, since they have to be rasterised first, and the SVG to PNG converter takes care of that step.

A third group of reasons has nothing to do with pictures. Documents, invoices and scanned paperwork often end up as a mix of formats, and a single odd format makes the whole batch awkward to handle. Archivists keep the original and add a widely readable copy beside it. Support teams ask for a version that can be opened by anything. Designers hand a mockup to a client who does not own the software that made it. In all of these cases the recipe is the same two steps: open the file, change the format, send the result on its way. If the picture itself needs adjusting first, the contrast checker helps with readability, and the placeholder image generator covers the cases where no picture exists yet.

  • Printing at a print shop or on a home printer
  • Sending the file to someone with an older phone or system
  • Uploading to a CMS, store or CRM that expects JPEG
  • Pasting a picture into a PDF, a slide deck or a contract
  • Publishing on a site where load speed matters
  • Preparing an avatar or a product thumbnail

Mistakes that happen during conversion

The first mistake is trusting the extension. A file called photo.webp may well be a PNG, and sometimes it is not an image at all but a renamed archive. That is why the format is detected from the signature rather than from the name, so you always know what you are actually working with. The second mistake is leaving the quality slider untouched when moving to WebP. Sitting at 100 produces a file heavier than the original with no visible benefit; for the web, 75 to 85 is the sensible band and 80 will be enough most of the time.

The third mistake is saving a cut-out as JPG and then wondering where the background went. Nothing broke: JPEG simply has no alpha channel, and a solid fill is the only honest way to flatten transparency. If transparency has to survive, choose PNG and leave the slider alone, because PNG ignores it anyway. The fourth is converting into whatever happens to be handy. You cannot compare a WebP and a JPG purely by file size: at low quality JPEG grows visible blocking and halos that WebP does not produce at the same setting. Look at the pictures with your eyes and treat the file weight as a supporting number.

The fifth mistake is expecting JPG to save space. Moving from WebP to JPG almost always makes the file bigger, since JPEG cannot do what WebP does, and on busy pictures the difference can be double. If the point is to shrink a file rather than to change its extension, keep WebP and turn the quality down, or lower the resolution. The sixth and most expensive mistake is handing a private photograph to a third-party conversion service when it contains documents, correspondence or anything personal. Doing the work locally removes that risk completely, and there is no limit on file size either.

  • Believing the extension instead of checking the file signature
  • Leaving quality at 100 for WebP output: heavier file, no visible gain
  • Saving transparency into JPG and losing the cut-out background
  • Expecting a JPG to come out lighter than the WebP it came from
  • Judging quality by file size alone, without looking at the picture
  • Uploading personal shots to somebody else's online converter

A step by step walkthrough

The path from a file to a finished result is short, and every step can be watched as it happens. The file is read into memory in one piece, a few megabytes that live exactly as long as the work does and never travel anywhere. The real format is then established from the first twelve bytes, which is where a renamed PNG reveals itself as a PNG. Next the bytes are decoded: createImageBitmap is tried first because it understands the EXIF rotation that phone cameras write into their files, and the plain Image element takes over where that is unavailable.

The next detail matters more than it looks. The converter checks whether the picture contains transparency, and it does that on a scaled-down copy so it does not have to pull every pixel of a large photograph into memory. If transparency is present and JPG was chosen, the canvas is filled with the selected colour before anything is drawn on it, so the transparent regions end up with the right background instead of black patches. Choosing PNG or WebP skips the fill entirely and keeps the alpha channel intact. What remains is encoding: the canvas produces a Blob with the right MIME type and quality, and the panel above reports how many times lighter the file became.

What happens at each stage

StageActionWhy it matters
1Reading the fileThe whole file is loaded into tab memory
2Detecting the formatThe RIFF/WEBP signature is checked
3DecodingcreateImageBitmap or a plain Image
4Checking transparencyA scaled copy is scanned for alpha
5PaintingThe pixels are drawn onto the canvas
6Filling the backgroundFor JPG the canvas is filled first
7EncodingThe canvas returns a Blob with quality
8ComparingThe lightening factor is calculated

The quality slider affects JPG and WebP only. PNG compresses without loss and ignores that argument entirely.

Choosing the right format

There is no universal answer, but there is a useful rule of thumb. JPG is for compatibility: printing, documents, old equipment, other people's services. PNG is for logos, icons, diagrams and anything where transparency and pixel accuracy matter, because it loses nothing but also barely compresses photographs. WebP is the web format: noticeably lighter than JPG at a comparable quality, and read by every current browser. AVIF is the newer arrival, lighter still, but its support is not universal and some mail clients and messengers still refuse it.

GIF deserves a mention of its own, because it is not a photograph format. It stores just 256 colours, and in exchange it can hold animation, which keeps it alive in older corners of the web and in simple motion tasks. When the job travels beyond this page, the Base64 image encoder turns a picture into a CSS or HTML data URI, the SVG viewer handles vector artwork, and the colour picker helps if you need the fill to match an exact shade. The MIME type lookup tells you which content type a browser assigns to a format, and the placeholder image generator covers the case where no picture exists yet. If the file also needs a smaller footprint for a catalogue, run it through the image resizer before converting.

  • JPG when compatibility with any device matters
  • PNG when transparency and pixel accuracy matter
  • WebP when the picture is going onto a website
  • AVIF when maximum savings matter and the browser is modern
  • GIF when a short animation is what you need

Formats side by side: support, losses and weight

FormatSupportWhat to keep in mind
WebPevery current browserroughly one and a half to two times lighter than JPG, artefacts appear at low quality
JPEGevery program there isthe baseline for printing and documents, no transparency
PNGevery program there islossless and transparent, but heavy for photographs
AVIFChrome, Firefox, Safari 16 and laterthe lightest of the new formats, still not universal
GIFevery program there isonly 256 colours, but it carries animation
BMPevery editor that ever existedno compression at all, so files become enormous

Before a picture travels further, check that it opens on the device that will receive it. Converting to JPG removes most of those questions in one step.

Questions people ask

What is the real difference between WebP and JPG

The difference lies in how the compression works. JPEG, usually called JPG, arrived in 1992 and compresses the picture line by line, throwing away detail the eye barely notices: soft gradients, fine texture, sensor noise. WebP was designed at Google and does three different jobs: lossy compression that competes with JPEG, lossless compression that competes with PNG, and a proper alpha channel that keeps transparency intact. The practical consequence is that at a similar visible quality a WebP file is typically around a third lighter than its JPEG twin. The catch is compatibility. Every program ever written opens JPEG, while WebP is limited to modern browsers and reasonably recent versions of design software.

Does converting to JPG damage the quality

Re-encoding always costs a little, because the source pixels are already compressed and a new JPEG encodes them again, softening edges in the process. How much you lose is decided by the quality slider. A value of 100 produces a result that is nearly indistinguishable from the original and a file that is noticeably heavier; 80 to 85 is a sensible compromise for photographs; 60 to 70 starts to show blocking artefacts along hard edges and banding in flat sky. Going the other way, from JPG to WebP, often improves the picture, because the newer codec handles the same data more cleverly. If you need pixel-perfect fidelity, stay in PNG, which throws nothing away.

How much can a picture actually be squeezed

It depends on what is in the picture and on the format you start with. A typical reference point: a 240 KB JPEG usually lands around 120 KB as WebP at quality 80, so roughly half the weight for the same look. The opposite trip usually goes the other way, because a light 100 KB WebP saved as JPEG at quality 85 tends to land near 240 KB, since JPEG cannot match what WebP does. If the goal is to make a file smaller rather than to change its extension, lowering the resolution helps more than any quality setting: the same 1600x1200 shot reduced to 1066x800 loses more weight than the slider can ever take out. Logos and icons with transparency barely compress at all, so for those keep PNG and shrink the dimensions instead.

Do all browsers support WebP

No, and that is why the webp will not open complaint is still around. Chrome has supported WebP since version 32, Firefox since 65, Edge since 18 and Opera since 19, while Safari only arrived with version 14, which means macOS Big Sur and iOS 14. Android browsers have handled WebP for years, so phones on Android rarely struggle, and the phrase open a webp on my phone usually points at an older iPhone or iPad that never got past iOS 13. There is a separate story with email and messaging: some preview generators understand very little, and a few mail clients only show the picture after you download it. Converting to JPG settles all of that in one step.

So why convert WebP to JPG at all

Compatibility, again and again. First, older software: a print package, an accounting system, a CMS that only accepts JPG and PNG, a library that refuses anything else. Second, sharing: a .webp attachment often arrives with no preview, and the person on the other end assumes the file is broken and never opens it. Third, printing, because printers and print shops still work with JPEG and not with WebP. Fourth, transparency: WebP carries an alpha channel and JPG does not, so a cut-out destined for a document has to be saved with a fill colour. Fifth, predictability. JPEG is understood by every system, which matters whenever the file travels further down a chain without you.

What happens to transparency when I save as JPG

Transparency does not survive, because JPEG has no alpha channel to store it in. Transparent areas are filled with a solid colour before the file is written, normally white, but you can pick any shade you like in the form when the background is not white. The interface says so explicitly: when the source contains transparency, a note appears next to the settings. The option that loses nothing is to save as PNG, where transparency stays intact and the file suits logos, icons and cut-out graphics. Switching between JPG and PNG is a single dropdown, and the preview updates instantly.

How do I know the file is not really a WebP

By its content rather than by its name. The converter reads the first twelve bytes of the file: WebP carries the RIFF....WEBP signature, PNG starts with 89 50 4E 47 and JPEG with FF D8 FF. If your .webp file turns out to be a PNG or a JPEG, the interface says so plainly and the conversion still runs, because the pipeline works on decoded pixels and does not care where they came from. That situation is more common than it sounds: the file was renamed, it was relayed through a messenger that re-encoded it as PNG, or it came from a download with a wrong extension. Files the browser cannot identify at all produce a clear message instead of a crash.

Does my file get uploaded to a server

No, and that is not a marketing promise but simply how the page is built. The file is read entirely inside the tab: bytes become pixels, pixels are drawn on a canvas, and the canvas returns a finished Blob that you download. Not a single network request is made during that process, neither to our own server, nor to an external conversion service, nor to an image CDN. You can open the page source and check that for yourself. The approach is also better for privacy: the contents of the file never end up in someone else's logs, cannot leak through a link to a cloud bucket, and need no account.

Related articles

Related tools