How to convert PNG to WebP
- 1
Drop your PNG file into the converter above, or click to browse. Nothing is uploaded — the file stays on your device.
- 2
Adjust the settings (quality and an optional max width). Tip: Quality 80 (the default) is a good starting point for web graphics. Set quality to 100 for lossless WebP, which keeps every pixel but is larger than lossy output.
- 3
Click “Convert to WebP”. The conversion runs locally in your browser — larger files take longer, and a progress bar keeps you posted.
- 4
Preview the result and hit Download to save your WebP file.
Settings at a glance
| Setting | Options | Default | What it does |
|---|---|---|---|
| Quality | 10–100 (steps of 5) | 80 | Below 100 the WebP is lossy and the value is passed to the encoder as its quality; 100 switches to lossless WebP (shown as "Lossless"). |
| Max width | Any width of 16 px or more, or blank | Original | Scales down to this width and keeps the aspect ratio; images narrower than this are never enlarged. |
| Transparency | Automatic | Kept | WebP supports full alpha, so transparent areas stay transparent. |
Why convert PNG to WebP?
PNG's lossless compression makes for heavy files, and on the web that weight is page-load cost. WebP supports both lossy and lossless compression and full alpha transparency, so it can replace PNG for logos, UI graphics and screenshots. Lossy WebP is usually much smaller than the PNG, especially for photographic images; how much smaller depends on the image and the quality you choose.
Smaller images help Largest Contentful Paint and other page-speed metrics, and every current major browser supports WebP. Note that some older apps and upload forms still reject it, so keep the PNG if you need it elsewhere.
PNG vs WebP at a glance
| PNG | WebP | |
|---|---|---|
| Type | Raster image | Raster image |
| Compression | Lossless | Lossy or lossless, usually smaller than JPG/PNG |
| Transparency | Yes (full alpha) | Yes (full alpha) |
| Compatibility | Universal | All modern browsers; some apps/uploaders still reject it |
| Best for | Screenshots, logos, graphics with transparency | Web images, page-speed optimization |
About the formats
PNG Portable Network Graphics
PNG is the standard lossless image format: pixels are preserved exactly, and full alpha transparency is supported. That makes it ideal for screenshots, logos, and UI graphics — at the cost of much larger files than lossy formats, especially for photos.
WebP WebP (Google)
WebP is Google's modern web image format. It usually compresses smaller than JPG at similar quality, supports both lossy and lossless modes, and keeps full alpha transparency. All modern browsers display it, though some older apps and upload forms still reject it.
Frequently asked questions
Does WebP keep PNG transparency?
Yes. WebP supports full alpha-channel transparency, so logos, icons and UI graphics keep their transparent backgrounds when converted with the ANFX PNG to WebP converter, in both lossy and lossless mode.
Is PNG to WebP lossy or lossless?
You choose with the quality slider. Any value below 100 produces lossy WebP, which is smaller but not pixel-identical. Setting quality to exactly 100 switches the encoder to lossless WebP, which preserves every pixel of the PNG.
Will the WebP be smaller than my PNG?
Usually, but the amount varies. Lossy WebP is typically much smaller than a PNG, particularly for photos and detailed images. Lossless WebP (quality 100) is also often smaller than PNG but by a smaller margin, and the size depends on the image. The tool shows the output size after converting so you can compare.
Is this PNG to WebP converter really free?
Yes. The ANFX PNG to WebP converter is free to use with no sign-up, no watermark added to the output, and no cap on how many files you convert. It is paid for by the ads on the page, not by you.
Are my files uploaded to a server?
No. The ANFX PNG to WebP converter runs FFmpeg compiled to WebAssembly inside your browser tab, so your PNG file is read and converted on your own device and is never sent to ANFX or anyone else. The only thing downloaded is the conversion engine itself, which makes the tool suitable for private or confidential files.
Is there a file size limit?
The tool sets no file-size or length limit of its own. The whole PNG file is loaded into your browser tab's memory and converted there, so the practical ceiling is your device's available memory: large files take longer, and very large ones can fail on phones or low-memory computers. Trimming does not reduce the memory needed to load the file, but it does shorten the conversion and shrink the output.
Why does the first conversion take a moment to start?
On the first conversion your browser downloads the conversion engine (FFmpeg compiled to WebAssembly, about 31 MB) from a public CDN. The browser caches it, so later conversions start much faster. The engine runs on a single CPU thread, so conversion speed depends on your device and on the length and resolution of the file.
Related converters
See all converters on the free online tools page.
PNG and WebP explained
Not sure which format you actually want? These guides cover the trade-offs.
Making videos? Grab free assets too
ANFX offers a library of free 4K motion graphics, overlays, and stock video — no attribution required.
Browse free stock video