Runs on your device · Your file never leaves your device.
WebP keeps the transparency PNG is used for, and in its lossless mode stores exactly the same pixels in what is usually a smaller file, so it suits logos, icons and graphics on a web page.
Unlike converting a transparent PNG to JPG — which fills the transparent areas with white — WebP preserves the transparent background intact.
Batch convert a set of graphics at once, entirely on your device, with an optional size cap.
Not for: Print or archival masters — keep the original PNG for those and use WebP on the web.
WebP has two modes: lossless, which keeps every pixel as PNG does, and lossy, which approximates colours as JPG does. Without a size limit, this page uses the lossless mode: every pixel and every level of transparency is kept exactly, and the result card says “Lossless”. The quality slider is hidden then, because there is nothing to approximate.
The file is usually smaller than the PNG, but not always. The result shows the new size next to the original, so if a file did not get smaller, keep the PNG.
With Force a maximum file size on, the lossless version is tried first and kept if it fits. If it does not, the picture is encoded lossily, starting at the slider’s quality and going down to 40, and only then is the pixel size reduced; /compress-image explains the steps. The transparency is still kept at full quality in the lossy mode; it is the colours that are approximated.
Lossy WebP always stores colour at half the resolution of brightness. On photographs this is hard to see; on a screenshot with small red or blue text, or a logo with thin coloured lines, edges can look soft or fringed. The quality score is measured on brightness only, so look at the after preview too before replacing the original.
WebP cannot store a picture wider or taller than 16,383 pixels. Full-page screenshots of long websites are the PNGs that most often go beyond it; such a picture is scaled down to fit, and its result says so. If every pixel of a very long screenshot matters, keep it as PNG.
This page in other languages: العربية · Deutsch · Français · Español · Русский · Português · 中文 · हिन्दी · Türkçe · עברית · فارسی · اردو · Bahasa Indonesia · বাংলা