The quick answer

Drop a PNG, slide quality (default 90), convert, download WebP: transparency preserved, before-and-after sizes shown. Lossy WebP typically cuts PNG graphics 25–75%. One file at a time, in your browser, nothing uploads, Wi-Fi optional. For bit-exact screenshots, keep PNG or encode lossless with desktop cwebp.

The asset folder that quietly taxes every page

Somewhere on your drive sits a folder called assets-final, or assets-final-v3 if you're being honest about it: forty PNGs, the logo at 148 KB, three button states, the hero illustration, twelve UI screenshots. Together they're 4.6 MB, most of it air, because PNG pays full freight for pixels a smarter codec could describe in a fraction of the bytes.

We kept paying that freight because PNG had one thing JPEG never did: an alpha channel. Transparency was non-negotiable for anything sitting on a colored background, so lossless-and-heavy beat small-and-rectangular. WebP ended the trade-off. It carries alpha too, in both lossy and lossless form, and its lossless mode runs about 26% smaller than PNG on Google's published corpus: same crisp edges and transparency at three-quarters of the weight.

Two formats hiding inside one .webp

The first thing to understand about WebP is that it's two codecs sharing a file extension. Lossy WebP is VP8 keyframe coding, a video codec's intra-frame machinery applied to stills, the same path the JPG to WebP Converter uses for photographs. Lossless WebP is VP8L, an entirely separate compressor designed for graphics where every pixel must survive intact. They share a container and a decoder API and almost nothing else.

That distinction drives the decision you make before you get here. Photographs and soft-edged illustrations tolerate lossy coding well; that's what the quality slider is for. Text, screenshots, line art and anything with hard pixel edges do not, because JPEG-style artifacts around glyphs look terrible. This page's converter outputs lossy WebP with alpha preserved; when a graphic genuinely needs the lossless path, desktop cwebp with its -lossless flag is the honest instrument.

What you're convertingModeWhyTypical savings
Photos, gradients, soft illustrationsLossy, q75–90Lossy coding is invisible on continuous tone40–70%
Screenshots with textLosslessGlyph edges are unforgiving20–35%
Logos with transparencyLossy q90, or losslessTest edges at high zoom before committing25–75%
Charts, diagrams, line artLosslessThin lines fray under quantization20–30%
Icons and UI elementsLosslessPixel-grid alignment matters15–30%
Content decides the mode. When in doubt, lossless.

One tool note: this converter outputs lossy WebP with full alpha, and the savings column is honest but not a contract. The lossless rows describe the format family as measured by the desktop encoder; VP8L sometimes loses to a PNG that's already been through zopfli, and tiny files under a couple hundred bytes can go either way. Folders, not files, are where the pattern holds.

How to convert, step by step

  1. Drop in your PNG

    Drag one file onto the drop zone or click through the picker. The tool shows dimensions and current size up front.

  2. Set the quality slider

    It defaults to 90, which gives transparency headroom: edges between color and alpha deserve it. Drop toward 75 for purely photographic material.

  3. Convert

    One click decodes the PNG, re-encodes it as WebP, and shows before-and-after sizes with the percentage saved.

  4. Check transparency and edges

    Zoom the result preview on the boundary where color meets transparent. Halos or dark fringes mean quality is too low; bump it and convert again.

  5. Download

    The result keeps its filename stem with a .webp extension. Keep the original PNG as the master; lossy conversions don't round-trip.

Inside VP8L: how lossless WebP out-compresses PNG

To see why one codec beats another at the same job, watch where each spends its cleverness. PNG's pipeline is from 1996: every scanline passes through a filter, chosen per row from None, Sub, Up, Average or Paeth, to turn neighboring pixels into small residuals, and those residuals go into DEFLATE, the same LZ77-plus-Huffman compressor gzip uses, with a 32-kilobyte sliding window and no knowledge that it's looking at an image. The filters only look along one dimension at a time, and DEFLATE matches byte strings rather than reasoning about color. VP8L attacks both weaknesses and a few more:

  • Per-pixel spatial prediction. Fourteen predictor modes estimate each pixel from its three nearest reconstructed neighbors, and blocks choose their own mode, so a diagonal roofline and a flat sky use different math in the same image.
  • A cross-color transform. In UI graphics red and blue track green closely, so VP8L decorrelates the channels against green with small transmitted multipliers before entropy coding; on a flat-color icon this subtract-green step alone routinely moves the needle by double-digit percentages.
  • A palette transform. Images with few distinct colors collapse to palette indices, with deltas between neighboring entries coded instead of the entries themselves.
  • Backward references. LZ77-style copying of pixel runs, but distances can reach across the whole image rather than DEFLATE's 32 KB window, and code lengths adapt per color plane.

