PNG to AVIF Converter
Turn PNG images into AVIF files in your browser, one AVIF for each PNG.
or drop files here
PNG Format
Portable Network Graphics
A lossless raster format developed as a patent-free replacement for GIF, standardized as ISO/IEC 15948 and a W3C Recommendation.
- Lossless DEFLATE compression
- 1 to 16 bits per sample
- Optional alpha channel
AVIF Format
AV1 Image File Format
An image format from the Alliance for Open Media that stores AV1-compressed images in the HEIF container.
- Lossy and lossless compression
- 10-bit and 12-bit depth
- HDR and wide color gamut
How to convert PNG to AVIF
Follow these steps to convert PNG to AVIF online.
Choose your PNG file, or several at once.
Wait while the converter turns each file into AVIF.
Download each new AVIF file. Your original file isn't changed.
Related Tools
AVIF to PNG
Convert AVIF images to PNG
PNG to AI
Convert PNG to AI format
PNG to BMP
Convert PNG images to BMP format
PNG to DDS
Convert PNG images to DDS format
PNG to DOCX
Convert PNG to DOCX format
PNG to GIF
Convert PNG images to GIF format
PNG to ICO
Convert PNG images to ICO format
PNG to JPEG
Convert PNG images to JPEG format
PNG to JPG
Convert PNG images to JPG format
PNG to PDF
Convert PNG images to PDF documents
PNG Optimizer
Compress and optimize PNG files
PNG to RGB
Convert PNG to RGB format
PNG to SVG
Convert PNG files to SVG format
PNG to TGA
Convert PNG images to TGA format
PNG to TIFF
Convert PNG images to TIFF format
PNG to WebP
Convert PNG to WebP format
PNG to XBM
Convert PNG to XBM format
ARW to AVIF
Convert ARW images to AVIF format
AVIF to AVIF
Convert AVIF to AVIF format
AVIF Compressor
Compress and optimize AVIF files
GIF to AVIF
Convert GIF images to AVIF
JPEG to AVIF
Convert JPEG images to AVIF format
JPG to AVIF
Convert JPG images to AVIF
SVG to AVIF
Convert SVG to AVIF format
Before converting PNG to AVIF
- How the AVIF is encoded depends on whether your browser can write AVIF itself.
- Pixels pass through 8 bits per channel, so 16-bit PNG depth is lost.
- An animated PNG gives its first frame only.
- EXIF, ICC profiles and XMP are not copied.
- Each PNG gives its own AVIF.
About PNG and AVIF
What is a PNG file?
GIF relied on a patented algorithm, and PNG (Portable Network Graphics) was created to replace it for lossless web images. In October 1996 PNG became the first format to be published as a W3C Recommendation; RFC 2083 and ISO/IEC 15948 followed. A file starts with a fixed signature, then runs in chunks: IHDR holds the header, IDAT carries the image data and IEND closes the file. Its compressor is DEFLATE, which pairs LZ77 matching with Huffman codes, and no pixel data is thrown away.
Samples can be 1 to 16 bits wide, in indexed, grayscale or truecolor images, with an optional alpha channel. The current specification also describes animated PNG (APNG); a viewer without animation support displays a single fallback frame. Since June 2025 the third edition has been a W3C Recommendation; it introduces HDR signaling through a cICP chunk and a place for Exif data, the eXIf chunk. Screenshots, interface art and logos that need clear backgrounds are the typical material, and macOS saves screenshots as PNG by default. PNG is not known to be covered by royalty-bearing patents, and every big browser can show it.
Programs that open PNG files
- Windows, Mac and Linux:
- GIMP imports a PNG for editing.
- ImageMagick reads PNG from the command line.
- Web and Mobile:
- Google Chrome displays PNG.
- Web:
- Mozilla Firefox displays PNG.
- Mobile:
- Safari displays PNG.
PNG and AVIF compared
- Names and types: PNG files end in .png (image/png, or image/apng for animated ones). AVIF files end in .avif.
- Compression: PNG is lossless without exception. AVIF stores AV1-compressed images in the HEIF container and can be lossy or lossless.
- Alpha: both support alpha transparency.
- Depth: a PNG sample is 1 to 16 bits wide. AVIF supports 10-bit and 12-bit depth, aimed at HDR and wide-gamut pictures.
- Motion: PNG has APNG; AVIF can hold image sequences.
- Metadata: since its third edition, PNG allows Exif data in an eXIf chunk.
- Support: every major browser shows PNG. Chrome 85 and Firefox 93 were the first to decode AVIF, Safari on iOS 16 added still AVIF images, and Android 12 and later decode baseline 8-bit AVIF. A browser that decodes AVIF does not guarantee that every app or operating system viewer opens the same file.
The page decodes the PNG with the browser's own decoder into 8-bit RGBA pixels and encodes those pixels as AVIF. That is why an animated PNG contributes only its first frame and no metadata is copied. The encoder is the browser's canvas where the browser can write AVIF, and ImageMagick where it cannot. AVIF is used for web images that need small files and for HDR and wide-gamut images.
Other ways to convert PNG to AVIF
- GIMP: Open the PNG in GIMP, press Shift+Ctrl+E for File > Export As and pick AVIF as the type. GIMP added AVIF import and export in release 2.10.22, and its news post says HEIF files, AVIF included, can be handled at 10 and 12 bits per channel, so older releases lack the AVIF exporter.
- ImageMagick:
magick input.png output.avifis the form ImageMagick's command-line page shows for converting one file into another format. Its formats page lists AVIF as readable and writable. - libavif avifenc:
avifenc -q 80 input.png output.avifcalls libavif's own encoder, whose syntax line accepts jpg, jpeg, png and y4m input. Its-qoption sets quality on the tool's own scale, up to a top value that means lossless. Add--losslessto set every default for lossless encoding; the tool emits warnings when the input or other settings do not allow it.
Problems with PNG files
- Changing the compression setting does not change the pixels: PNG is lossless, so a different setting only changes how hard the encoder works.
- Layers land in odd places in another program: GIMP's PNG offset option can position layers differently elsewhere, so it is best left off.
- Camera tags and profiles have gone: GIMP leaves them out of an export unless you switch on its metadata controls.
- An animated PNG shows a still picture: this converter reads only the first frame of the file.
- A 16-bit PNG loses depth here: the converter passes 8-bit pixels to the encoder, so extra bits in the source do not reach the AVIF.
Frequently Asked Questions
Everything you need to know about our converter
How do I convert PNG to AVIF?
What quality is the AVIF?
What does "Image decode failed." mean?
What happens to a 16-bit PNG?
Is an animated PNG kept as an animation?
Is anything stored besides the pixels?
Which browsers can show an AVIF?
Is there a size limit?
Is my PNG changed?
Does one run handle a whole folder of PNGs?
Browse All Tools
Browse by category instead of one giant mixed list.
Convert Tools
Convert image, audio, video, document, and data files directly in your browser.