Convert between JPEG, PNG and WebP in your browser, with quality control and a live size comparison. AVIF where the browser supports it.
Drop an image here
Conversion happens in your browser. The file is never uploaded to a server.
Anything your browser can display works as input, including HEIC on Safari and AVIF on a current browser.
Only the formats your browser can actually encode are offered. A format that is missing from the list is a limit of the browser, not of the tool.
The before and after sizes sit next to each other, so you can see whether the conversion was actually worth doing before you save it.
Because most browsers can decode AVIF but cannot encode it. Canvas offers no AVIF encoder in Chrome, so the option only appears where it genuinely works. The alternative would be showing a button that silently hands you a PNG, which is worse than not showing it.
On Safari, yes, because macOS and iOS can decode HEIC natively. On Chrome and Firefox the file cannot be read at all, so nothing to convert. Setting your iPhone camera to Most Compatible saves as JPEG instead and avoids the problem entirely.
AVIF compresses better, often noticeably so, and has the slower encoders and the shorter support history. WebP is smaller than JPEG, universally supported and fast to produce. WebP is the safe default; AVIF is worth the extra work when image bytes are your main performance problem.
Because JPEG has no transparency at all. Rather than let the transparent area render as black, which is what an unhandled conversion does, the background is filled with white first. Convert to WebP or PNG if you need to keep the transparency.
No. The detail a JPEG threw away is gone, and PNG will faithfully store the compressed result at a much larger size. Converting JPEG to PNG makes the file bigger and the picture no better.
No, the pixel dimensions are kept exactly. If you want to change them too, resize first with our image resizer and then convert.
No. The image is redrawn through a canvas, which keeps only the pixels, so EXIF including any GPS coordinates is dropped. If you want to see what was in there first, our EXIF viewer reads it.
No. Encoding happens in your browser using the browser's own image encoders. There is no server involved at any point.
Resize a photo to exact pixels or a preset width, with the aspect ratio locked, and save as JPEG, PNG or WebP.
Open ToolFree online image compressor with no upload limit. Reduce file size with adjustable quality, resize and format conversion. Images never leave your device.
Open ToolTurn an image into a data URI you can inline in CSS, HTML or Markdown, without uploading the file.
Open Tool