Skip to content

AVIF to PNG Converter Online

Browser-side — no upload
Last verified May 2026 — runs in your browser

AVIF to PNG Converter — Lossless Compatibility from AVIF

AVIF (AV1 Image File Format, AOMedia v1.2.0; ISO/IEC 23000-22:2019 MIAF (first edition June 2019)) pairs the AV1 video codec (AOMedia Bitstream Spec v1.0.0, 25 June 2018) with the HEIF container (ISO/IEC 23008-12). It delivers ~2× better compression than JPEG and typically 20–40% smaller than WebP (up to ~50% on some content). Converting AVIF → PNG (W3C Recommendation 10 November 2003 / ISO/IEC 15948:2004) produces lossless output with alpha preserved exactly via PNG's tRNS chunk or RGBA mode. The PNG output uses DEFLATE (RFC 1951 Deutsch, May 1996, LZ77 + Huffman) — universal compatibility with every editor, OS, CMS, and print pipeline. AVIF decoding required: Chrome 85+ (August 2020), Firefox 93+ (October 2021), Safari iOS 16.0+ (still AVIF, September 2022), Safari 16.4+ (full AVIF, March 2023). PNG output via Canvas toBlob('image/png') is universally supported including Safari, so the conversion runs cleanly anywhere that can read AVIF.

How to convert AVIF to PNG

  1. Drop an .avif file onto the tool or click to browse — single file or batch. Requires Chrome 85+, Firefox 93+, or Safari 16.4+ for AVIF decoding.
  2. The browser decodes the AVIF (per AOMedia spec v1.2.0) to an ImageBitmap and draws it to a Canvas at native dimensions, preserving alpha.
  3. Canvas calls toBlob('image/png') which encodes pixels via DEFLATE (RFC 1951) into a PNG (W3C 2nd Ed) — no quality slider since PNG is lossless.
  4. Download the PNG. Alpha channel preserved exactly. Original AVIF file is not modified.

Common use cases

  • Opening an AVIF photo from a photographer in a legacy desktop editor (Photoshop pre-CC 2024, GIMP older versions) that doesn't decode AVIF.
  • Importing AVIF downloads from a modern site into a CMS, design tool, or archival pipeline that strictly expects PNG input.
  • Archiving AVIF images as PNG for long-term storage where decoder availability decades from now is uncertain.
  • Producing PNG fallback copies of AVIF assets for clients on older Windows/macOS versions without AVIF system decoders, or Safari 14–15 users without any AVIF support.

Frequently asked questions

What is AVIF and why convert to PNG?

AVIF (AOMedia v1.2.0; ISO/IEC 23000-22:2019 MIAF (first edition June 2019)) pairs AV1 codec (AOMedia v1.0.0 June 2018) with HEIF container (ISO/IEC 23008-12). ~2× better than JPEG, typically 20–40% smaller than WebP. Convert to PNG (W3C 2nd Ed, 2003) for lossless editing/archival/universal compatibility — every editor reads PNG.

Will the PNG match the AVIF pixel-for-pixel?

Yes from decoded AVIF onward. PNG uses lossless DEFLATE (RFC 1951 May 1996) — every decoded pixel reaches output exactly. If source AVIF was lossy, AV1 quantisation artefacts (smoothing, banding, ringing) get baked into PNG. Lossless AVIF sources produce bit-exact PNG reconstructions.

Why is the PNG often larger than the source AVIF?

AVIF's AV1 codec compresses 2–3× more efficiently than PNG's DEFLATE for natural images. AV1 uses recursive partitioning + intra-prediction + arithmetic coding; PNG's DEFLATE was optimised for lossless general compression in 1996. Trade buys universal compatibility at 2–3× growth for photos.

Does the AVIF alpha channel survive into PNG?

Yes. AVIF supports 8-bit and 10-bit alpha (auxiliary image item per ISO/IEC 23008-12). PNG supports tRNS palette transparency + 8-bit RGBA (W3C 2nd Ed). Canvas conversion preserves alpha bytes exactly. Note: AVIF 10-bit alpha is downconverted to 8-bit since Canvas operates at 8-bit precision.

Which browsers support AVIF decoding for this conversion?

Chrome 85+ (Aug 2020 on Android 7+), Firefox 93+ (Oct 2021), Safari iOS 16.0+ (Sept 2022, still AVIF), Safari 16.4+ (March 2023 — full support including animation/grid), Edge 121+ (January 2024), Opera 71+. Older browsers (Safari 16.0–16.3, pre-Chrome 85) fail. PNG output via toBlob('image/png') is universally supported.

