Convert AVIF to transparent PNG — transparency preserved

AVIF supports a full per-pixel alpha channel, but the format is still missing from most design tools, print workflows, and older CMS platforms. Drop a transparent AVIF here and the converter decodes every alpha value — from fully transparent to the subtlest semi-transparent edge — then writes them into a PNG without flattening, compositing, or approximation. The transparency you put in comes out the other side intact.

Convert to PNG →

Why convert AVIF to transparent PNG?

AVIF is a genuinely capable format for transparent imagery — it encodes alpha at high quality with file sizes that undercut PNG considerably. The problem is tooling support outside the browser. Adobe Illustrator before CC 2024 cannot import AVIF at all, which means any logo or vector export you receive as a transparent AVIF is immediately unusable in the most common professional illustration workflow. Sketch has no native AVIF decoder. Older Figma desktop builds require a plugin workaround. Print RIPs and PDF preflight engines — the software that validates files before they go to press — universally expect TIFF or PNG for transparent assets; AVIF is simply not in their vocabulary. CMS and DAM systems present a similar wall. Contentful, Sanity, and most headless CMS platforms accept AVIF for web delivery, but their image transformation pipelines do not always expose transparent AVIF to downstream integrations that request PNG. Legacy DAMs often store and serve the exact file you uploaded; if your marketing team needs a transparent asset for a PowerPoint deck or an email campaign tool that only imports PNG, the AVIF will silently fail or lose its transparency. Converting to PNG removes the uncertainty: a transparent PNG opens everywhere, requires no plugins, and survives every handoff.

What you lose and what you gain

PNG is a lossless format by design, which means the conversion from AVIF to PNG can only preserve information — it cannot lose more than the AVIF decoder itself already decided. Once libavif decodes the AVIF into a raw RGBA pixel buffer, every alpha value is an exact integer between 0 and 255. oxiPNG takes that buffer and writes the alpha bytes directly into the PNG file without any thresholding, quantization, or compositing step. A pixel that is alpha 180 in the AVIF source will be alpha 180 in the PNG output. If the original AVIF was encoded with lossy compression — which is common, since lossy AVIF at quality 85–90 delivers excellent results at compact sizes — those lossy artefacts are already baked into the decoded pixel values. The PNG cannot undo them; it simply records what the decoder produced. For transparent logos and UI assets this rarely matters: most are encoded losslessly or at very high quality specifically to avoid visible compression artefacts near transparent edges. The practical trade-off is file size. A 1024×1024 transparent logo that sits at roughly 52 KB as a lossy AVIF will expand to around 280 KB as an optimized PNG. AVIF's AV1-based compression is simply more efficient than PNG's DEFLATE for this class of content. That gap is real for web delivery, but irrelevant the moment the destination is a design tool, a print workflow, or any system that requires PNG specifically.

How to convert AVIF to transparent PNG

The conversion runs entirely inside your browser using WebAssembly. Your transparent AVIF never leaves your device — there is no upload, no server-side processing, and no account required:

  1. Click "Convert to PNG →" above, or drag your transparent AVIF file directly onto the drop zone on the homepage. Both entry points route to the same local conversion engine.
  2. The tool decodes your AVIF using libavif — the reference implementation from the Alliance for Open Media (github.com/AOMediaCodec/libavif), compiled to WebAssembly. libavif unpacks the AV1-coded image data and produces a raw RGBA pixel buffer. Crucially, it decodes the alpha plane in full: every transparent pixel, every semi-transparent edge, and every partially opaque gradient is represented as an exact 8-bit alpha value in that buffer.
  3. The RGBA buffer — alpha channel completely intact — is passed to oxiPNG (github.com/shssoichiro/oxipng), a Rust-based PNG encoder compiled to WebAssembly. oxiPNG writes a standard RGBA PNG file. It applies lossless DEFLATE optimization to reduce file size, but it does not touch the pixel values themselves. The alpha data that came out of libavif goes straight into the PNG byte stream.
  4. Click the download button. Your transparent PNG saves to the Downloads folder with the original filename and a .png extension. Open it in Illustrator, Figma, Photoshop, a browser tab, or a file preview — the transparent regions will appear transparent because the alpha channel is there, unchanged.
  5. For the smallest possible PNG without sacrificing any alpha fidelity, open /convert and raise the oxiPNG optimization level to 6. Higher levels run more exhaustive DEFLATE search passes, which can trim 10–15% off the file size. The alpha channel is bit-for-bit identical at every optimization level.

