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.
| PNG | Lossless WebP | Lossy WebP | |
|---|---|---|---|
| Transparency | Full alpha | Full alpha | Full alpha |
| Pixel accuracy | Exact | Exact | Close, not exact |
| Typical size vs PNG | 100% | 70 to 80% | 15 to 40% |
| Browser support | Universal | All current browsers | All current browsers |
| Desktop software support | Universal | Good and improving | Good 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:
| Image | PNG | Lossless WebP | Lossy WebP, quality 90 |
|---|---|---|---|
| Flat logo, 600 x 200 | 18 KB | 13 KB | 8 KB |
| Icon set sprite, 512 x 512 | 60 KB | 42 KB | 20 KB |
| Product cut-out photo, 1200 x 1200 | 1.4 MB | 1 MB | 120 to 200 KB |
| Screenshot with transparency, 1600 x 1000 | 700 KB | 500 KB | 150 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 toolWhere 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:
- Master files and editing. Keep your original PNG or design file. Convert copies for the web.
- Printing and press kits. Printers and journalists expect PNG, TIFF or vector formats.
- Email signatures and older software. Some email clients and desktop apps still do not display WebP reliably.
- 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 appears | Best format | Notes |
|---|---|---|
| Website header | SVG | Sharp at every size, very small file |
| Website header without SVG support | PNG or lossless WebP at 2x size | Export at double the display size |
| Favicon | ICO and PNG, plus SVG for modern browsers | Several sizes needed |
| Email signature | PNG | Many email clients block SVG and WebP |
| Social profile photo | PNG or JPG, square | The platform converts it anyway |
| Documents and slides | PNG or SVG | PNG is the safest for Office files |
| Vector formats such as PDF, EPS or SVG | Raster 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.
| Image | Recommended WebP mode |
|---|---|
| Flat colour logo | Lossless |
| Icon set | Lossless |
| Product cutout photo | Lossy, quality 80 to 90 |
| Illustration with gradients | Lossy 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 size | Export size for sharp display |
|---|---|
| 120 x 30 px | 240 x 60 px |
| 160 x 40 px | 320 x 80 px |
| 200 x 50 px | 400 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 cutout | PNG | Lossy WebP, quality 85 |
|---|---|---|
| 1000 x 1000 product photo | 1 to 2 MB | 80 to 200 KB |
| 2000 x 2000 zoom image | 3 to 6 MB | 250 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
| Use | Format |
|---|---|
| Site logo in the header | SVG, with a PNG fallback if needed |
| Icons | SVG |
| Product cut-outs on product pages | Lossy WebP, quality 85 to 90 |
| Transparent graphics in articles | WebP, lossless for text and lines |
| Favicons | PNG and ICO, as browsers expect |
| Logo for social media profiles | PNG 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.







