How to convert images
- Drop your images into the box above, or click it to choose files.Tap the box above and choose your images. HEIC, AVIF, WebP, PNG and JPG can be mixed in one go.
- Pick the format you want in the “To” box. For JPG and WebP you can also adjust the quality; changing either re-converts every file in the list.
- Conversion starts right away. Download each file, or all as a zip.
The five formats side by side, measured
| Format | Compression | Transparency | Can this tool save it? | 12 MP portrait photo | 1280×900 screenshot |
|---|---|---|---|---|---|
| JPG | Lossy | No (filled with white) | Yes | 1.62 MB | 118 KB |
| PNG | Lossless | Yes | Yes | 14.3 MB | 635 KB |
| WebP | Lossy at normal settings | Yes | Yes | 0.92 MB | 71 KB |
| HEIC | Lossy | No | No, read only | – | – |
| AVIF | Lossy | Yes | No, read only | – | – |
Measured with this converter at quality 90 on an iPhone portrait photo (4032×3024 JPG, 1.62 MB) and a screenshot of a web page (PNG, 268 KB). The screenshot came out larger as PNG than the original because browsers write PNG files without the extra optimisation many apps apply.
HEIC and AVIF appear only as inputs because the converter saves files with your browser’s own encoders, and browsers can write JPG, PNG and WebP but not HEIC or AVIF. Reading works differently for the two: AVIF is decoded by the browser itself, while HEIC is decoded by a separate decoder (libheif) that the page downloads the first time you add a HEIC file.
Which output to choose, by where the image is going
- An upload form, an email or an office document: JPG. It is the format almost nothing refuses. If the form also has a size limit, use Compress Image instead, which picks the size and quality for a target.
- A screenshot with text, a chart or a diagram: PNG keeps letters crisp. JPG is fine for reading but adds faint smudges around sharp edges.
- A logo, sticker or cut-out with a transparent background: PNG, or WebP if it is going on a website. JPG puts a white box behind it.
- Pictures for your own website or blog: WebP. On our three phone photos it was 16–43% smaller than a JPG saved at the same setting.
- A photo you will edit and re-save several times: PNG as the working copy, then one final JPG or WebP when you are done.
- You need HEIC or AVIF as the result: not possible in a browser. Keep the original file instead.
For the reasons behind these choices, see our guide to image formats.
Each conversion, measured
The nine pairs people search for most, with what we measured and the one thing to watch for in each. HEIC to JPG has its own page.
| Conversion | Measured | Good to know |
|---|---|---|
| HEIC → PNG | HEIC 718 KB became a 2.30 MB PNG; 12 MP phone photos came out at 14–25 MB | A working copy for editing, not for sending. Converting does not add transparency. |
| WebP → JPG | The same picture: WebP 0.92 MB, JPG 1.62 MB (1.2–1.8× larger) | A second lossy step, so keep the quality at 85 or above. Transparent areas turn white. Renaming .webp to .jpg does not convert anything. |
| WebP → PNG | 1280×900 screenshot: WebP 71 KB, PNG 635 KB | A lossless WebP comes across pixel for pixel; a lossy one is frozen as it looks now. Soft, semi-transparent edges are kept. |
| AVIF → JPG | – | The browser reads the AVIF, so use a current Chrome, Edge, Firefox or Safari. Transparent areas turn white. |
| AVIF → PNG | The PNG of a photo is far larger than the AVIF | Transparency is kept, but HDR and 10-bit colour become ordinary 8-bit. |
| PNG → JPG | Photo 14.3 MB → 1.62 MB (−89%); screenshot 268 KB → 118 KB (−56%) | Transparent areas turn white. Below about quality 70, text edges start to look dirty. |
| JPG → PNG | 1.62 MB → 14.3 MB (8.8×); 4.28 → 21.1 MB; 6.25 → 25.2 MB | No quality comes back: PNG only stores the JPG’s pixels exactly. Useful as a working copy for photos you will edit again and again. |
| PNG → WebP | Screenshot 635 KB → 71 KB; 12 MP photos 14–25 MB → 0.92–3.46 MB | Transparency is kept. At quality 100 Chrome writes lossless WebP. Some email programs and link previews do not show WebP. |
| JPG → WebP | 16–43% smaller than a JPG saved at the same setting | Many upload forms accept only JPG, so keep the JPG originals. |
Measured with this converter at quality 90 on three iPhone photos (4032×3024), a 1280×854 HEIC and a 1280×900 web-page screenshot. “PNG 635 KB” is the 268 KB screenshot PNG written again by the browser, which does not optimise PNG files.
Mixed batches and trying settings
You can drop HEIC, WebP, AVIF, PNG and JPG files together; they all come out in the one format you pick. Changing the output format or moving the quality slider re-converts every file already in the list, so you can compare the before and after sizes for JPG and WebP without adding the files again.
This page also reads files whose name does not match their content. A HEIC photo that was renamed to .jpg on the way to you, which happens when files pass through some apps, will fail to open in most programs. Here the converter checks the file itself when the normal decoder fails, recognises it as HEIC and converts it anyway.
Good to know
- Quality changes the size a lot: in our tests with 12 MP phone photos saved as JPG, going from 95% to 90% made files 20–30% smaller, and 75% was roughly half the size of 90%. Keep it high if you will print.
- Safari cannot save WebP files. If you see an error, try Chrome, Edge or Firefox on a computer.
About the formats
JPG
JPG (JPEG) is the most widely supported photo format. It uses lossy compression, so files stay small, but it has no transparency and quality drops a little every time it is re-saved.
PNG
PNG uses lossless compression and supports transparency. It is ideal for screenshots, logos and graphics with sharp edges, but photos saved as PNG are much larger than JPG.
WebP
WebP is a modern web format from Google. Google reports lossy WebP files are 25–34% smaller than comparable JPEGs, and it supports transparency, but some apps and editors still cannot open it.
HEIC
HEIC (HEIF) is the format iPhones and iPads save photos in when the camera is set to High Efficiency. Apple says it compresses better than JPEG, so photos take less space at the same quality, but Windows needs extra extensions to open it and many websites do not accept it.
AVIF
AVIF is a newer format that stores images compressed with the AV1 video codec. Google’s web.dev describes significant compression gains over JPEG and WebP, but some apps still cannot open it.
Frequently asked questions
Which format should I choose?
Pick JPG when the image has to open everywhere, such as email, documents and upload forms. Pick PNG for screenshots, logos or anything with transparency or sharp text. Pick WebP for images on a website, where small files matter most.
Can I mix formats in one go?
Yes. HEIC, AVIF, WebP, PNG and JPG files can be added together, and all of them come out in the one format you choose. Changing the format or the quality re-converts every file in the list, so you can compare sizes without adding them again.
Why can I not choose HEIC or AVIF as the output?
The converter saves files with your browser’s own encoders, and browsers can write JPG, PNG and WebP but not HEIC or AVIF. Those two can only be read.
Are my files uploaded to a server?
No. All conversion happens inside your browser with JavaScript. The page only goes online to load its own code; some parts, such as the HEIC decoder and the zip download, are fetched the first time you use them.
Is it free? Are there any limits?
It is completely free, with no sign-up and no watermark. How many and how large files you can convert depends only on your device’s memory.
What happens to the photo’s location data (EXIF)?
Converted files do not contain metadata such as GPS location or camera details, so this tool also works as a quick way to strip location data before sharing. The image orientation is preserved.
Does it work on my phone?
Yes, it works in current versions of Chrome, Safari, Samsung Internet and other modern browsers. Very large images may fail on phones because of memory limits.
Guides that explain this
- HEIC photos from iPhone: why forms reject them and fixesWhy iPhones save photos as HEIC, why Windows and upload forms refuse them, every way to get JPG instead, and what you lose when you convert.
- JPG, PNG, WebP, AVIF and HEIC comparedHow each image format compresses, which support transparency and animation, measured file sizes on the same photos, and which format to use when.
- Do Online File Converters Keep Your Files?How upload-based and in-browser file tools differ, what can happen to an uploaded file, and two simple tests that show where any tool sends your data.
Related tools
Found a bug, or wish this tool did something more? Tell Leo, who runs Hanji. Send feedback