File size comparison: transparent AVIF vs transparent PNG

Measurements from representative transparent-asset scenarios. AVIF sources were encoded at quality 90 using libavif with default alpha settings. PNG output used oxiPNG at optimization level 6.

SourceFormatModeFile size
1024×1024 transparent logoAVIF q90Lossy color + alpha channel~52 KB
1024×1024 transparent logoPNG (oxiPNG level 6)Lossless RGBA, optimized~280 KB
1920×1080 transparent overlayAVIF q90Lossy color + alpha channel~210 KB
1920×1080 transparent overlayPNG (oxiPNG level 6)Lossless RGBA, optimized~1.4 MB
1024×1024 transparent logoAVIF losslessLossless color + alpha channel~510 KB
1024×1024 transparent logoPNG (oxiPNG level 6, from lossless AVIF)Lossless RGBA, optimized~890 KB

When AVIF with alpha makes sense, and when PNG wins

Browser support for AVIF transparency is broad and mature. Chrome 85 and later, Firefox 93 and later, and Safari 16 and later all decode AVIF alpha correctly — which together covers essentially every browser actively in use in 2025. If you are delivering a transparent asset through a web pipeline where you control the output — a modern website, a Jamstack deploy, a CDN that serves correct MIME types — transparent AVIF is the rational choice. The file-size advantage at equivalent visual quality is not marginal; it is typically 4:1 to 6:1 over an optimized transparent PNG. PNG wins everywhere the recipient is a system rather than a browser. The diagnostic question is: will a human with a modern browser view this file, or will a piece of software process it? Software — a print RIP, a design application, an InDesign template link, a Python script using Pillow, a Zapier workflow that attaches images to emails — almost universally expects PNG for transparent content. Adobe Illustrator pre-CC2024 has no AVIF import at all. Sketch (any version before late 2024) silently strips transparency when it encounters AVIF. Microsoft Office applications on Windows do not render AVIF inline. Email clients — Gmail, Outlook, Apple Mail, and every major mobile client — do not support AVIF; a transparent PNG renders correctly in all of them. The AVIF-versus-PNG decision for transparency is therefore straightforward: AVIF for browser delivery, PNG for everything else.

Under the hood: which codecs are used

AVIF decoding is handled by libavif, the reference implementation maintained by the Alliance for Open Media at github.com/AOMediaCodec/libavif. libavif wraps libaom — the same AV1 codec that ships inside Chrome and Firefox — but adds the AVIF container layer that handles still images, animation, and alpha planes specifically. When libavif encounters a file with an alpha channel, it decodes both the primary image plane and the auxiliary alpha plane and assembles a unified RGBA pixel buffer. The alpha plane in AVIF is encoded as a separate monochrome AV1 image, which means it can be lossy or lossless independently of the color image; libavif decodes whichever mode the encoder chose and produces exact integer alpha values. PNG encoding is handled by oxiPNG at github.com/shssoichiro/oxipng, a Rust rewrite of OptiPNG. oxiPNG applies filter-type selection and multi-pass DEFLATE to minimize file size without altering any pixel values. The alpha channel byte sequence that libavif wrote into the RGBA buffer is copied verbatim into the PNG IDAT chunk. Both libavif and oxiPNG run inside a Web Worker, so the main browser thread stays responsive during decode and encode. No pixels leave your device at any point.

FAQ

Will the alpha channel survive the conversion intact?

