Skip to content

Blog

by Yujay

AVIF, WebP or JPG: what to do when an app will not open your image

The picture exists. You can see it in the file listing and you can see its size, and the app you actually need it in shows a blank rectangle or an error. Nothing is broken. The file is simply in a format that program has never heard of.

This happens more every year, because phones and websites now save many pictures as AVIF and WebP, while many desktop programs, older upload forms and internal systems still take JPG or PNG and nothing else.

On this page

Four formats, four jobs

  • JPG — small, no transparency, opens almost everywhere. The safe format for anything that has to travel: email, forms, a slide deck, an older editor.
  • PNG — holds on to transparency and every pixel, and is usually much larger. The format for a logo with a transparent background, or a screenshot with sharp text.
  • WebP — modern, often smaller than JPG at similar quality, supports transparency and animation. Not universal: some apps, upload forms and older editors refuse it outright.
  • AVIF — the newest and usually the smallest. Also the least supported. On some Windows machines, Photos opens one only after an AV1 codec add-on is installed, and older browsers simply have nothing that can read the file.

None of these is "better". They are different answers to different questions, which is why converting is normal and not a failure.

What to do, in order

If the file is AVIF, start by opening it. Open an AVIF file puts the picture on the page, reports how wide and tall it is and how big the file is, then lets you download a JPG that most programs will take, or a PNG if the transparency has to survive. The decoding happens in your own browser, so the file never goes anywhere and no account is needed.

If the file is already a PNG or a WebP and the destination wants a JPG, there is a page for each: PNG to JPG and WebP to JPG. Both decode in the tab, re-encode there, and hand you the file. The image never leaves the machine, and no sign-in is needed.

The Open an AVIF file page with an image loaded: its file name, dimensions and file size above the picture, with Save as JPG, Save as PNG and Open another file buttons beside them.
Open first, convert second: the page shows what the file is before you commit to a format.

Transparency is the one thing JPG cannot keep

JPEG has no alpha channel. When a PNG or WebP with a transparent background is converted, those pixels sit on whatever background colour is selected, which is white until you change it. That is correct behaviour, not a bug — but it means a logo saved on a transparent background comes out on a white rectangle, and a screenshot with rounded corners comes out with white corners.

If the transparency matters, keep the PNG. Converting to JPG to save space and then losing the background is the most common way these conversions go wrong.

Animation: you get the first frame

An animated WebP turns into a single JPG holding its opening frame. An animated AVIF can run in the preview, yet saving it keeps just that opening frame as well. None of these pages cuts an animation into a series of images, because a JPG cannot hold motion and these tools are for stills.

Pictures from a moving image are a separate errand. Pulling stills from a video covers sampling a recording and zipping the frames.

The Convert PNG to JPG page with two files loaded: a quality slider at 90, a longest-side menu, a background colour swatch and a Download all 2 as ZIP button.
Quality, longest side and background colour are the three decisions; the preview updates as you change them.

Batches, size and what gets thrown away

Three details worth knowing before you convert a folder:

  • Several at once. Drop in a whole folder if you want; the tab works through the list one file at a time. Choose two or more and a single ZIP collects the results, with a number added to any two results that would share a name.
  • Quality and size. The PNG converter's quality slider covers 50 to 100 and begins at 90. A lower number means a smaller file and more visible damage from compression. The longest-side box reduces a big picture to fit and leaves a small one alone.
  • Metadata is not carried over. The PNG converter discards the file's metadata rather than copying it into the JPG, so whatever the original recorded about the shot does not travel with the result. For a screenshot that is fine. For a photograph you plan to print, check the result before you delete the original.

What these pages will not do

  • They cannot rescue a format the browser itself cannot decode. Very old Safari builds, particularly where macOS or iOS is several versions behind, may fail to read AVIF at all; the page tells you to switch to a current Chrome, Safari or Edge.
  • They cannot mend a damaged file. If the browser cannot decode it, there is nothing to save.
  • They cannot pull text out of a picture. A JPG of a slide is still an image of words.

Which one you want

You haveYou needUse
AVIFSomething any app opensOpen an AVIF file, then Save as JPG
AVIF with a transparent backgroundKeep the transparencySave as PNG
PNG or WebPA small file for email or a formPNG to JPG or WebP to JPG
PNG with transparencyKeep it transparentKeep the PNG; do not convert
An animated WebPA still of the first frameWebP to JPG
An animated fileThe individual framesA frame extractor, not these pages

A short checklist

  1. Is the file really unreadable, or is the app just old? Try opening it in a current browser first.
  2. Does the destination accept WebP or AVIF? Then convert nothing.
  3. Does the image have a transparent background? Keep the PNG, or pick the background colour before you download.
  4. Several files? Use the ZIP button instead of downloading one at a time.
  5. Deleting the originals? Convert first, check one result, then delete.

The whole job is a browser tab. Nothing leaves the tab, no account is involved, and the file you started with is still on your disk if the result is not what you wanted.