PNG to AVIF Converter

Convert PNG to AVIF online for free. Get a smaller, web-ready AVIF in seconds. 100% browser-based — no upload, no signup, no watermark.

How to use PNG to AVIF

  1. 1Click the upload area or drag your PNG file into it.
  2. 2Adjust the quality slider to balance file size and detail.
  3. 3Click Convert to render the AVIF in your browser.
  4. 4Download your new AVIF file — nothing is uploaded.

Features

  • Instant PNG → AVIF conversion, 100% in-browser
  • Your files never leave your device
  • Adjustable quality to balance size and clarity
  • Free, unlimited, no signup or watermark

PNG vs AVIF: technical differences

To convert PNG to AVIF, drop your PNG file into the converter above and download the AVIF: a modern format, usually smaller than JPG and WebP at the same quality, that supports transparency. It is free, needs no sign-up, and runs in your browser, so the file is never uploaded.

AVIF stores each image as a single AV1 video keyframe. AV1's large, variable block sizes, directional prediction and in-loop filters mean that, where JPG would show blocks, AVIF degrades by gently smoothing. That is why a PNG photo converted to AVIF can end up roughly half the size of the equivalent JPG, and a tiny fraction of the PNG.

The trade-off is that AVIF tends to blur very fine texture — fabric weave, hair, film grain — before it shows any other artifact. Flat graphics with hard edges compress extremely well. AVIF also keeps a full alpha channel, so transparent PNGs stay transparent.

AVIF can carry 10- and 12-bit colour and HDR, but that capability goes unused here: Pixohub works on an 8-bit canvas and writes standard 8-bit sRGB AVIF, using Safari's own encoder or, in Chrome, Firefox and Edge, a bundled WebAssembly build of libavif. Encoding is also much slower than WebP or JPG, so even a medium-sized PNG takes several seconds.

PNG (Portable Network Graphics)AVIF (AV1 Image File Format)
CompressionLossless (DEFLATE with per-row prediction filters)Lossy or lossless (AV1 intra-frame in a HEIF container)
Colour depth1–16 bits per channel; truecolor, greyscale or 256-colour palette8, 10 or 12 bits per channel; HDR and wide gamut capable
TransparencyFull 8/16-bit alpha channelFull alpha channel
AnimationOnly via the APNG extensionYes (image sequences)
MetadataText chunks, ICC profile, gamma; EXIF via the newer eXIf chunkEXIF, XMP, ICC / CICP colour signalling
Typical file sizeLarge for photos (often 2–3× a JPG); tiny for flat graphicsUsually the smallest — often half a JPG at similar quality
SupportUniversal — every browser, OS and editorChrome, Edge, Firefox and Safari 16+; patchy in older desktop software

When to convert PNG to AVIF

Squeezing every byte out of a performance-critical page

Landing pages chasing a fast Largest Contentful Paint on mobile benefit most. A PNG hero illustration of 1–2 MB can often drop to well under 150 KB as AVIF. Serve it inside a picture element with a WebP or JPG fallback if you still care about very old browsers.

Transparent illustrations and UI artwork

Large transparent illustrations — onboarding art, empty-state graphics, mascots — are where PNG is at its heaviest and AVIF at its best: smooth fills, clean edges and alpha all compress efficiently.

Portfolio sites with many large images

Designers and photographers who exported their portfolio as PNG to avoid JPG artifacts can switch to AVIF and keep the clean look while cutting total gallery weight dramatically. Check fine-texture work (textiles, sketches) at 100% zoom before replacing originals.

What converting PNG to AVIF keeps and loses

What you keep

  • Transparency, including semi-transparent edges.
  • Exact pixel dimensions.
  • A visually clean image at the default 85% quality — AVIF artifacts show up as softness rather than blocks.

What you lose

  • Losslessness: the encoder produces lossy AVIF at the chosen quality.
  • 16-bit precision; the result is 8-bit even though AVIF could hold more.
  • Metadata and ICC profiles from the PNG.
  • Universal compatibility — current browsers display AVIF, but many desktop tools, email clients and CMS uploaders still do not accept it.

Our test: PNG to AVIF on two real files

At the default 85% the photo came out at 308 KB: slightly larger than the WebP (228 KB) or JPG (301 KB) made from the same PNG, but closer to the source, with SSIM 0.9899 against 0.977 for WebP. The same number on the quality slider does not mean the same quality in different encoders, so to compare sizes fairly, lower the AVIF quality until it looks like your WebP. The transparent graphic shrank from 225 KB to 33 KB and kept its alpha channel.

The cost is time. The photo took 7.1 seconds and the graphic 2.6 seconds, because Chromium has no AVIF encoder of its own and Pixohub runs libavif as WebAssembly in the tab; the other formats from the same PNG took about a second.

