WebP Converter
/webp-converter/
Related tools
Comments
About this tool
Where a WebP converter helps
The most common reason a web page is slow is image weight. Uploading large JPG and PNG files as is to a blog post or a store product page makes loading drag on mobile data and hurts the page speed metrics search engines look at. WebP can hold the same visual quality in a smaller file, so site owners, developers and online sellers often convert images before uploading them.
Read moreShow less
This converter takes several images in any format the browser can open, including JPG, PNG, GIF, BMP and HEIC, converts them to WebP and shows each file's original and new size. Files are never sent to a server; everything is processed in the browser on this device.
Smaller images mean visitors use less data and site owners pay less for hosting traffic. On a store page with dozens of images, a difference of a few hundred KB per image adds up to several MB for the page.
How WebP compression and the conversion work
WebP is an image format Google announced in 2010. Its lossy mode borrows the way the VP8 video codec compresses a single frame: it predicts each block from surrounding pixels and stores only what differs from the prediction. Unlike JPG, PNG and GIF, one format covers lossy compression, lossless compression, transparency (alpha) and animation. In comparisons Google published, lossy WebP was 25% to 34% smaller than JPG at the same SSIM quality index, and lossless WebP was about 26% smaller than PNG.
This tool draws the image on a canvas and creates a lossy WebP with canvas.toBlob('image/webp', 0.9), keeping transparent areas intact. The default quality is set to 90%, above the browser default of 80%, because fine textures such as hair or grass can look smeared at 80%. Move the Quality slider anywhere from 10% to 100% and files already added are reconverted immediately.
WebP files use a container structure called RIFF, so the letters RIFF and WEBP appear at the very start of the file. Well known files sharing the same RIFF structure include Windows WAV audio and AVI video.
Where to use WebP and where to avoid it
For images going on a site you run, such as a blog, personal homepage or online store, WebP is the most efficient choice. Chrome, Edge, Firefox and, since Safari 14 in 2020, every major browser displays WebP, so visitor compatibility is rarely a concern. Converting a transparent PNG to WebP also keeps the transparency while cutting the size substantially.
On the other hand, files submitted to government or company systems, files sent to print shops and files that must open in older editing programs may not be accepted as WebP, so JPG or PNG is safer there. If the site you upload to recompresses images itself, converting to WebP beforehand may make less difference.
Newer formats such as AVIF compress even further than WebP, but fewer programs can save and edit them so far. When balancing support against file size, WebP is a widely chosen middle ground.
WebP conversion caveats and limits
The WebP files this tool creates are lossy, so like JPG they lose a little quality each time they are saved. Lowering the quality a lot smears the area around text and lines, so avoid going too low for screenshots. The WebP format itself can hold at most 16,383 pixels in width or height, so larger images cannot be converted.
Support for saving WebP varies by browser. A browser that cannot save WebP ignores the request and returns a PNG instead; this tool checks the output format and tells you when saving is not supported. Some Safari versions fall into this group, while Chrome, Edge and Firefox save normally. Camera metadata such as EXIF is removed, and only the first frame of an animated GIF is saved as a still image.
The output file keeps its original name with only the extension changed to .webp, and the original file is not overwritten.
Popular tools
FAQ
How much smaller is WebP than JPG?
It varies by image, but in Google's comparison WebP was 25% to 34% smaller than JPG at the same quality. If the original JPG is already heavily compressed, the saving may be smaller.
Does WebP keep a transparent background?
Yes. WebP can store transparency even in lossy mode, so a PNG's transparent background is kept.
What if my browser cannot save WebP?
Saving WebP depends on the browser. Chrome, Edge and Firefox support it, while some Safari versions do not, in which case the tool shows a message saying so. Try again in another browser.
Why is the default WebP quality 90%?
At the browser default of 80%, fine details in photos can look smeared, so the default is a little higher. Even at 90% the file is usually lighter than a JPG at 92%. Lower values give smaller files and lower quality.
Can I use WebP files for official submissions?
Government offices, company systems and print shops sometimes do not accept WebP. JPG or PNG is safer for submissions, while WebP suits images published on websites.
Are my images uploaded to a server?
No. All conversion happens in your browser and files are never sent to a server. Camera metadata (EXIF, location and so on) is removed from the converted files.