Free, no signup. Change the text in any PDF.Edit a PDF
PNG → AVIF Converter

Convert PNG to AVIF - Smaller, With Transparency Kept

Turn heavy PNG graphics, screenshots and cut-outs into much smaller AVIF files with the transparent background intact. Free, no account.

Drop files to convert

Drag files here or pick them from your device

Advertisements
Expert Tips

What the pros know

Pro Tip

Export the AVIF from the layered design file or the full-size PNG, not from a PNG that was already scaled down for the web. Then set the width and height on the img tag so the page doesn't shift while the image loads.

Common Mistake

Converting a logo that was once a JPG. JPG can't store transparency, so the white box is baked into the pixels, and converting to AVIF just gives you a smaller white box. Transparency has to be there in the source PNG.

Best For

Product cut-outs, large screenshots and hero graphics on a site you control, where a transparent background must stay and the PNG is hundreds of kilobytes or more.

Not Recommended

Editing masters, favicons and app icons, pixel-exact bug report screenshots, and anything going to Shopify, Squarespace or a print shop. Those need the PNG.

FAQ

Frequently Asked Questions

Yes. AVIF supports transparency, and the converter carries it across, including soft edges and semi-transparent shadows. Browsers that show AVIF show the transparency with it. Check thin-lined logos at 100% zoom, where lossy compression can cause faint fringing on the edge.

No. The output is lossy AVIF, so it isn't a pixel-exact copy of the PNG. For photos, screenshots and web graphics the difference is hard to see. Keep the original PNG as your master file for editing.

It depends on what the PNG holds. A PNG of a photo, a gradient or a large screenshot usually shrinks a lot, often to a fraction of the size. A tiny flat icon with a few colours is already small as a PNG and may barely change.

Usually, but it's the hardest case for a lossy format. Tiny UI text can look slightly soft. View the AVIF at 100% before you replace the PNG on a documentation page, and keep the PNG if the text matters.

Chrome 85 and later, Firefox 93 and later, Safari on iPhone from iOS 16, and Safari 16.4 on Mac, Edge 121 and later, and Samsung Internet 14 and later. Older versions show nothing, so use a picture element with the PNG as the fallback.

No. There's no quality slider or lossless switch; the converter picks the settings. To get a smaller file, reduce the pixel dimensions first with the image resizer and then convert.

AVIF uses the AV1 video codec, and AV1 encoding is much slower than PNG or WebP encoding. Images around 24 megapixels and up take a few seconds each. Normal screenshots and graphics are quick. You can queue up to 5 files, each up to 300 MB.

From WordPress 6.5 (April 2024) onward, if the host's PHP image library (GD or Imagick) was built with AVIF support. Check Tools, Site Health. Older WordPress versions reject .avif uploads, and WebP has been accepted since 5.8 in 2021.

AVIF usually gives the smaller file and supports transparency. WebP supports transparency too and works on older browsers (Safari 14, Edge 18). Serve AVIF first with WebP and PNG fallbacks in a picture element, or go straight to WebP if you can't add fallback code.

Yes, keep it. It's your lossless master for future edits, and on a website it's the img fallback inside the picture element for browsers that can't show AVIF, such as Edge before version 121.

Convert PNG to AVIF online free

Why PNG files are so big, and what AVIF does about it

PNG is lossless. Every pixel is stored exactly, using Deflate compression from the 1990s. That's perfect for a logo you'll edit again, and terrible for a 2000-pixel screenshot or a photo someone exported as PNG. Those files run into megabytes.

AVIF is lossy. It compresses the image with AV1, a video codec (compression method), and throws away detail your eye won't miss, so the same picture lands in a fraction of the space. It also keeps transparency, which is the one thing that stops most people converting PNGs to JPG. The biggest savings come from PNGs that hold photos, gradients or large screenshots. A tiny flat icon with four colours is already small as a PNG and may not shrink much.

