Image to WebP Converter
Batch convert images to WebP format, smaller size with better quality
Drag images here, or click to select files
Supports JPG, PNG, GIF, BMP formats, select multiple at once
What is Image to WebP Conversion?
Image to WebP converts JPG, PNG, GIF, BMP, and other image files into the WebP format. Files are uploaded to ToolAct's WebP conversion service, which uses server-side libwebp (via libvips) to encode the output, then streams it back to the browser. The temporary upload is deleted from the server immediately after conversion - it is not archived and is not used for training. WebP was designed for the web and can often produce smaller files for photos and graphics while supporting transparency and both lossy and lossless modes depending on settings. Typical goals include faster pages, smaller uploads, reduced bandwidth, and modern asset optimization. WebP is not automatically the best answer in every situation: very old clients, print workflows, metadata requirements, or editing software may still prefer PNG, JPG, or another format. After conversion, image sharpness, transparency, color appearance, and file size should be checked together rather than judging only by compression ratio.
How to Use
How to use
- Drag or click to upload images (supports multiple)
- Adjust the WebP quality slider (recommended 80%+ to maintain visual quality)
- Click "Convert" button, view results and download
Quality Tips
- Use higher quality for screenshots, UI images, or text-heavy graphics; compression artifacts are more visible around sharp edges.
- Keep the original file when transparency, animation, or exact color matching matters.
Use Cases
Technical Principle
WebP is a Google container format built on three internal codecs: VP8 for lossy still images, VP8L for lossless, and VP8X as the extended container that adds alpha, animation, ICC profile, and EXIF chunks. Lossy WebP applies VP8 intra-frame prediction with a 4-tile DCT, in-loop deblocking, and arithmetic coding; lossless WebP runs colour-space transforms and an LZ77 backref scheme over the residual. Compared to JPEG at the same SSIM, lossy WebP averages 25-35% smaller, and lossless WebP averages 26% smaller than PNG. The conversion in this tool happens server-side. The browser packages each image into a signed multipart upload to ToolAct's /image/convert/webp endpoint. The server pipes the bytes into libvips, which decodes the source (PNG, JPEG, GIF, BMP, TIFF) and hands the pixel buffer to libwebp - Google's reference encoder. The quality slider maps directly to libwebp's -q parameter (0-100): values below 100 pick the lossy VP8 path with 4:2:0 chroma subsampling and 8-bit per channel range, and quality 100 switches to the lossless VP8L path that preserves every pixel exactly. The encoder writes the bitstream into a RIFF (Resource Interchange File Format) WebP container, optionally adding the VP8X extended chunk for alpha or ICC, and the result is streamed back as the response body. The temporary upload file is deleted from the server as soon as the response is flushed - it is not archived and is not used for training. Support is now broad enough to act as a JPEG replacement: Chrome 32+, Edge 18+, Firefox 65+, and Safari 14+ ship the decoder. The remaining edge cases are predictable. Lossy WebP forces transparent pixels to RGBA 0,0,0,0 because 4:2:0 chroma cannot carry partial alpha at full fidelity. Quality below ~70 starts showing posterization in flat skies and red/yellow desaturation on brand colours, which is why product hero shots usually live in the 80-85 band. Animated WebP is supported by libwebp's mux tooling, but the typical batch case is still images, so a per-frame animated source (animated GIF) needs the encoder to be told explicitly to preserve frames - otherwise only the first frame is exported.
- Container: VP8 lossy, VP8L lossless, VP8X extended (alpha, animation, ICC, EXIF); the three layouts share the same RIFF wrapper.
- Server pipeline: libvips decodes the source, libwebp encodes the output. The quality slider maps to libwebp's -q parameter; quality=100 selects the lossless VP8L path, lower values pick lossy VP8 with 4:2:0 chroma.
- Size ratios: about 25-35% smaller than JPEG at the same SSIM, about 26% smaller than PNG for lossless with transparency.
- Alpha handling: lossy WebP flattens fully transparent pixels to RGBA 0,0,0,0; preserve true alpha by selecting lossless or sticking with PNG for icons.
- Browser baseline: Chrome 32+, Edge 18+, Firefox 65+, Safari 14+/iOS 14+; older locked-down devices that cannot upgrade still need a PNG/JPG fallback.
- Conversion lifecycle: every uploaded file is held only long enough to run libwebp encode and stream the result back. The temporary file is deleted on response close, regardless of whether the conversion succeeded or failed.
Examples
JPG hero photo, quality 80
Input: hero.jpg 1920 x 1080 1.24 MB
Quality: 80
Output: hero.webp 1920 x 1080 381 KB
Size reduction: 69.4%
Visual: indistinguishable at viewing distance; skin tones preservedPNG icon with transparency, lossless
Input: logo.png 512 x 512 44 KB (alpha channel)
Quality: 100 (lossless)
Output: logo.webp 512 x 512 18 KB
Size reduction: 59%
Alpha channel: preserved exactly; safe for dark-mode overlaysBatch convert 20 blog screenshots
Input: 20 PNG screenshots, average 380 KB each (total 7.6 MB)
Quality: 85
Output: 20 WebP files, average 95 KB each (total 1.9 MB)
Total saved: 5.7 MB (75%)
Download all -> screenshots.zipProduct photo, quality comparison
Source: sneaker.jpg 2400 x 2400 1.8 MB
q=90 -> 612 KB (best for retail hero)
q=80 -> 348 KB (recommended default)
q=70 -> 228 KB (visible softness on stitching)
q=60 -> 162 KB (banding starts in red gradient)FAQ
Is the WebP conversion done in my browser?
No. Each image is uploaded to ToolAct's WebP conversion service (the /image/convert/webp endpoint), encoded by server-side libwebp, and downloaded back via a taskId. The temporary file is deleted from the server immediately after conversion - it is not archived and is not used for training. Avoid uploading photos with personal information or confidential design assets.
What input formats can I convert to WebP?
JPEG, PNG, GIF, BMP, and TIFF are the common sources. Converting from animated GIF produces an animated WebP when the upstream encoder supports it; otherwise only the first frame is exported.
Lossy or lossless WebP?
WebP supports both. The default is lossy because that is where the file-size win is biggest - typical lossy WebP saves 25-35% over a JPEG of comparable visual quality. Lossless WebP is closer to PNG in size and is more useful for screenshots, icons, and line art.
Will transparency and animation carry through?
Yes. WebP supports an alpha channel, so PNG transparency converts cleanly. Animated GIF can convert to animated WebP, but converting from a static format obviously cannot create motion.
Will every browser open the result?
Modern Chrome, Firefox, Edge, Safari (14+), and most messaging apps display WebP natively. Older browsers, some print pipelines, and a few legacy Office clients still do not - keep a JPEG or PNG fallback if the file needs to open everywhere.
Why is my WebP barely smaller than the JPEG it came from?
JPEGs that are already heavily compressed leave WebP little room to improve. The bigger savings come when you start from a high-quality master (PNG or a high-quality JPEG) and let WebP re-encode at a balanced quality.
Are EXIF and color profile preserved?
EXIF and ICC profiles are usually stripped during conversion, which strengthens privacy but means the WebP cannot be used as a forensic original. Save the source alongside the WebP if you need that metadata later.