Free online tool

Upload a file

Drop your file hereTap to choose a file

or click to browse, or paste from the clipboard

← Back to Blog

PNG to WebP: How to Convert Images for a Faster Website

To convert PNG to WebP for a faster website, save each image as a lossy WebP at quality 80 to 85, resized to no more pixels than your page needs, and upload it in place of the original. The smaller file downloads sooner, which shortens Largest Contentful Paint (LCP) whenever the biggest element on screen is an image.

WebP Converter does the conversion and the resizing in one step for PNG, JPG, GIF and TIFF files, and it keeps existing transparency. This guide also covers fallbacks and what WordPress, Shopify, Squarespace and Wix do for you.

How to convert PNG to WebP with Zutilium

  1. Open WebP Converter and click Choose file, drop an image on the page, or paste one from the clipboard. It takes one PNG, JPG, JPEG, GIF, TIFF or TIF file at a time, up to 30 MiB by default.
  2. Under Quality, start with Default (85). Pick Balanced (80) or Optimized (70) for smaller files, or High Quality (90) for logos and images with text.
  3. Under Max Width, choose the widest size the image needs on your site: 1920px, 1280px, 800px or 640px. Choose Keep Original if it's already resized. Narrower images are never enlarged.
  4. Click Convert to WEBP. The file is uploaded to Zutilium's server and converted there.
  5. When "Your WEBP is ready" appears, compare the original and result sizes, then click Download.
  6. To compare settings, click Convert another file, add the same image, change Quality or Max Width, and convert again; your settings stay selected.

Before replacing anything, check:

  • Dimensions: Max Width limits only the width, so a 3024 × 4032 portrait photo at 1280px becomes 1280 × 1707, still tall.
  • Edges: zoom to 200% on text, logos and thin lines, where lossy compression shows first.
  • File name: the download starts with converted_ and a long ID. Rename it to something short and descriptive, such as blue-trail-shoe.webp, as Google recommends for image file names.

After a successful conversion, uploads are scheduled for deletion after about one minute and downloads after about ten minutes; cleanup runs periodically, so download promptly. The converter turns phone photos upright using their orientation tag and doesn't copy EXIF data, such as camera model or GPS location, into the WebP. For a whole folder, Bulk Image Compressor converts up to 200 JPG and PNG images to WebP at once.

Why WebP improves website speed, and when it doesn't

LCP measures when the largest image, text block or video in the viewport has rendered. Google's guide to optimizing LCP calls 2.5 seconds or less good, for at least 75% of page visits, and LCP is one of the Core Web Vitals that Google recommends getting right for success in Search.

When a hero photo, product shot or banner sits near the top, it is often the LCP element. Google splits LCP time into four parts: time to first byte, resource load delay, resource load duration and element render delay. A smaller file shortens only the third, the time spent downloading the image.

Google's WebP overview reports these savings from the format change alone:

  • Lossy WebP files are 25 to 34% smaller than comparable JPEGs at the same SSIM score, a measure of visual similarity.
  • Lossless WebP files are 26% smaller than PNGs.
  • Lossy WebP with transparency is typically about three times smaller than PNG.

Resizing often saves more than the format. A 4032 × 3024 phone photo has 12,192,768 pixels; at 1280 × 960 it has 1,228,800, about 10% as many. Pixels the page never shows still cost download time: at 10 Mbps, each megabyte takes about 0.8 seconds (8,000,000 bits ÷ 10,000,000 bits per second), before latency.

Conversion barely helps when the delay is elsewhere. A lazy-loaded LCP image, or one a script inserts late, waits in the second part: remove loading="lazy" from it and consider fetchpriority="high". If the LCP element is text, image formats don't affect it.

PageSpeed Insights and the Performance panel in Chrome DevTools both name your LCP element. Since Lighthouse 13, the old "Serve images in modern formats" audit is part of the "Improve image delivery" insight.

Choosing quality and width for web images

