On-device AI — professional-grade, fully private.

Images

How to Convert PNG and JPG Images to WebP for Your Website

Convert PNG or JPG to WebP for a faster website: which quality to pick, how transparency survives, where WebP is still not accepted, and why to keep originals.

Updated November 4, 20267 min read

To convert a PNG or JPG to WebP, open the JPG to WebP or PNG to WebP converter, add the image, leave Quality at its default of 80 and press Convert to WebP. The result is usually a noticeably smaller file that looks the same on a web page, and a PNG keeps its transparent areas. This guide is written for people who run a website or shop: what to expect, which quality number to choose, what the converter does and does not do, and where a WebP file will still be refused.

Why website owners switch to WebP

Images are normally the heaviest part of a page. A heavy page loads slowly on a phone, and a slow page loses visitors and ranks worse in search. WebP is an image format built for the web: at a similar visual quality its files are generally smaller than the equivalent JPG, and smaller than a PNG when the PNG holds a photograph or a detailed picture. Smaller files mean less data to download, which is the cheapest speed-up a site can get because you change the file and nothing else.

The savings are not a fixed percentage. They depend on the picture: a busy photo, a flat logo and a screenshot full of text behave differently, and an image that was already squeezed hard may gain little. The honest test is to convert one of your own images and compare the two sizes. The converter shows how much smaller (or larger) the result is than the original, so you do not have to guess. For the full comparison of the three formats, see PNG vs JPG vs WebP; this guide stays on the conversion itself.

Convert to WebP, step by step

1

Open the right page

Use JPG to WebP for photos and PNG to WebP for graphics. Each page accepts its own input format. For anything else, the general image converter takes common image formats and has a Convert to menu where you choose WebP.

2

Add the image

Drop it on the page or press Browse files. Everything runs on your device, not our servers, so an unreleased product photo is not uploaded anywhere.

3

Choose the Quality

The Quality slider runs from 1 to 100 and starts at 80. For web photos 80 is a sensible start; the next section helps you pick a different value.

4

Convert and compare

Press Convert to WebP. The page reports how much smaller the result is than the original. If it says larger, keep the original (see the troubleshooting points below). Otherwise press Download WebP.

Free: one image at a time, up to 25 MB, exported up to 4096 px on the longest side. Pro: batches of up to 100 images. It all runs on your device.

Convert JPG to WebP

Which quality number to pick

The Quality slider trades file size against fidelity. Lower numbers throw away more fine detail. The right number depends on what the picture is for, so treat the table as a starting point and check the preview with your own eyes.

ImageStart atWhy
Hero or banner photo, shown large80 to 85Large display shows flaws; keep detail in skin, hair and edges
Product photo for a shop80 to 90Customers zoom in; soft detail looks like a poor product
Blog post photo, medium size70 to 80A good balance for most pictures
Thumbnails and small cards60 to 75Displayed small, so flaws are hidden
Screenshots with small text85 or moreLow quality smudges the edges of letters first

Changes near the top of the scale cost a lot of file size and buy very little you can see. Going from 80 to 100 usually makes the file much bigger with a difference only a side-by-side zoom would reveal. Going from 80 down to 60 saves a lot but starts to show as blur around edges and blocky patches in smooth skies. Work downwards from 80 until you notice something, then step back up by 5.

Lossy or lossless: what this converter does

WebP can be lossy (like JPG, it discards detail the eye barely notices) or lossless (like PNG, every pixel is kept exactly). This converter writes lossy WebP controlled by the Quality slider, with the alpha channel kept. It does not offer a lossless switch, and it does not promise that Quality 100 is pixel-identical to the source.

In practice that is the right choice for what most sites need: photos and pictures where a small invisible loss buys a much smaller file. If you need an exact copy, for example a master of a logo, a pixel-art sprite or a screenshot you will edit again, keep it as a PNG. A repeated pass through any lossy format adds loss each time, so convert from the original, never from an already converted WebP.

Keeping transparency from a PNG

A PNG with a transparent background (a logo, an icon, a cut-out product) converts to a WebP that is still transparent. The converter keeps the alpha channel for WebP; it is only formats without transparency, such as JPG, that get a flat background. So PNG to WebP is the page to use for logos and cut-outs.

A JPG cannot contain transparency in the first place, so converting a JPG to WebP gives you a picture that is fully opaque. If a product photo has a white background and you want it transparent, that is a background-removal job, not a format conversion. Check semi-transparent edges such as soft shadows against both a light and a dark page after converting: a lossy file can show a faint fringe if the quality is set very low.

Where WebP is still not accepted

Every current major web browser displays WebP, so for a website the format is safe. The trouble is everywhere else the image may travel.

Where the image goesWebP safe?What to do
Your own website pagesYesUse WebP; keep a JPG or PNG fallback only if you must support very old browsers
Email newslettersNot alwaysSome email clients and older mail apps do not display it; use JPG or PNG in emails
Upload forms, marketplaces, print shopsOften refusedMany accept only JPG or PNG; check the allowed types
Older desktop softwareOften noOld editors and office programs may not open it
Sharing with a client or colleagueRiskySend JPG or PNG; they may not be able to open a WebP

If someone tells you they cannot open a WebP, the fix is to convert back: see how to convert WebP to PNG or WebP to JPG. Recent versions of most website builders and content systems accept WebP uploads, but older installations and custom upload scripts may not, so test one upload before converting a whole library.

Keep your originals

Treat the converted WebP as a delivery copy and the original as the master. Quality lost in a lossy conversion cannot be brought back, and you may want a different size, crop or format next year. Keep the JPG or PNG somewhere safe and publish the WebP. Name the files so you can tell them apart, for example the same name with a different extension, and never overwrite the source.

If a converted file comes out larger than the original, the original was already well compressed (common with small PNG icons or heavily optimised JPGs). Keep the original in that case. If you only need a smaller JPG or PNG rather than a new format, use Compress Images instead, which can also write WebP.

Frequently asked questions

How do I convert a PNG to WebP?

Open the PNG to WebP page, add the PNG, keep Quality at 80 or adjust it, and press Convert to WebP. Transparent areas stay transparent. Download the result when it finishes.

How do I convert a JPG to WebP for free?

Use the JPG to WebP page. Free converts one image at a time, up to 25 MB, exported up to 4096 px on the longest side. Pro queues up to 100 images in one run.

Is WebP better than JPG?

For a website, usually yes: at a similar look the WebP file tends to be smaller, and WebP can also hold transparency. JPG is still the safer choice for email, print shops and older software.

Does converting to WebP keep transparency?

Yes. A PNG with a transparent background stays transparent as a WebP. A JPG has no transparency to keep, so its WebP is opaque.

What quality should I use for WebP?

Start at 80 for photos, 85 or more for screenshots with small text, and 60 to 75 for small thumbnails. Lower the number until you see a flaw, then raise it a little.

Why is my WebP bigger than the original?

The original was already compressed very well, which is common for small icons and optimised JPGs. Lower the quality a little, or keep the original if it is smaller.

Keep reading

More in Images →