Convert PNG to AVIF

Turn PNG images into AVIF files. We compress every file as we convert it.

Convert
to

Drop PNGs to convert to AVIF

3 free PNG to AVIF conversions per session, max 5 MB eachOr click to browse. 3 free PNG to AVIF conversions per session, max 5 MB each

PNGJPEGWebPAVIFJXLHEIC

Why convert PNG to AVIF?

PNG stores every pixel exactly, so photos and gradients make large files. AVIF keeps transparency and we save it at a high quality, so it looks the same. A PNG usually comes out more than 95% smaller as an AVIF; screenshots and text can come out larger.

Why people use TinyPNG

Looks the same, weighs less

We remove detail you can't see, such as unused colors and hidden metadata. The image looks the same and the file is much smaller.

Free, no sign-up

Web Free converts 3 images per session without an account. Web Ultra has no conversion limit.

Trusted since 2012

Designers, developers, marketers and many more: millions of people use TinyPNG. Together they've shrunk over 9 billion images.

How to convert PNG to AVIF

Add your PNG images

Add PNG images up to 5 MB each.

We convert them

Each image comes back as AVIF, usually within seconds.

Download

Save them one by one, or all at once as a ZIP.

Before and after 1.1 MB to 188 KB 83% smaller

The same photo before and after TinyPNG, 1096 × 639 pixels on both sides. Move across the image to compare.

The same boat photo after compressionA boat moored at sunset before compressionOriginalCompressed

PNG vs AVIF

PNG opens in every app and upload form. AVIF is far smaller and about 96% of browsers show it, so use it on your website. Shopify, Figma and many email clients don't take AVIF, so keep a PNG for those.

A typical PNG, before and after

  • PNG original1 MB
  • AVIF from TinyPNG52 KB
PNG vs AVIF
PNGAVIF
CompressionLosslessLossy and lossless
File sizeLargestSmallest
TransparencyYesYes
Browser supportUniversalModern browsers
Best forScreenshots and editingThe smallest web images
Compression
PNG
Lossless
AVIF
Lossy and lossless
File size
PNG
Largest
AVIF
Smallest
Transparency
PNG
Yes
AVIF
Yes
Browser support
PNG
Universal
AVIF
Modern browsers
Best for
PNG
Screenshots and editing
AVIF
The smallest web images

For developers

Automate PNG to AVIF conversion

Convert PNG images in your build pipeline, CMS or app with the Tinify API. The first 500 compressions every month are free.

Convert an image to AVIF with the API
curl --user api:YOUR_API_KEY \
  --data-binary @image.png \
  -i https://api.tinify.com/shrink

curl https://api.tinify.com/output/YOUR_IMAGE_ID \
  --user api:YOUR_API_KEY \
  --header "Content-Type: application/json" \
  --data '{"convert":{"type":"image/avif"}}' \
  --output image.avif
  • Airbnb
  • Amazon
  • Ask
  • Bank of America
  • Electronic Arts
  • Hertz
  • Microsoft
  • NBC
  • Samsung
  • Sony
  • Walmart

“While there are other ways to achieve a 70% reduction in image size, TinyPNG is the easiest and fastest method I’ve found. Plus, it doesn’t alter the image file names, which is great for maintaining SEO integrity.”

Rachel WoodsMarketing Consultant

Converting more than 3 PNGs?

Web Free covers most people. Upgrade when your batches or your files get bigger.

  • Web Free

    $0

    free forever

    For a quick batch now and then. No account needed.
    • Not included: Max 20 images

    • Not included: Max 5 MB per image

    • Not included: 3 conversions

    • Not included: Standard speed

    • Not included: With ads

    • Not included: No folder uploads

  • Web Pro

    $3.25

    per month, billed annually

    For people who compress images every week.
    • Unlimited images

    • Up to 75 MB per image

    • Not included: 3 conversions

    • Faster processing

    • No ads

    • Not included: No folder uploads

Prices in USD. Web Pro is $39 and Web Ultra $149 per year. Web Free limits count per session.

Compare all plans

PNG to AVIF: frequently asked questions

Is the AVIF lossy or lossless?

Lossy, at a high quality setting, so it looks the same as the PNG at normal viewing sizes.

Where can't I use an AVIF?

Shopify doesn't list it, Figma can't import it, and email clients don't handle it well. Keep a PNG or JPEG for those.

How much smaller will my AVIF be?

Usually more than 95% smaller than the PNG you upload, measured on real images converted with TinyPNG. Images that were already compressed save less.

Can I convert AVIF back to PNG?

Yes. Use the swap button, or go to AVIF to PNG. Detail removed by compression doesn't come back.

Is PNG lossless?

Yes. A PNG stores every pixel exactly, which is also why the files are large. Our compressor applies lossy compression by reducing the colours, so its result looks the same rather than being pixel-identical.

Is AVIF better than PNG?

For photos, PNG to AVIF is usually more than 95% smaller, and both keep transparency. JPEG and PNG still open everywhere, while AVIF fails in some shops, design tools, older Windows apps and email.

Which browsers support AVIF?

Chrome, Edge, Firefox and Safari (from 16.4), about 96% of browsers in use. Outside the browser, Windows Photos and Office need the free AV1 Video Extension, and Gmail turns AVIF into JPEG.

Does AVIF support transparency?

Yes, like PNG and WebP. Converting AVIF to JPG fills transparent areas with white, and we ask first.

How do I convert PNG to AVIF?

Add your PNGs above, choose AVIF and download the result. It works in your browser on Windows, Mac, iPhone and Android, with nothing to install.

What is a PNG file?

A PNG is an image file in the Portable Network Graphics format. It keeps every pixel exactly and supports transparency, so screenshots, logos and cut-outs are usually saved as PNG. Most computers and phones save screenshots as PNG.

Is it free?

Yes. Web Free converts 3 images per session, up to 5 MB each, without an account. Web Pro takes bigger files, and Web Ultra converts as many as you like.

Are my images private?

Yes. We store your images encrypted, download links expire after 8 hours, and we delete your images from our servers within 48 hours.

What happens to the metadata?

We remove all metadata, such as camera details, GPS location and editing history, to keep files small. Want to keep metadata? Use the developer API: it can keep the copyright, creation date and location.