PNG to AVIF Converter
Convert a PNG image to the modern, highly efficient AVIF format directly in your browser.
This tool runs entirely in your browser. Your files are never uploaded to a server.
Drop a PNG here or click to upload
What this tool does
Encodes a PNG image as AVIF, a next-generation format based on the AV1 video codec, using a WebAssembly build of the libavif encoder that runs entirely inside your browser.
How to use it
Drop or select one PNG file. The image is drawn to a canvas and its pixels are handed to the WebAssembly AVIF encoder; a ready-to-download AVIF file appears once encoding finishes, typically within a few seconds.
Worked example
Upload logo.png (610 KB, with a transparent background) and you get logo.avif ready to download — usually a much smaller file, with the transparent background preserved, encoded at the tool's default quality setting of 75.
Why convert to AVIF
PNG's lossless compression keeps files large, especially for photographic content; AVIF's lossy but highly efficient compression — while still supporting transparency — typically produces a far smaller file for a similar look.
What changes technically
Encoding runs a full WebAssembly build of the AV1 image encoder in your browser, which is more computationally demanding than a simple format conversion — large images can take several seconds instead of appearing instantly. AVIF preserves the PNG's alpha (transparency) channel, but because the output is compressed with lossy quality-75 encoding by default, pixels are no longer an exact match to the lossless source.
Limitations
Only one file can be converted at a time — there's no batch mode or quality slider yet. Some older devices, email clients and desktop software still don't display AVIF, so keep the PNG if you're unsure the recipient supports it.
Scope, sources and privacy
Encoding uses a WebAssembly build of the open-source libavif library (the reference AVIF codec). The whole process runs locally in your browser; your image is never uploaded to a server.
Frequently Asked Questions
- Is my image uploaded to a server?
- No — the AVIF file is encoded entirely in your browser using WebAssembly. Your original image never leaves your device.
- Does the AVIF keep my PNG's transparency?
- Yes — AVIF supports an alpha channel, so transparent areas in the source PNG are preserved in the output.
- How much smaller will the AVIF be than my PNG?
- It varies by image, but since PNG is lossless and AVIF is a highly efficient lossy format, the AVIF file is typically several times smaller — especially for photos rather than flat-color graphics.
Related Tools
JPG to AVIF Converter
Convert a JPG image to the modern, highly efficient AVIF format directly in your browser.
WebP to AVIF Converter
Convert a WebP image to the even more efficient AVIF format directly in your browser.
AVIF to PNG Converter
Convert an AVIF image to lossless PNG directly in your browser.