Image to WebP Converter
Convert PNG, JPG, GIF, BMP, TIFF, AVIF, SVG, and ICO to optimized WebP in your browser.
How It Works
Converting images to WebP with img2webp.com is straightforward. Drag and drop your files onto the converter, browse from your device, paste from clipboard, or import from a URL or cloud storage (Dropbox, Google Drive, OneDrive).
Your images are rendered to an HTML Canvas and exported as WebP using canvas.toBlob("image/webp", quality). This means conversion happens right in your browser — no waiting in a server queue.
Choose between lossy and lossless modes, adjust the quality slider, set resize options, and download individual files or grab everything in a single ZIP archive.
WebP Quality and Size Controls
img2webp.com gives you real control over your output. Select lossy mode for smaller file sizes — ideal for photographs and complex images — or lossless mode for pixel-perfect output suited to logos, icons, and graphics with sharp edges.
In lossy mode, use the quality slider to balance file size against visual fidelity. Lower values produce smaller files; higher values keep more detail. Finding the right setting depends on your use case, but most web images look great between 75 and 85.
Resize and Transparency Options
Resize images before conversion using four modes: keep original dimensions, scale by percentage, set exact pixel dimensions, or choose from screen presets. This lets you prepare images for specific layouts without a separate editor.
WebP supports alpha transparency, so your transparent PNGs stay transparent. For contain-mode resizing, you can set a background fill color. There is also an optional color-to-transparent replacement with a tolerance control — useful for removing solid backgrounds from simple graphics.
Batch Conversion and Downloads
Need to convert an entire folder of images? Drop multiple files at once and convert them all in a single batch. Each file is processed independently, so you can mix formats and sizes freely.
Download converted files one at a time or grab them all with a single ZIP archive — assembled right in your browser using fflate. No server round-trip, no waiting for email links.
Learn More About WebP
New to the WebP format? Read our guide on what WebP is and why it matters for web performance. If you are converting from PNG, follow the PNG to WebP tutorial for step-by-step instructions.
Wondering how WebP stacks up against other formats? Check our WebP vs PNG comparison to see the differences in transparency, size, and quality.
Browse all our guides and tutorials for more tips, or visit the about page for details on privacy and conversion behavior.