How it works
- Drop or pick an image. The file stays on your device — nothing is uploaded.
- The tool detects the source format and pre-selects a sensible target (PNG → JPG, JPG → WebP, WebP → PNG). Change it with one click.
- For JPG and WebP, set the quality slider (90% is a great default). Converting to JPG? Pick the background colour that fills any transparent areas.
- Click Convert. Your browser redraws the image on a canvas at its full original resolution and re-encodes it in the new format.
- Check the before/after sizes and preview, then download — the file extension is updated automatically (photo.png → photo.jpg).
Which format should I use?
| Format | Compression | Transparency | Best for |
|---|---|---|---|
| PNG | Lossless | Yes | Screenshots, logos, diagrams, anything with sharp edges or text. Biggest files of the three. |
| JPG | Lossy | No | Photos. Smallest files for photographic content and opens absolutely everywhere. |
| WebP | Lossy or lossless | Yes | Modern web use — typically 25–35% smaller than both PNG and JPG at the same visual quality, and supported by every current browser. |
AVIF, GIF, BMP and SVG work as input: your browser decodes them and this tool converts them out to PNG, JPG or WebP. Animated GIFs are converted from their first frame only, and browsers can’t encode AVIF on a canvas yet, so AVIF isn’t offered as an output.
Privacy & how your data is handled
- Nothing is uploaded. The tool runs 100% inside your browser tab using the built-in canvas API.
- Nothing is stored. Close or refresh the tab and the image is gone from memory.
- Nothing is logged. No network calls during conversion — you can disconnect Wi-Fi after loading the page and it still works.
- No libraries, no tracking of your file. Conversion uses only the browser’s native image decoder and encoder.
Transparency & background colour
PNG and WebP support an alpha channel — pixels can be fully or partly see-through. JPG cannot store transparency at all. When you convert a transparent image to JPG, every see-through pixel has to become some solid colour.
That’s what the “Background for transparent areas” colour picker controls: the tool fills the whole canvas with your chosen colour first (white by default), then draws your image on top, so semi-transparent edges blend naturally instead of turning black. Converting between PNG and WebP keeps transparency intact — no background is applied.
FAQ
Is my image actually uploaded?
No. The image is read from your device, redrawn on an invisible canvas inside your browser tab, and re-encoded in the format you chose — nothing is transmitted to any server. You can disconnect Wi-Fi after the page loads and it still works.
Can I convert HEIC photos from an iPhone?
Not here. Browsers can’t decode HEIC, so no client-side tool can read it. On an iPhone, export the photo as JPG first (Settings → Camera → Formats → Most Compatible, or share it via the Files app which converts automatically), then convert it on this page.
Does converting lose quality?
Converting to PNG is lossless — pixels are preserved exactly. Converting to JPG or WebP is lossy: the quality slider controls the trade-off, and 90% is visually indistinguishable from the original for most photos. Note that converting a JPG to PNG doesn’t recover detail the JPG already threw away — it just stops any further loss.
Why can’t I convert to AVIF?
Browsers can decode AVIF (so it works as input here) but none of them can encode AVIF from a canvas yet. As soon as canvas.toBlob('image/avif') lands in browsers, we’ll add it as a target.
What happens to an animated GIF?
The browser hands the canvas only the first frame, so the output is a still image of frame one. Animation can’t be preserved in PNG or JPG anyway; for animated WebP you’d need a dedicated desktop tool.
WebP conversion failed — why?
A few older browsers (notably Safari before version 16) can decode WebP but can’t create it. If that happens the tool tells you — pick PNG or JPG as the target instead, or update your browser.
Is there a file size or resolution limit?
No hard limit from the tool, but browsers cap canvas dimensions (roughly 16,000 px per side in most, less on older iPhones). Ordinary photos and screenshots — even 50-megapixel ones — are fine.