100% client-side, nothing ever leaves your browser
Convert to and from WebP
Convert JPG or PNG to WebP, or turn a WebP image back into PNG or JPG. Upload an image, the tool detects its format and offers the right conversions — nothing is uploaded.
Drag & drop a JPG, PNG or WebP here, or click to browse
Input format is detected automatically
Original
- File name
- —
- Format
- —
- Dimensions
- —
- File size
- —
Converted preview
- Output format
- —
- Dimensions
- —
- File size
- —
- Size change
- —
Applies to lossy output formats.
How WebP conversion works
The tool detects your file's format, offers the conversions that make sense, and re-encodes the image on an HTML canvas — all inside your browser.
Upload an image
Drag and drop or select a JPG, PNG or WebP file. The tool detects which format it is.
Pick an output format
Choose from the valid conversions for your file, and adjust quality or background color as needed.
Download the result
Preview the converted image and its new file size, then download it to your device.
Privacy note: conversion happens entirely in your browser using the HTML canvas API. Your images are never uploaded, logged, or stored on a server.
Common uses
Faster websites
Converting photos to WebP typically produces smaller files than JPG or PNG at similar visual quality, speeding up page loads.
Compatibility with older tools
Some design tools, printers, or older devices don't accept WebP; converting to PNG or JPG restores compatibility.
Meeting platform requirements
Certain upload forms explicitly request JPG or PNG, so converting a WebP asset first avoids a rejected upload.
Preserving transparency
Converting a transparent PNG to WebP can meaningfully shrink the file while keeping the alpha channel intact.
Frequently asked questions
Which conversions does this tool support?
You can convert JPG or PNG images to WebP, and convert WebP images to PNG or JPG. The output format options update automatically based on the format of the file you upload.
Is WebP better than JPG or PNG?
WebP generally produces smaller files than JPEG or PNG at a comparable visual quality, and it supports both lossy and lossless compression plus transparency. It is widely supported by modern browsers, though some older software may not open it.
What happens to transparency when converting WebP to JPG?
JPEG does not support transparency, so transparent areas are filled with the background color you select before the image is converted.
Is my image uploaded to a server?
No. Every conversion happens locally in your browser using the HTML canvas API. Your file is never transmitted anywhere.
Why can't I select certain output formats?
The tool only offers conversions that make sense for the file you uploaded, so you won't see WebP as an output option when you've already uploaded a WebP file, for example.
Why did WebP conversion fail in my browser?
A small number of older browsers cannot encode WebP through the canvas API even if they can display WebP images. If conversion fails, try a recent version of Chrome, Edge, Firefox, or Safari.
More tools
Additional utilities from the same toolkit. Not sure which format to pick? Read the JPG vs PNG vs WebP guide → or see the measured benchmark →