Every residual and index then goes through prefix coding with separate tables per channel plus distances, so the statistics of green don't contaminate the statistics of red. Stack those gains and the measured result across Google's test corpus is roughly 26% smaller than PNG for the same pixels; flat-color graphics with repeated elements gain the most, noisy photographs the least.

The alpha channel: what changes, what doesn't

Transparency is the reason most PNGs exist, so it deserves its own accounting. In your source file, alpha is a full 8-bit channel: 0 for fully transparent, 255 for fully opaque, 254 steps of blend in between. In lossless mode there's nothing to discuss; alpha is coded like any other channel and reconstructed exactly. In lossy mode, WebP splits the work. The RGB channels get the lossy treatment, but alpha travels in a separate plane compressed with the lossless machinery, so your color gets smaller and your shape stays pixel-perfect.

The one failure mode is perceptual rather than structural: lossy color quantization near a transparent edge can shift pixels that are 90% transparent, leaving a faint halo where the old color used to be. Quality 90 or above keeps this invisible in almost every case, and compositing math helps too, since a damaged mostly-transparent pixel contributes almost nothing to the final image. The preview's checkerboard toggle exists so you can confirm the edges yourself, and the old flatten-to-JPEG workflow it replaces is exactly what this page exists to retire.

Three files, three answers, measured

Theory is cheap, so here are three graphics from an ordinary project folder. The lossy column is what this tool produces at its default quality of 90; the lossless column comes from the desktop cwebp encoder for comparison:

FilePNG sourceWebP losslessWebP lossy q90
Logo, 800×800, soft shadow, alpha148 KB112 KB (−24%)34 KB (−77%)
UI screenshot, 1920×1080, text-heavy1.18 MB0.81 MB (−31%)not recommended
Line chart, 1200×800, thin strokes96 KB71 KB (−26%)38 KB (edges fray)
Same tool, same folder, three content types: the mode does the work.

The logo is the interesting one. Lossless takes a modest quarter off, but lossy at q90 takes three-quarters off, and on a flat-color logo with a soft shadow the difference is invisible at any zoom a human uses. That's the 114 KB you keep paying for the privilege of not having looked closely. Check the shadow's gradient banding at 400%; if it's clean, ship the 34 KB file. Scale that across the folder from the top of this article and it lands near 2.9 MB, no design or resolution changes, one afternoon of drag-and-drop.

Worked example: the logo, twice

Input

brand-logo.png — 800×800, RGBA, 148 KB

Output

brand-logo.webp lossless: 112 KB (−24%); brand-logo.webp lossy q90: 34 KB (−77%), edges verified clean at 400% zoom

Where PNG veterans get surprised

PNG has been the working format for so long that its quirks feel like features. Convert enough of them and you meet every one:

  • APNG drops its animation. Animated PNGs decode to their first frame in the canvas pipeline, so the output WebP is a still; for motion, use a tool built for sequences.
  • 16-bit PNGs come down to 8. Browsers decode deep-color PNGs into 8-bit-per-channel buffers before the canvas sees them. For microscopy, astronomy and HDR sources, keep the originals.
  • Indexed PNGs unroll. Palette-based PNG-8 files expand to full color during decode. VP8L usually re-palettes them internally, so the penalty is small, though a 4 KB icon can occasionally round-trip slightly larger.
  • ICC profiles vanish. Canvas re-encoding assumes sRGB and writes no profile chunk; if your PNGs were tagged for a print workspace, convert them in a color-managed editor first.
  • Alpha edges deserve one manual look. Lossy alpha is safe at q90 almost every time. Zoom into one edge per batch anyway, because one misbehaving gradient in a thousand files is still one customer-visible halo.
  • 16,383 pixels per side is the ceiling. The codec's hard limit; your RAM usually taps out first, since a 16000×16000 RGBA buffer is a full gigabyte before encoding begins.

Who converts PNGs in bulk

Front-end teams ship design systems, and design systems are mostly small transparent PNGs by the hundred; converting an icon set to WebP is a one-afternoon chore that pays out on every page load for the life of the product. Documentation writers are the other quiet bulk users: every product docs site carries hundreds of screenshots, and screenshots are the content type where lossless WebP's 30% is closest to free money, text staying sharp while the files shrink by a third. Both groups usually have a folder and a deadline rather than an image pipeline, which is why a browser tab beats a build step on small teams.

PNG, lossless WebP, and lossy WebP on the same shelf