Why AVIF → PNG when PNG is much larger — and what's preserved

The conversion is decode-the-AVIF-to-pixels then encode-PNG-via-DEFLATE. PNG output is typically 2–3× larger than the source AVIF for photographs since AVIF's AV1 codec compresses far more efficiently than PNG's 1996 DEFLATE algorithm — but PNG buys universal compatibility. AVIF supports 8-bit and 10-bit alpha (carried as auxiliary image item per ISO/IEC 23008-12 HEIF); PNG supports both palette transparency (1-bit, via tRNS chunk) and full 8-bit alpha (RGBA mode) per W3C 2nd Edition. The Canvas 2D Context conversion path preserves alpha bytes exactly: decode AVIF → ImageBitmap with alpha → drawImage → toBlob('image/png') retains every transparent pixel. Note: AVIF 10-bit alpha is downconverted to 8-bit in the PNG output since standard browser Canvas operates at 8-bit precision. AVIF can also carry HDR + Wide Color Gamut (Rec.2020) — these are tone-mapped to SDR sRGB (IEC 61966-2-1:1999) by the standard Canvas 2D path, losing wide-gamut information in the PNG output. The PNG is essentially a 'compatibility wrapper' for whatever pixels the AVIF decoded to — preserving the AVIF's exact 8-bit visual output at the cost of file size growth and any HDR/WCG metadata. Use this conversion when the destination cannot handle AVIF (older Photoshop versions, certain print pipelines, archival systems with strict format whitelists).

  • AVIF source decoded per AOMedia AV1 Image File Format spec v1.2.0
  • AV1 codec decoding per AOMedia Bitstream Spec v1.0.0 (25 June 2018)
  • Output PNG per W3C 2nd Edition / ISO/IEC 15948:2004 with DEFLATE compression (RFC 1951)
  • Alpha channel preserved end-to-end (AVIF auxiliary image item → PNG tRNS / RGBA, no flatten)
  • Lossless conversion from decoded AVIF onward (no further quality loss)
  • Browser-side via WHATWG Canvas toBlob('image/png') — works in every browser that can decode AVIF (Chrome 85+, Firefox 93+, Safari 16.4+)

Free. No signup. No file uploads. Ads via AdSense (consent required).

Sources (6)
  • Alliance for Open Media (AOMedia) — Storage and Transport Format WG (2024). AV1 Image File Format (AVIF). AOMedia specification v1.2.0 (aomediacodec.github.io/av1-avif/); also formalised in ISO/IEC 23000-22:2019 MIAF (first edition June 2019) — HEIF-derivative container with AV1 payload.
  • AOMedia Codec Working Group (2018). AV1 Bitstream & Decoding Process Specification. AOMedia v1.0.0 (25 June 2018; v1.0.0-errata1 8 January 2019) — open royalty-free video codec underlying AVIF stills.
  • ISO/IEC JTC 1/SC 29/WG 11 (MPEG) (2017). Information technology — High efficiency coding and media delivery in heterogeneous environments — Part 12: Image File Format (HEIF). ISO/IEC 23008-12:2017 (first edition) / 2022 (second edition) / 2025 (third edition) — base container that AVIF derives from; alpha channel carried as auxiliary image item.
  • W3C (PNG Working Group) (2003). Portable Network Graphics (PNG) Specification (Second Edition). W3C Recommendation 10 November 2003 / ISO/IEC 15948:2004 — target lossless raster format; alpha channel preserved end-to-end from AVIF source.
  • Deutsch, P. (1996). DEFLATE Compressed Data Format Specification version 1.3. RFC 1951, IETF (May 1996, Aladdin Enterprises — LZ77 + Huffman; PNG IDAT compression for the lossless target output).
  • WHATWG (live). HTML Living Standard — Canvas 2D Context + HTMLCanvasElement.toBlob(). html.spec.whatwg.org/#2dcontext (browser AVIF decoding: Chrome 85+ August 2020, Firefox 93+ October 2021, Safari 16.4+ March 2023; PNG output via toBlob('image/png') is universally supported).

These are the W3C, ISO/IEC, ITU-T, and IETF specifications the tool implements or builds on. Locate them on w3.org, iso.org, itu.int, or datatracker.ietf.org.

Sponsored

By ·