The Quality values are encoder settings, not percentages of the original, and the same number means different things in different apps (Google's cwebp encoder defaults to 75). Judge results by eye at the displayed size.

Image on your site Quality Max Width
Full-width hero or banner Default (85) 1920px
Photo in an article or product page Balanced (80) or Default (85) 1280px or 800px
Card, thumbnail or gallery preview Optimized (70) or Balanced (80) 640px
Logo, chart or screenshot with text High Quality (90), or keep the PNG Keep Original

High-density screens draw an image shown 640 pixels wide with 1,280 or more physical pixels, so a 640-pixel file can look soft there; serving several widths with srcset fixes that, as explained in creating image thumbnails in multiple sizes.

For file-size targets or shrinking existing WebP files, see how to compress WebP images; for when AVIF is worth it instead, see AVIF vs WebP vs JPG.

A measured example: PNG to WebP with transparency

Zutilium's own social preview image, og-image.png, is a 1200 × 630 PNG of 46,092 bytes: dark side panels, a gradient cube with a white Z, and a transparent square behind the cube. Converted with Keep Original at each Quality setting:

Quality WebP size Smaller than the PNG
Optimized (70) 7,422 bytes 83.9%
Balanced (80) 8,372 bytes 81.8%
Default (85) 9,288 bytes 79.8%
High Quality (90) 10,994 bytes 76.1%
Maximum Quality (100) 16,370 bytes 64.5%

The last column is 1 minus the WebP size divided by 46,092. The step from 90 to 100 added 5,376 bytes, more than the 3,572 bytes between 70 and 90. At Default (85), 800px gave 800 × 420 and 8,024 bytes, 640px gave 640 × 336 and 7,270 bytes, and 1920px or 1280px left it at 1200 × 630.

The alpha channel came through identical at every setting: all 200,430 fully transparent pixels and 1,964 semi-transparent edge pixels kept their exact values. Colors changed slightly, as lossy compression does, with the larger changes along hard edges such as the Z, even at Maximum Quality (100): that setting is high-quality lossy, not lossless. Byte counts can shift slightly with encoder updates.

The converter keeps existing transparency but can't remove a white background; check results over a dark background, since a white preview hides the difference. Keep the original PNG as your master copy: WebP to PNG can turn a WebP back into an editable PNG with transparency, but can't restore detail the lossy step removed.

How to serve WebP with a fallback for older browsers

Current versions of Chrome, Edge, Firefox, Opera and Safari all display WebP. Older Macs are the exception: Safari needs version 14 or later on macOS Big Sur (11) or newer. If your analytics show older systems, keep a JPG or PNG fallback with the picture element:

<picture>
  <source srcset="/images/trail-shoe-1280.webp" type="image/webp">
  <img src="/images/trail-shoe-1280.jpg" alt="Blue trail running shoe, side view" width="1280" height="960" fetchpriority="high">
</picture>

A browser that doesn't support a source's type skips it and loads the <img> file. Everything else belongs on the <img>: alt text, the width and height that reserve space and prevent layout shift, and hints such as fetchpriority="high", which only your LCP image should get.

For a CSS background image, use image-set() with type(), keeping a plain url() line first for older browsers:

.hero {
  background-image: url("/images/hero.jpg");
  background-image: image-set(url("/images/hero.webp") type("image/webp"), url("/images/hero.jpg") type("image/jpeg"));
}

Or skip the markup: browsers that support WebP list image/webp in the Accept header of image requests, so a server or CDN can return WebP from the same URL. It should also send Vary: Accept, so caches store the WebP and JPG versions separately.

WebP in WordPress, Shopify, Squarespace and Wix

Many site builders handle formats for you. As of November 2026:

  • WordPress: since version 5.8 you can upload WebP like JPG or PNG, provided your host's image library (Imagick or GD) supports it; otherwise the upload shows an error. Resized copies keep the uploaded format by default, so converting first gives you WebP throughout. Tools > Site Health > Info > Media handling shows your image setup.
  • Shopify: product images can be WebP, but Shopify's help center recommends PNG, then JPEG, and its Imagery service shows each visitor the best format their browser supports. Upload a good PNG or JPG and let Shopify pick the format.
  • Squarespace: it converts uploads to WebP itself and makes up to seven widths (100 to 2,500 pixels). It recommends files of 500 KB or less, so resizing first still helps. Animated WebP files can't be uploaded.
  • Wix: it converts uploaded images to AVIF on the live site. WebP uploads are accepted, but animated ones become still images.

Other ways to convert images to WebP

  • Command line: Google's cwebp encoder converts and resizes at once. cwebp -q 85 -resize 1280 0 photo.png -o photo.webp makes a 1280-pixel-wide WebP at quality 85; the 0 height keeps the proportions. Add -lossless for pixel-exact output.
  • Image editors: GIMP exports WebP, with a lossless option, and Photoshop can save WebP too.
  • iPhone photos: HEIC Converter saves a HEIC photo straight to WebP when you choose WebP under Output Format.
  • SVG, AVIF or WebP sources: use Image Converter, choosing WebP under Output Format and Transparent under Background Color, because its default, White, fills transparent areas.

For a whole folder on macOS or Linux:

for f in *.png; do cwebp -q 85 "$f" -o "${f%.png}.webp"; done

Troubleshooting WebP conversions

The WebP is larger than the original

Screenshots and flat graphics saved as reduced-color PNGs, and JPGs saved at low quality, can come out larger, especially at high Quality settings. Try a lower Quality or a Max Width, or keep the original; not every file has to be WebP.

Text and thin lines look soft

Lossy WebP changes hard edges first, at every setting. Use High Quality (90) or Maximum Quality (100) with Keep Original, compare at 100% zoom, and keep the PNG if the artwork must stay pixel-exact.

An animated GIF turned into a still image

The converter keeps the first frame of a GIF and the first page of a multi-page TIFF. Keep the GIF, or turn the animation into a short video for your page.

Colors look slightly less vivid

The converter converts to sRGB, the web's standard color space, and drops embedded color profiles. Photos in a wide-gamut profile such as Display P3 can lose a little of their most saturated color.

The file is refused or the conversion fails

WebP Converter accepts JPG, JPEG, PNG, GIF, TIFF and TIF files up to 30 MiB by default and 100 megapixels. Use HEIC Converter for iPhone HEIC photos and Image Converter for AVIF, SVG or WebP.

Frequently asked questions

Is WebP better than PNG for a website?

For photos, banners and most graphics, yes. Google measures lossless WebP at 26% smaller than PNG and lossy WebP with transparency at about a third of the PNG size. Zutilium's converter writes lossy WebP only, so keep PNG for pixel-exact artwork and compare sizes for flat screenshots, where a reduced-color PNG can be smaller.

Does converting JPG to WebP reduce quality?

Yes, slightly: the JPG is compressed a second time, and Zutilium's converter writes lossy WebP even at Maximum Quality (100). Start from the best source you have, because a low-quality JPG's blocky artifacts cost bytes and survive the conversion. Compare both at the size your page shows them.

Do all browsers support WebP?

Yes, current versions of Chrome, Edge, Firefox, Opera and Safari. Only Safari on Macs older than macOS Big Sur (11) can't show it; keep a JPG or PNG fallback if your analytics show those visitors.

Will converting images to WebP help SEO?

Indirectly. Google Images indexes WebP like JPG and PNG, and smaller images can improve LCP, one of the Core Web Vitals Google recommends getting right. Speed doesn't replace relevant content, descriptive file names and alt text.

Should I convert images to WebP before uploading them to WordPress or Shopify?

For WordPress, yes, if your host supports WebP: the upload and its resized copies stay WebP. Shopify, Squarespace and Wix create modern formats themselves, so upload a good-quality original within their size limits.