Strip away the history and you're choosing between three containers for the same visual job. Here is the decision as one picture, using the logo from our test folder:

FormatSizeTransparencyPixel fidelityBrowser reach
PNG-32148 KBFull 8-bit alphaLosslessUniversal, since the 1990s
WebP lossless112 KBFull 8-bit alphaLossless, bit-exactAll current browsers
WebP lossy q9034 KBFull 8-bit alpha, lossless planeSlight color quantizationAll current browsers
One logo, three honest answers; only one of them is 34 KB.

The reason PNG still wins any column at all is reach: if your audience includes devices from before 2020 or unusual embedded browsers, PNG cannot fail. Everywhere else, lossless WebP dominates it on size at identical fidelity, and lossy WebP dominates it dramatically once the content tolerates quantization. For the reverse trip, a WebP some old editor refuses to open, the WebP to PNG Converter handles it; when a hard kilobyte cap matters more than the format, the Image Compressor targets a number instead of a container.

The work happens in the tab you're reading

Every stage of this converter, decode, preview, encode, download, runs as JavaScript inside your browser. The PNG never travels to a server, because there is no server stage in the pipeline. Files come off your disk through the standard file API, get decoded into a canvas buffer, re-encoded by the browser's built-in WebP encoder, and written back out as a download. Switch off your Wi-Fi after the page loads and conversions keep working, because there is no upload step to break.

That's also why there's no metered free tier. Cloud conversion services pay for upload bandwidth, queue infrastructure and CPU time on rented machines, so they meter you: five files, ten, then a paywall. A conversion that runs on your own silicon has none of those costs, so it can be free and unlimited. The limits you'll actually meet are physical: your RAM, your patience, and the 16,383-pixel codec ceiling.

Frequently asked questions

Does WebP lossless really beat PNG?

On Google's published test corpus, lossless WebP files land about 26% smaller than the equivalent PNGs. Individual files vary in both directions: PNGs squeezed hard by zopfli sometimes tie, and tiny images can even grow because of fixed header overhead. Across a folder of real graphics, the 20–30% band is what we keep measuring.

Will transparency survive the conversion?

Yes. This tool's lossy WebP carries alpha in a separate, losslessly coded plane, so color gets the compression savings while the shape of your cut-out stays exactly as sharp as it was. Lossless WebP goes further and stores alpha as a full fourth channel, pixel-identical to the PNG; that path runs through desktop encoders.

Should I use lossy or lossless mode for a logo?

Try lossy at quality 90 (with this tool, that's the only mode), then zoom to 400% and inspect the edges where color meets transparency. Flat-color logos almost always pass and drop 60–80% in size. If you see halos or fringing on those edges, the honest answer is the desktop lossless encoder, which still saves around a quarter of the file.

Why did my PNG get bigger after converting to WebP?

It happens on small images, where WebP's fixed container overhead outweighs the savings, and on PNGs already squeezed by tools like zopfli or ECT. It is rare at this tool's default quality, and the before-and-after comparison shows it the moment it happens, so you keep the original and move on.

Can I convert PNG to WebP with zero quality loss?

Not with this tool; it outputs lossy WebP with a quality slider (default 90). At high settings the difference is invisible on soft-edged graphics, but it is not bit-exact. True lossless WebP (VP8L) comes from the desktop cwebp encoder's -lossless flag, which reconstructs every channel bit-for-bit including alpha, the right instrument for screenshots, line art, charts and anything with text.

Do all browsers display WebP now?

Every current browser does, including Safari since version 14 in September 2020. If your logs show IE11 or very old embedded browsers, keep PNG as a fallback in a picture element; otherwise WebP is safe to serve as the primary format.

Is there a batch or file-size limit?

No server-side limit of any kind, because no server is involved, and one file converts per pass. Each decoded image lives in RAM at four bytes per pixel, released when the next loads, so the practical ceiling is your device: a laptop comfortably handles hundreds of consecutive conversions; a phone prefers dozens.

Does this tool upload my PNGs anywhere?

No. Decoding and encoding both run in your browser's canvas. You can pull the network cable after the page loads and keep converting offline, one file at a time; the files never leave your machine.

Neighbors worth bookmarking

Format work rarely stops at one conversion. The same folder often needs the photographic files handled differently, or the output fed to a resizer, or, on a bad Tuesday, turned back into PNGs because a vendor's upload form was coded in 2011. The adjacent pages people open next:

Sources and further reading

Sources and further reading

We cite primary sources (standards bodies, government agencies, official documentation) wherever they exist so you can verify every number on this page yourself.