Image Converter

Convert an image between JPG, PNG, and WebP. Adjustable quality for lossy formats, everything happens on your device.

Just converting JPG to PNG? Try the dedicated JPG to PNG page.

Click to choose an image, or drag and drop it here

JPG, PNG, WebP. Stays on your device, nothing is uploaded. Select multiple to batch convert.

Your converted image will appear here once generated.

PNG is lossless (larger files, supports transparency). JPEG and WebP are lossy with a quality slider (smaller files, no transparency for JPEG). WebP usually beats JPEG at the same visual quality, but JPEG has the widest compatibility.

How it works

Your image is loaded through a local object URL (URL.createObjectURL), decoded by the browser's own image decoder, drawn onto an offscreen canvas at its full natural resolution, and re-encoded with canvas.toBlob in the format and quality you picked. One detail handled for you: JPEG has no alpha channel, so before drawing, the canvas is filled white when JPEG is the target. Without that step, transparent areas of a PNG would come out black. The quality slider only applies to JPEG and WebP; PNG encoding is lossless and ignores it.

A side effect of the canvas round-trip that's worth knowing either way: the output contains only pixels. EXIF metadata, camera model, timestamps, and embedded GPS coordinates from phone photos, doesn't survive re-encoding. That makes this converter a quiet privacy win before sharing a photo publicly, and a thing to be aware of if you actually needed the metadata (keep the original in that case). Browsers apply the EXIF orientation flag while decoding, so sideways-shot phone photos still come out correctly rotated.

Conversion, batch mode, and even the .zip bundling (assembled byte-by-byte in JavaScript) all run in your browser. Open DevTools' Network tab and convert something: no request carries the image, which is also why there's no file size cap beyond your machine's memory.

Common questions

Which format should I pick?

PNG for screenshots, logos, or anything needing transparency. JPEG for photos where small file size matters more than perfect quality. WebP for the best of both, smaller than JPEG at equivalent quality, if you don't need to support very old software.

Will converting to JPEG lose transparency?

Yes, JPEG has no alpha channel. Transparent areas are filled with white before converting. If you need to keep transparency, convert to PNG or WebP instead.

Does this upload my image anywhere?

No. The conversion happens entirely in your browser using the canvas API. Nothing about your image is sent anywhere.

From the blog: AVIF, WebP, JPEG, PNG: Which Format When, in 2026 · JPG vs PNG vs WebP: Which Image Format Should You Use?