Method: this converter in Chromium (Playwright 1.64.1) on an Apple M2 Mac, default 85% quality for lossy output. The photo is an iPhone 14 Pro Max shot scaled to 1600 × 1200, metadata intact; the graphic has a transparent background, soft shadow, gradients and text. SSIM and PSNR compare each result with the decoded original on white (how we test).

Test filePNG inAVIF outPixels vs originalTransparencyCamera EXIFTime
Photo, 1600 × 12002.1 MB308 KB (−85%)SSIM 0.990 · 33.2 dBNone in sourceRemoved7.1 s
Graphic, 800 × 600, transparent225 KB33 KB (−85%)SSIM 0.998 · 46.3 dBKeptNone in source2.6 s

Last updated

Apps and sites that work with PNG and AVIF

Browsers that display the result

Chrome has displayed AVIF since version 85 and Firefox since 93; Microsoft Edge only turned it on by default in version 121, released in January 2024. Current Safari displays AVIF too. An AVIF hero image therefore works for nearly every visitor, but a picture element with a PNG or WebP fallback still covers older Edge and Safari installs.

WordPress and the server's image library

WordPress accepts AVIF from version 6.5, but only when the server's GD or Imagick build can handle it, because WordPress generates the smaller sizes itself. Tools › Site Health › Info › Media Handling lists the formats your host supports; if AVIF is missing there, ask the host or use WebP.

Editors and command-line tools

GIMP has imported and exported AVIF since 2.10.22. The libavif project's avifenc tool takes PNG input directly if you want to script a batch. On Windows, viewing AVIF in Photos and seeing thumbnails in File Explorer depends on Microsoft's AV1 Video Extension from the Microsoft Store.

Common PNG to AVIF problems and fixes

The progress seems stuck

It is almost certainly still encoding. AV1 compression is slow, and outside Safari it runs as single-threaded WebAssembly, so a 2-megapixel PNG takes several seconds and a large camera-sized PNG longer still (Pixohub switches libavif to a faster speed setting above 4 megapixels). Leave the tab in the foreground until it finishes, or resize first with the image resizer if the image is larger than you will display.

WordPress says the file type isn't allowed

On WordPress versions before 6.5 an AVIF upload is refused with "Sorry, you are not allowed to upload this file type." On 6.5 and later the same file can still fail if the host's image library lacks AVIF. Updating WordPress or asking the host fixes the first case; for the second, PNG to WebP gives a file every WordPress host accepts.

AVIF came out bigger than the WebP

That is what our own photo test showed at 85%, and it is not a fault: libavif spent the extra bytes on higher fidelity. If file size is the goal, try 65–75%; AVIF at those settings still tends to look cleaner than WebP at 85%, because it softens instead of blocking. Compare the two downloads side by side before deciding.

Tips for better PNG to AVIF results

  • AVIF export works in all current browsers: Safari uses its own encoder, while Chrome, Firefox and Edge use a bundled WebAssembly encoder, which is why it takes several seconds. If the AVIF is not clearly smaller than a WebP of the same image, PNG to WebP is the more compatible choice.
  • Inspect fine detail at 100% zoom; if textures look waxy, raise the quality rather than accepting the blur.

How this converter works

Pixohub decodes your PNG and encodes the AVIF entirely inside your browser. Nothing is uploaded, so the conversion is private by design and as fast as your device.

Need more? Shrink the result with the image compressor, change its dimensions with the image resizer, or convert a whole folder at once with bulk format convert.

Frequently asked questions

Is AVIF better than WebP for my PNGs?

For file size, usually yes — often noticeably smaller at the same visual quality. WebP encodes faster and is accepted by more software. For web delivery AVIF wins; for files you will pass around, WebP or PNG is safer.

Can I bulk convert PNG to AVIF?

Not yet — Pixohub's bulk converter outputs PNG, JPG and WebP only. Convert PNGs to AVIF one at a time on this page, or use bulk WebP if you need a whole folder done quickly.

Why did my AVIF conversion fail or come out large?

Encoding takes several seconds outside Safari, because it runs a WebAssembly AV1 encoder in the tab, so give it time to finish; if it fails, try a current browser version. Large output usually comes from very noisy images, where AVIF has less to gain, or from the default 85%, which is a high setting for AVIF.

Does my PNG get uploaded to encode AVIF?

No. The AVIF is encoded in your browser tab, by Safari's built-in encoder or by a WebAssembly encoder in other browsers; the PNG never leaves your device.

Will WordPress accept the AVIF file?

Recent WordPress versions (6.5 and later) accept AVIF uploads, provided the server's image library supports it. Older installations or some hosts may reject it, in which case use WebP.

From the blog

More converters

Batch: convert format many images at once

Same processing as above, run across a set of files. Pro returns the whole batch as one ZIP. Still entirely in your browser.

Free · up to 20

PRONeed more than 20 at a time?

Pro runs up to 150 images per batch as one ZIP, keeps your brand mark on every export, and lifts the file ceiling to 200 MB.

Unlock with Pro