Convert an image between JPG, PNG, and WEBP, with a live preview and file size comparison before you download.
This tool converts an image from one file format to another, between JPG, PNG, and WEBP, right in your browser. Upload an image, pick the format you want to convert it to, and see a live preview and file size comparison before downloading the result.
Everything happens locally using the Canvas API. Your image is never uploaded to a server, so it's fast and private.
| Format | Best for | Transparency | Compression |
|---|---|---|---|
| JPG | Photos, complex images | No | Lossy, small files |
| PNG | Graphics, screenshots, logos | Yes | Lossless, larger files |
| WEBP | Websites, general use | Yes | Lossy or lossless, very efficient |
JPG is the most widely supported format and works well for photographs, where its lossy compression is hard to notice at reasonable quality settings. PNG is lossless and supports transparency, making it the right choice for logos, icons, and screenshots with sharp edges or text. WEBP is a modern format that typically produces smaller files than JPG or PNG at a similar visual quality, and it's now supported by all current browsers, though it's slightly less universally supported by older software outside the browser.
The tool loads your image into an in-browser canvas, then re-exports it using the browser's built-in image encoder for your chosen format and quality setting. This is the same underlying technology used by professional image editing software, running directly on your device.
Yes, JPG does not support transparency, so any transparent areas will be filled with white when converting from a format like PNG that supports it.
Not always, it depends on the source format, the target format, and the quality setting you choose. Converting a highly compressed JPG to lossless PNG, for instance, will typically increase the file size rather than reduce it.
All current major browsers support WEBP, but some older software or platforms outside the browser may not, so JPG or PNG remain safer choices for maximum compatibility if you're unsure where the image will be used.
No, only the file format and compression change. To also resize the image, use the Image Resizer tool.