Yes, completely. libavif decodes the AVIF alpha plane into exact 8-bit integer values (0–255 per pixel) and places them in an RGBA buffer. oxiPNG copies those values byte-for-byte into the PNG file without any compositing, thresholding, or rounding step. A pixel that is alpha 200 in the source AVIF will be alpha 200 in the output PNG. You can verify this in Photoshop or GIMP by checking the alpha channel panel: the values will match the decoded source.

Does this preserve partial (semi-transparent) pixels?

Yes. PNG stores alpha as an 8-bit channel with 256 discrete values — the same representation AVIF uses for its alpha plane. Soft drop-shadows, feathered edges, anti-aliased text on transparent backgrounds, and gradients that fade from fully opaque to fully transparent all round-trip without any approximation. The conversion is not a simple mask; every intermediate alpha value is preserved individually per pixel.

Why is the transparent PNG larger than the AVIF?

AVIF uses AV1-based compression, which can represent the same visual content in roughly one-quarter to one-sixth the bytes that PNG's DEFLATE algorithm requires. AVIF was designed to exploit perceptual redundancy and spatial frequency patterns that DEFLATE does not model. oxiPNG level 6 compresses as tightly as the PNG format allows, but that still leaves a substantial gap. The size increase is a real cost for web delivery; it is irrelevant for print, design handoff, or any other destination that requires PNG specifically.

Can I open transparent AVIFs in Photoshop without converting?

Adobe Photoshop CC 2023 and later can open AVIF files, including those with alpha channels, via the Camera Raw engine or a plugin. However, Photoshop CC 2022 and earlier have no native AVIF support — the file either fails to open or imports as a flattened opaque image depending on the version. If you are on an older Photoshop version, or if you are handing a file to a colleague whose version you cannot verify, converting to PNG before delivery is the safe approach.

Does the conversion work on lossless AVIF files?

Yes, and lossless AVIF produces the cleanest round-trip. When the AVIF source was encoded losslessly, libavif decodes it to a pixel buffer that is bit-exact with the original image data. oxiPNG then encodes that buffer to PNG losslessly. The result is a PNG that is a mathematically perfect copy of the original pixels, including every alpha value. Lossless AVIF files are larger than lossy AVIF (typically 8–10× the lossy size), so converting them to PNG still increases file size, but the pixel fidelity is absolute.

Will Adobe Illustrator accept the output PNG?

Yes. Adobe Illustrator has accepted transparent PNG with per-pixel alpha since CS3. Place the converted PNG into Illustrator via File > Place and the transparent regions will render correctly in the canvas, in PDF export, and when printing to a PostScript device. The alpha channel is embedded in the PNG file in a format that every version of Illustrator recognizes.

Do my files get uploaded to a server?

No. The entire conversion — AVIF decode and PNG encode — runs in your browser using WebAssembly. Open your browser's Network tab during a conversion and you will see zero outbound requests beyond the initial page load. There is no server to send files to. The compute happens on your CPU, using libavif and oxiPNG WASM modules that are cached locally after the first visit.

Is this free? Are there file size or count limits?

Free, with no file-size limit beyond available browser memory and no file-count limit. The tool runs no servers — your browser does all the work — so there is no meaningful cost to providing it without restrictions. There is no watermark, no signup, and no usage cap.

How do I know whether my AVIF has an alpha channel?

Drag the AVIF into a Chrome or Firefox tab. If parts of the image show as a checkerboard or the page background shows through, the file carries an alpha channel. If the entire image is opaque with no transparent areas, the AVIF does not have alpha — you can still convert it to PNG for compatibility, but the transparency question does not apply. The converter handles both cases automatically: opaque AVIFs produce opaque RGB PNGs, transparent AVIFs produce RGBA PNGs.

Does this work offline after the first visit?

Yes. After the first page load, a service worker caches the app shell along with the libavif and oxiPNG WebAssembly modules. All subsequent conversions work with no network connection. The app is also installable as a PWA, which puts it in your dock or home screen and makes it available as a standalone window without a browser tab.