Image Format Converter
Convert images between JPG, PNG, WebP, and BMP formats entirely in your browser using the Canvas API.
Image Format Converter tool
Example
Input: An 800 x 600 PNG of 13.6 KB converted to WebP at the default quality 0.92
Result: An 800 x 600 WebP of 6.3 KB (-53.4%) in our test. Size changes vary by image
The browser decodes the image and re-encodes it through the Canvas API. AVIF only works where the browser can encode it; otherwise a PNG is saved and noted.
Image Formats at a Glance
| Format | Compression | Transparency | Output here |
|---|---|---|---|
| JPEG | Lossy, quality slider | No (filled white) | Always |
| PNG | Lossless | Yes | Always |
| WebP | Lossy, quality slider | Yes | Most browsers, else PNG |
| AVIF | Lossy | Yes | Only if browser can encode |
| BMP | None, 24-bit | No (filled white) | Always |
| GIF | Lossless, 256 colors | Yes | Input only, first frame |
Output behavior taken from the converter; other programs may offer more options.
- Upload an image in any supported format (JPG, PNG, WebP, GIF, AVIF, or BMP).
- Select the target output format from the format dropdown.
- Adjust the quality setting for lossy formats like JPEG and WebP, then click Reprocess.
- Preview the converted image and compare file sizes between formats.
- Download the converted image file to your device.
JPG vs PNG vs WebP: Choosing an Image Format
The Image Format Converter changes an image from one format to another, for example PNG to JPG or WebP to PNG. You can save as JPEG, PNG, WebP or BMP, and as AVIF where your browser supports it. The tool shows the new file size next to the old one.
Each format has a job. JPEG is the standard for photos: small files, lossy compression and no transparency. PNG is lossless and keeps transparency, which suits logos, screenshots and graphics with text. WebP does both jobs in a smaller file and works in all current major browsers. BMP stores raw pixels with no compression. It is huge, but some older programs need it. AVIF compresses very well, but few browsers can create it from a web page. If yours cannot, the tool saves PNG and tells you.
The quality slider applies to JPEG and WebP, with 92% as the default. Lower it for smaller files. Converting a JPEG to PNG will not bring back lost detail. It only stores the current pixels without further loss, usually in a bigger file. JPEG and BMP have no transparency, so transparent areas become white.
You can upload any image your browser can open, such as JPEG, PNG, WebP, GIF, BMP or AVIF, up to 20 MB. An animated GIF becomes a still image of its first frame. The image is redrawn in your browser, so metadata like camera details and GPS location is not carried over. To reduce size further, try the Image Compressor. To embed the result in code, use Image to Base64.
Sources
Frequently Asked Questions
Related Tools
Image Compressor
Compress images client-side with an adjustable quality slider. Compare before and after file sizes instantly.
Image and MediaSVG to PNG Converter
Convert SVG vector files to PNG raster images at any resolution directly in your browser using canvas.
Image and MediaImage to Base64 Converter
Convert any image file to a Base64-encoded string instantly in your browser. No server upload required.
Image and MediaImage Resizer
Resize images to exact pixel dimensions with an optional aspect ratio lock, entirely in your browser.
Image and Media