Logos, icons, product cut-outs and interface graphics usually need a transparent background, and for years that meant PNG. WebP supports the same transparency with much smaller files, and every current browser displays it. But the right choice still depends on what the image is and where it is used.

How transparency works in each format

Both PNG and WebP store an alpha channel, a fourth value for every pixel that controls how see-through it is. That allows smooth, soft edges and shadows that blend into any background, not just fully transparent or fully solid areas.

PNGLossless WebPLossy WebP
TransparencyFull alphaFull alphaFull alpha
Pixel accuracyExactExactClose, not exact
Typical size vs PNG100%70 to 80%15 to 40%
Browser supportUniversalAll current browsersAll current browsers
Desktop software supportUniversalGood and improvingGood and improving

The key point is that lossless WebP is not an approximation. It reproduces the PNG pixel for pixel, including the alpha channel, in a smaller file.

File size compared

Results vary with the image, but these ranges are typical:

ImagePNGLossless WebPLossy WebP, quality 90
Flat logo, 600 x 20018 KB13 KB8 KB
Icon set sprite, 512 x 51260 KB42 KB20 KB
Product cut-out photo, 1200 x 12001.4 MB1 MB120 to 200 KB
Screenshot with transparency, 1600 x 1000700 KB500 KB150 KB

The biggest savings come from photographic images with transparency, such as product cut-outs. PNG compresses photographic detail poorly, so lossy WebP can be a tenth of the size with no visible difference. Simple flat logos are already small as PNG, so the saving is real but modest.

Edge quality: when lossless matters

Lossy compression can slightly blur the boundary between a sharp graphic and its transparent background. On photos and soft-edged cut-outs, nobody notices. On a small logo with thin lines or small text, a faint halo can appear at low quality settings.

A simple rule for transparent images:

  • Logos, icons and text graphics: use lossless WebP, or quality 100 in our tools.
  • Product cut-outs and photographic images: use lossy WebP at quality 85 to 90.
  • Anything with very fine lines: check at 100 percent zoom before replacing the PNG.

The PNG to WebP converter keeps the alpha channel intact. Set the quality slider to 100 for lossless output on logos, or leave it at 85 for photographic images.

Convert transparent PNGs to WebPAny size, free, runs in your browserOpen tool

Where SVG beats both

If your logo exists as a vector file, SVG is usually better than either PNG or WebP on a website. It is drawn from shapes rather than pixels, so it stays perfectly sharp at every size and on every screen density, and a simple logo is often only 2 to 10 KB.

SVG is not suitable for photographs or for platforms that do not accept it, such as most social networks, email clients and some content management systems. Keep a PNG or WebP version for those.

When to keep PNG

WebP is the better choice for publishing, but PNG still has clear uses:

  1. Master files and editing. Keep your original PNG or design file. Convert copies for the web.
  2. Printing and press kits. Printers and journalists expect PNG, TIFF or vector formats.
  3. Email signatures and older software. Some email clients and desktop apps still do not display WebP reliably.
  4. Uploads to platforms that reject WebP. If an upload form refuses WebP, the WebP to PNG converter turns it back with transparency intact.

Converting a whole set of transparent images

Most websites have more transparent images than they realise: logos in several colours, partner logos, icons, badges and product cut-outs. Convert them as a set so they stay consistent. Add them all to the converter at once, choose lossless for the logos and icons, and lossy at quality 85 to 90 for the photographic cut-outs. Keep the same file names with the new extension, then update the references in your site in one pass. Test a few pages on both a light and a dark background to confirm the edges still look clean.

Logo formats by use

Logos appear in many places, and each place has different technical needs.

Where the logo appearsBest formatNotes
Website headerSVGSharp at every size, very small file
Website header without SVG supportPNG or lossless WebP at 2x sizeExport at double the display size
FaviconICO and PNG, plus SVG for modern browsersSeveral sizes needed
Email signaturePNGMany email clients block SVG and WebP
Social profile photoPNG or JPG, squareThe platform converts it anyway
Documents and slidesPNG or SVGPNG is the safest for Office files
PrintVector formats such as PDF, EPS or SVGRaster files limit the print size

The most common mistake is using one PNG file everywhere. A logo exported once at a small size will look blurry on high resolution screens and unusable in print.

Lossless and lossy WebP for logos

WebP can save images in two ways, and the choice matters for logos.

  • Lossless WebP keeps every pixel exactly, like PNG, but is usually 20 to 30% smaller. It is the right choice for logos, icons and anything with sharp edges or flat colour.
  • Lossy WebP discards detail to save space. It works for photos with transparent backgrounds, such as product cutouts, but can leave faint artefacts around the edges of a logo.
ImageRecommended WebP mode
Flat colour logoLossless
Icon setLossless
Product cutout photoLossy, quality 80 to 90
Illustration with gradientsLossy at high quality, or lossless if small

The PNG to WebP converter keeps the transparent background in both modes, so the logo still sits cleanly on any background colour.

Checking edges on light and dark backgrounds

Transparent images can look fine on white and poor on a dark background, or the reverse. This happens when the edges contain a faint halo of the colour the image was originally designed on.

To check, place the logo on a white, a mid-grey and a black background, and zoom to 200%. Look for:

  • A light or dark fringe around the shape.
  • Jagged edges where curves should be smooth.
  • Faint spots in areas that should be fully transparent.

If you see a fringe, export again from the original design file with a transparent background, rather than cutting the logo out of a flattened image. If your site has a dark mode, prepare a separate light version of the logo instead of relying on one file for both themes.

Sizing logos for high resolution screens

A logo displayed at 160 x 40 pixels needs at least 320 x 80 pixels of image data to look sharp on high resolution phones and laptops. Export raster logos at twice their display size, then set the display size in HTML or CSS. The file stays small because logos have few colours, and the edges stay crisp.

Display sizeExport size for sharp display
120 x 30 px240 x 60 px
160 x 40 px320 x 80 px
200 x 50 px400 x 100 px

SVG avoids this step entirely, which is one more reason to prefer it for website logos when your platform allows it.

Transparent product photos

Online stores often use product cutouts on a transparent background, so the product sits cleanly on any page colour. These are photos, not logos, so they behave differently. A PNG cutout of a product photo can easily be 1 to 3 MB, because PNG stores every photographic detail without loss. Lossy WebP at quality 80 to 90 usually brings that down to 100 to 300 KB while keeping the transparent background.

Product cutoutPNGLossy WebP, quality 85
1000 x 1000 product photo1 to 2 MB80 to 200 KB
2000 x 2000 zoom image3 to 6 MB250 to 600 KB

For stores with many products, that difference adds up quickly across category pages that show dozens of cutouts at once. Check the edges carefully after conversion, especially around hair, fur or fabric, where lossy compression can soften fine detail.

For a typical website, a simple rule covers almost every case: SVG for the logo, lossless WebP for icons and flat graphics, and lossy WebP for transparent photos.

A sensible setup for most websites

UseFormat
Site logo in the headerSVG, with a PNG fallback if needed
IconsSVG
Product cut-outs on product pagesLossy WebP, quality 85 to 90
Transparent graphics in articlesWebP, lossless for text and lines
FaviconsPNG and ICO, as browsers expect
Logo for social media profilesPNG or JPG, as each platform expects

Converting the transparent images on a typical website from PNG to WebP often removes several hundred kilobytes from each page. That is a meaningful speed gain for a few minutes of work.