This tool converts GIF images into modern, compact WebP files in your browser, with an adjustable quality slider. WebP typically beats GIF on file size at the same visual quality and keeps transparency, so images look the same but download faster — ideal for web pages and app assets.
How it works
The converter draws your GIF onto an HTML <canvas>, which reads the first frame, then encodes that canvas to WebP with the browser’s toDataURL('image/webp', quality). The quality slider (0-100, default around 85) is passed straight into the encoder: higher values keep more detail at a larger size, lower values compress harder for smaller files. Transparency is preserved as a WebP alpha channel.
Animated GIFs are flattened to a single still, since the canvas reads one frame. No upload happens — the whole process runs on your device.
Example
Take a 600×400 GIF banner that is 480 KB:
- Set the quality slider to 85.
- Drop the GIF onto the box.
- The tool re-encodes the first frame as WebP — often around 120-200 KB, a saving of roughly 60-75% — and offers it for download.
| Quality | Typical result |
|---|---|
| 60 | Smallest file, minor softening |
| 85 (default) | Large saving, no visible loss |
| 100 | Maximum fidelity, larger file |
Everything runs locally — your images are never uploaded.