How to use it
- Choose or drop an image in JPEG, PNG, WebP, GIF, BMP or AVIF format (up to 25 MB).
- Pick the target format. For JPEG, WebP and AVIF, set the quality.
- If the target format has no transparency, choose the background colour.
- Check the preview and file size, then download the converted image.
How it works
The browser decodes your image, draws it on a canvas and encodes it in the format you choose. Input support depends on your browser: JPEG, PNG, WebP, GIF and BMP work everywhere, and AVIF works in current versions of Chrome, Edge, Firefox and Safari.
Choosing a format: PNG is lossless and keeps transparency, which suits logos, screenshots and graphics with text. JPEG is lossy, has no transparency and is the most widely accepted format for photos. WebP supports both lossy compression and transparency and usually produces smaller files than JPEG and PNG; every current browser displays it. AVIF often compresses photos better than WebP, but few browsers can create it from a canvas, so it appears here only when yours can. BMP is uncompressed and is produced by a small encoder built into this page as 24-bit, without transparency.
Converting a JPEG to PNG does not restore detail that JPEG compression removed; it only stores the current pixels losslessly, usually in a larger file. Converting removes EXIF metadata, and animated GIF, WebP or AVIF files become a single still frame.
Examples
WebP download that an app will not open
An image saved from a website as .webp can be converted to PNG (lossless) or JPEG at 90% so that older editing programs and upload forms accept it.
Logo with transparency to JPEG
Converting a transparent PNG logo to JPEG fills the transparent area with the background colour you choose, for example white to match a document page.
Smaller images for a website
Converting a 1.2 MB PNG photo to WebP at 80% quality often reduces it to a few hundred kilobytes while keeping it visually similar.
Frequently asked questions
Can I convert HEIC photos from an iPhone?
Only if your browser can open HEIC itself, which most cannot. On an iPhone, sharing or exporting the photo as JPEG first is the reliable route; you can then convert the JPEG here.
Does converting to PNG improve quality?
No. PNG stores exactly the pixels it receives. If the source was a compressed JPEG, its artefacts are kept; the file just gets bigger.
Why is AVIF missing from the list?
Creating AVIF requires an encoder in the browser's canvas, which many browsers do not include yet. The tool tests your browser and only offers formats it can really produce.
What happens to transparency?
PNG, WebP and AVIF keep transparency. JPEG and BMP cannot store it, so transparent pixels are blended with the background colour you choose.
Privacy
Conversion happens entirely in your browser. The image is not uploaded, stored or included in analytics.