Img9

Convert PNG to WebP

Turn PNG files into much smaller WebP images, with transparency intact. The conversion happens in your browser.

80
Shape

Changing a setting converts every image again. Resizing keeps the proportions, and smaller images are never enlarged.

Why convert PNG to WebP?

PNG is lossless, which is right for screenshots, logos and anything with sharp edges or text, but it makes photographs enormous. WebP can be lossy like JPG and still keep an alpha channel like PNG, so a transparent product shot or a photo saved as PNG usually shrinks dramatically.

Every current browser displays WebP, including Safari on macOS and iOS, so it is a safe choice for a website. If the image is a flat graphic with a few colours, compare the result with the original: PNG can occasionally win for very simple artwork.

One photo, saved six ways

A 6000 × 4000 JPG photo, resized to 1600 pixels wide and saved in each format with libvips.

PNG, lossless
1,860,598 bytes
JPG, quality 90
108,153 bytes, 5.8% of the PNG
JPG, quality 80
60,355 bytes, 3.2% of the PNG
WebP, quality 90
45,444 bytes, 2.4% of the PNG
WebP, quality 80
25,216 bytes, 1.4% of the PNG
WebP, quality 75
21,122 bytes, 1.1% of the PNG

This is one photograph, not a general rule: flat graphics, text and transparency compress differently. The converter on this page uses your browser's encoder, so its files will be close to these but not identical.

Questions

Will the transparent background survive?
Yes. WebP supports an alpha channel, so transparent and semi-transparent pixels convert as they are.
What quality should I pick?
75 to 85 suits most photos on a web page. Lower numbers make smaller files with visible blur and blocking around edges; above 90 the file grows quickly for little visible gain.
Are my images uploaded anywhere?
No. The file is decoded and re-encoded by your browser on your device, and the converted copy is handed straight back to you. Nothing is sent to Img9 or anyone else, so the page also works offline once it has loaded.
Does converting keep the photo's metadata?
No. Re-encoding in the browser drops EXIF, including camera details and GPS location, and the result is stored in sRGB. The photo is turned upright first, so a picture taken sideways on a phone stays the right way up.
Is there a file size or count limit?
There is no account and no daily limit. The practical limit is your device's memory: very large images, roughly 50 megapixels and up, can fail in some browsers, and phones hit that sooner. Set a maximum width to make big photos smaller as they convert.