AVIF to PNG
Convert AVIF to PNG online while preserving existing transparency and pixel dimensions. Free, local browser conversion with a preview and no image uploads.
Your images
Choose a file to begin. Processing stays on your device.
Your result
Step by step
Choose a static AVIF file and click Convert to PNG. Check the preview and download the result. The converter retains the decoded pixel dimensions and preserves existing alpha transparency. Input limits are 20 MB, 8 megapixels and 8192 pixels per edge.
When should I use PNG?
PNG is useful for transparent assets, screenshots and editing workflows that accept PNG but not AVIF. It can also avoid another lossy JPG encoding step. If you only need a compatible photo attachment and file size matters, AVIF to JPG may be a better choice.
Transparency stays where it already exists
The checkerboard in a preview represents transparency; it is not baked into the PNG. An opaque AVIF stays opaque after conversion. Converting the format does not identify subjects or erase backgrounds.
Why there is no quality slider
The browser PNG encoder uses lossless compression. Unlike the JPG quality control, a PNG quality number would not usefully control this export. To reduce the pixel count, resize the PNG after conversion; changing dimensions does change the image.
Why the output can be larger
An efficient AVIF photograph may become a much larger PNG because PNG stores the decoded pixels losslessly. A larger file is not evidence of more original detail. The preview reports the actual output size in decimal KB.
What happens to colour and metadata?
The local decoder produces an 8-bit image. Source HDR, wide-gamut colour profiles and metadata are not preserved. Keep the original when you need camera records, editing history or an archival source.
Troubleshooting an AVIF file
An animated, damaged or unusually structured AVIF may be rejected. Check that the file is an actual AVIF rather than a renamed download. Try a smaller source if memory is limited. The original is never overwritten.
Behind the result
PNG preserves existing transparency and losslessly encodes the decoded pixels. It does not remove a background or restore lost source detail. PNG files are often larger than AVIF.
Read the AVIF container
The tool checks the AVIF container, declared dimensions and static-image brand before decoding. Animated AVIF is rejected. A bundled libavif WebAssembly decoder runs in a worker, producing 8-bit pixels locally.
Draw the decoded pixels
The decoded pixels are drawn to a canvas at their original dimensions. PNG keeps alpha transparency. For JPG the chosen background is painted behind the image because JPEG has no alpha channel.
Encode a new file
The browser canvas encoder creates JPG or PNG bytes. JPG applies the selected quality setting. PNG losslessly encodes the canvas pixels. Neither format conversion restores detail lost earlier.
Know what is not preserved
This pipeline does not copy source metadata, HDR or wide-gamut profiles. The converted file can be larger and colours can differ. Keep the original for archival and colour-critical use.
Explore the details: jSquash AVIF decoder
