AVIF Converter: AVIF to JPG, PNG and WebP
Turn an AVIF image into JPG, PNG or WebP. The page uses your browser's own AVIF decoder and the canvas API to re-encode the pixels. It ships no AVIF encoder of its own, which matters if you want AVIF as the output; see below.
Drop your image here or click to select
Supports AVIF, JPG, PNG, and WebP - up to 50 MB
Runs in your browser: your files and text are not uploaded. Free, no account needed.
Last updated: · Reviewed by the QuickTooly Team
How the AVIF file is decoded
The file is loaded as an ordinary image and drawn onto a canvas. No AVIF library is bundled, so conversion only works in a browser that can display AVIF. If it cannot, you see "Something went wrong".
- Bit depth and HDR: AVIF can hold 10- or 12-bit and HDR colour. A standard 2D canvas holds 8 bits per channel, so the output is an 8-bit image in standard dynamic range, and bright HDR highlights can look different from the original.
- Animated AVIF: only one frame is drawn, so the output is a still image.
- Transparency: kept for PNG and WebP output, painted white for JPG.
- Size: files up to 50 MB are accepted. The decoded image needs 4 bytes of memory per pixel, so an 8000 × 6000 image takes about 192 MB before encoding even starts.
Encoding to AVIF depends on canvas.toBlob
When AVIF is the output, the page asks the canvas for an image/avif blob. Displaying AVIF and encoding it are separate browser features, and Chrome does not encode AVIF from a canvas. When a browser cannot encode the requested type, the HTML standard tells it to return a PNG instead of failing.
The page checks the type of the blob it gets back. If the browser returned PNG instead of AVIF, no file is created and a notice says that this browser cannot encode AVIF. AVIF output therefore works only where the browser's canvas supports AVIF encoding. Elsewhere, create AVIF files with a dedicated encoder such as avifenc from libavif. The result panel and the download name always show the format the browser actually produced.
Quality setting
The slider starts at 85 and runs from 1 to 100. It applies to JPG and WebP output, and to AVIF in browsers that really encode it. PNG is lossless and shows no slider. AVIF to JPG adds a second round of lossy compression on top of the AVIF's own, so use a high value, or PNG, if you plan to edit the image further. The page converts one file at a time.
Frequently Asked Questions
Why do I get a notice instead of an AVIF file?
Your browser cannot encode AVIF from a canvas and returned PNG instead, so the page stopped rather than save a mislabelled file. Chrome currently behaves this way. Encode AVIF with a dedicated tool such as avifenc.
Why does converting my AVIF file fail?
Decoding relies on the browser's built-in AVIF support. If the file does not open in a browser tab, it cannot be converted here either. Try an up-to-date browser or check that the file is not damaged.
Does the converted image keep HDR?
No. The canvas works with 8 bits per channel, so HDR and high bit depth are reduced to a standard 8-bit image.
Related image tools
- WebP Converter - for a compact modern format that browsers can encode from a canvas
- Image Compressor - to bring a converted JPG or WebP down to a target file size
- Image Converter - to convert several files in one batch, including AVIF if your browser decodes it