How to convert PNG to AVIF

  1. Drop up to 5 PNG files into the box above. Each can be up to 300 MB.
  2. AVIF is the preset target. Press Convert. The file is uploaded to our server and encoded there.
  3. Download the .avif file.

There's no quality slider, and no lossless option. The converter chooses the settings. AV1 encoding is slower than PNG or WebP encoding, so a very large image, around 24 megapixels and up, takes a few seconds. Typical screenshots and web graphics finish quickly.

Transparency survives, with one thing to check

A transparent PNG becomes a transparent AVIF. AVIF stores the transparency as a separate layer inside the file, and browsers that display AVIF show it. Soft edges, drop shadows and half-transparent overlays carry across, not just hard cut-outs.

The thing to check is the edge. Because the output is lossy, the colour pixels along a transparent edge are compressed too, and on a logo with very thin lines you may see faint fringing at 100% zoom. On product cut-outs and UI graphics it's rarely visible. If it bothers you, keep the PNG for that one image.

Convert transparent graphics from the PNG, never from a JPG. JPG has no transparency, so a logo that passed through JPG has a white or black box baked in that no converter can remove.

What changes in the file, and what to watch

  • Lossless becomes lossy. The AVIF is not a pixel-exact copy. Keep the PNG as your editing master.
  • Small text can soften. Screenshots with 10-pixel UI text are the hardest case for any lossy codec. View the AVIF at 100% before replacing the PNG in a tutorial or documentation page.
  • Size limits are not a problem. The AVIF format allows images far larger than any screenshot, unlike WebP, which stops at 16,383 pixels on a side.

Browser support

Every current major browser shows AVIF with its transparency (Chrome from 85, Firefox from 93, Safari on iPhone from iOS 16 and Safari 16.4 on Mac, Edge from 121, Samsung Internet from 14); the full table with release dates is on the JPG to AVIF page.

Serve the AVIF first and the PNG as the fallback

Keep the PNG on the server and list it last. A browser works down the sources inside a picture element and stops at the first type it can decode, so an old Edge build gets the PNG and never sees a broken image:

<picture>
  <source srcset='logo.avif' type='image/avif'>
  <source srcset='logo.webp' type='image/webp'>
  <img src='logo.png' alt='Describe the image' width='600' height='200'>
</picture>

The WebP line is optional. It catches Safari 14 and 15 and Edge 18 to 120, which have WebP but not AVIF. Make it from the same PNG with PNG to WebP. Google has indexed AVIF in Image Search since August 2024, and Google's page-speed report, Lighthouse, stops flagging the image in its "Improve image delivery" check (called "Serve images in next-gen formats" in older versions) once the AVIF or WebP version is what the browser actually receives.

The PNGs that gain the most here are the ones that were never photos: logos on a transparent background, icons and UI graphics, and screenshots full of text. Sites keep those as PNG for the clean edges and the transparency, and each one can weigh hundreds of kilobytes. As AVIF they keep the transparency and lose most of the weight. The one check is a screenshot with small text, which you should view at 100% before swapping it in.

When to keep the PNG instead

AVIF is a delivery format, not a working format. Keep the PNG when the image will be opened in a design tool, sent to a printer, or uploaded somewhere that lists PNG but not AVIF. Keep it for favicons and app icons, which need PNG or ICO. And keep it for pixel-perfect screenshots in bug reports, where a lossy copy can hide the thing you're trying to show.

If the PNG is only big because it holds a photo with no transparency, PNG to JPG gives you a file that opens absolutely everywhere, at the cost of a somewhat larger size than AVIF. Every format we can make from a PNG is on the PNG converter page, and everything that becomes AVIF is on the AVIF converter page.

Last updated: 11 October 2026 · ChangeMyFile

What changed: New page, added when AVIF support launched.

Tested: October 2026: a PNG with a transparent background came out as an AVIF with the same transparent background.

Advertisements