Skip to content

Convert an AVIF Photo to JPG or PNG When an App Won't Open It

• images, avif, convert, how-to

You download a picture from a website, or you copy a photo off a phone, and the file ends in .avif. Your editor will not open it. An email client refuses the attachment. A government or HR upload form lists JPG and PNG and nothing else. The picture is not damaged. It is in a newer format than the software in front of you.

AVIF (AV1 Image File Format) is an image format used because the files are often smaller than a JPG or even a WebP at a similar visual quality. Current browsers can usually display it, which is why the web is happy to serve it. Many desktop editors, some mail apps, digital photo frames, and a long tail of upload forms cannot. The practical fix is a copy in a format they accept. You can make that copy in the browser with AVIF to JPG or AVIF to PNG, without uploading the original.

Why AVIF showed up in your downloads folder

Sites care about how many bytes they send, especially on mobile connections. AVIF is one of the formats that can shrink a photograph further than JPG, sometimes further than WebP, which is why you will see it after a “Save image as” on a modern site, or in a camera roll if a phone vendor has started writing it. The format can also store transparency, which JPG cannot, so some graphics are saved as AVIF for that reason too.

The problem is not that AVIF is obscure in browsers. Current Chrome, Edge, Firefox and Safari can display it. The problem is everything around the browser: last year's image editor, a mail app that still sanitises attachments, a printer driver, a CMS that only lists “JPEG, PNG, GIF”, a form that checks the file extension and rejects anything else. Until those tools catch up, a second copy in a widely accepted format is the path of least resistance.

JPG or PNG?

JPG is the compatible choice for photographs. Almost every app, form and printer will open it. The cost is that JPG is lossy: even at a high quality setting, a little detail is discarded, and there is no transparency. If the AVIF was already a compressed photograph, you are running a second lossy encode on top of the first. For an email, a form, or a quick share, that is almost always acceptable. For a file you plan to edit several times, it is not the right master.

PNG stores the decoded pixels without a further quality setting, and it keeps a transparent background if the AVIF had one. The file will usually be larger than the AVIF, sometimes much larger if the picture is a photograph. Use PNG when you are about to crop, retouch or composite the image, when a tool has asked for PNG, or when transparency matters. Converting to PNG cannot put back detail that a lossy AVIF already discarded; it can only avoid discarding more.

If you are not sure, convert to PNG for a working copy and to JPG for a version you will actually send. Keep the original AVIF until you know you do not need it. Re-encoding through a canvas also drops metadata such as GPS and camera settings, and this site's tools do that too. Photos are drawn upright first, so orientation is kept.

What the browser has to be able to do

Opening an AVIF and creating an AVIF are different features. This matters, because a page that says “JPG to AVIF” can only finish the job if the browser exposes an AVIF encoder to the canvas API. As of this writing, current Chrome, Firefox and Safari can usually display AVIF and still cannot produce one that way. The JPG to AVIF and PNG to AVIF pages on this site check first, and they will tell you when the encoder is missing rather than fail silently or hand you a file that is not really an AVIF.

Going the other way — AVIF to JPG or PNG — only needs the decoder, which those same browsers already have. If your browser cannot display AVIF at all, the file will not open here either; try an up-to-date Chrome, Edge, Firefox or Safari.

When AVIF output is not available, JPG to WebP or PNG to WebP is the practical alternative if you wanted a smaller modern file rather than a more compatible one. WebP is widely displayed and this browser can almost certainly create it. For maximum compatibility, stay with JPG.

How to convert the file

On AVIF to JPG, select the AVIF, pick a quality (80–90% is a reasonable starting point; go higher if there is small text), and choose a background colour if the picture has transparency you are willing to flatten. Convert and download, or convert a batch and download a ZIP. On AVIF to PNG, there is no quality slider: the PNG is a lossless copy of the decoded pixels, including transparency.

Everything runs in your browser. The AVIF is not uploaded. If you have a whole folder, select several files at once. If the picture is an iPhone HEIC rather than an AVIF, that is a different format — use HEIC to JPG or HEIC to PNG instead.

A habit worth keeping

Treat the AVIF as the original when it came from a camera or a site that is trying to be efficient, and treat the JPG or PNG as a derivative for the software that cannot open the original. Once the older tools you rely on accept AVIF, you can stop converting. Until then, a local, in-browser conversion is a small, private way to keep working without handing the file to an online converter you have not audited.

Frequently asked questions

Why do I have an AVIF file?

Some websites and phones now save or serve pictures as AVIF because the files are often smaller than JPG or WebP. Support outside current browsers is uneven, so older editors, email clients and upload forms may reject the file.

Should I convert to JPG or to PNG?

JPG if you need a file that almost everything opens, especially a photograph you will email or upload. PNG if you need a lossless copy of the current pixels, or if the AVIF has a transparent background you want to keep.

Will the JPG look exactly like the AVIF?

Not pixel-for-pixel. JPG is lossy, so a little detail is discarded even at high quality. For a photo you just need to send, that is almost always acceptable.

Are my files uploaded?

No. The conversion runs in your browser. Your browser does have to be able to display AVIF, which current Chrome, Edge, Firefox and Safari can.