Skip to content

Convert PNG to WebP in your browser

Make PNG graphics and screenshots smaller with lossless or lossy WebP, keeping transparency.

Image compression workspace

Settings
FormatWebP for best compression
Quality82 is a solid default
82
Higher = larger file. JPEG uses perceptual scaling.
Resize1.000 = original size
Options
Compression
Progress0%

Buy Me a Coffee

To convert PNG to WebP, select the PNG, choose lossless or a quality level, and click Compress. Localsquash encodes WebP with libwebp in your browser, keeps transparency, and never uploads the image.

How to convert PNG to WebP

  1. Select your PNG image.
  2. WebP is preselected; choose lossless or set the quality.
  3. Optionally resize, crop, or keep metadata.
  4. Click Compress, compare the result, and download the WebP.

Why convert PNG to WebP?

Lossless WebP

Keeps every pixel and is typically smaller than PNG for graphics and screenshots.

Lossy WebP

Much smaller for photographic PNGs. Start around quality 80 and compare edges and text.

Transparency

WebP supports an alpha channel in both lossless and lossy modes.

Technical specifications

Localsquash image processing specifications
EngineFFmpeg compiled to WebAssembly (ffmpeg.wasm core 0.12.10, single-threaded), running in your browser tab
InputsJPG, PNG, WebP, BMP, GIF (first frame)
OutputsWebP (libwebp, lossy or lossless), JPEG, PNG (compression level 9)
ControlsQuality, resize, crop, strip metadata
TransparencyKept in PNG and WebP; JPEG has no alpha channel
Not supportedAnimated output, batch processing, exact-KB targets
MemoryLimited by the browser and device; phones fail sooner on large files
NetworkAbout 32 MB of engine files downloaded from cdn.jsdelivr.net when you select a file; your media is never sent

How to verify nothing is uploaded

  1. Open your browser’s developer tools and select the Network tab.
  2. Select a file and wait until the engine status shows Ready.
  3. Optionally switch the device offline, then start compression. It still completes because encoding runs locally.
  4. Review the requests: page assets, analytics, and ffmpeg-core files appear, but no request contains your media.

PNG to WebP FAQ

Does PNG to WebP keep transparency?

Yes. WebP supports alpha transparency in lossless and lossy modes.

Is lossless WebP always smaller than PNG?

Not always. It is usually smaller for screenshots and graphics, but an already optimized PNG may not shrink. Compare the output size before replacing the original.

Is PNG to WebP conversion private?

Yes. Conversion runs locally in your browser with FFmpeg WebAssembly. The file never leaves your device, and there is no signup or watermark.