60%

Higher means better looking but larger files. 50–70 is a great default for photos. Slower speeds take more time but produce smaller files at the same quality. Transparency is kept, so no background colour is needed.

PNG to AVIF Converter

Select PNG files — or a whole folder — and convert them to AVIF right in your browser. Nothing is uploaded.

Or drag & drop PNG files or folders anywhere on this page. Only PNG files are accepted.

Ready
0 files

🚀 How the PNG to AVIF Converter Works — Complete Guide

Everything you need to know about converting PNG images to AVIF with Sakarto: what the two formats are, when converting makes sense, how quality and encoding speed affect the result, and how to use Queue Mode. Scroll down for step-by-step instructions, tips, and answers to common questions.

100% Private — Your Images Never Leave Your Computer Everything runs inside your browser. No uploads, no accounts. Your original PNG files are only read, never changed — the converter creates new AVIF files.

🔍 What This Tool Does

Sakarto converts PNG images into AVIF inside your browser. Add a few files or a whole folder, pick a quality, and get back AVIF copies you can download one by one, as a single ZIP, or save straight to a folder. Transparency is kept. Encoding is done by a WebAssembly encoder that runs in background Web Workers, so several images are processed at the same time and the page stays responsive. Only genuine PNG files are accepted — every file is checked by its internal signature, not just its extension.

Tiny Files

AVIF is one of the most efficient image formats available. Photos are often a small fraction of the size of the PNG they came from.

Quality and Speed Control

Pick a 1–100 quality and an encoding speed — slower speeds squeeze out even smaller files.

Transparency Kept

Unlike JPG, AVIF supports an alpha channel, so transparent PNGs stay transparent — no background colour needed.

Queue or Instant Mode

Hand-pick which PNG files to convert with Queue Mode, or switch it off and convert everything the moment it is loaded.

📚 PNG vs AVIF — What Are These Formats?

Both formats can store transparent images, but they were designed for different jobs. Understanding the difference helps you decide whether a conversion is worth it.

🧩 What is PNG?

PNG (Portable Network Graphics) was created in the mid‑1990s as a free, patent‑unencumbered image format. It compresses pictures losslessly, so every pixel comes back exactly as it was saved.

  • Lossless compression — no quality loss, no matter how often you re-save
  • Supports full alpha transparency (soft edges, shadows, cut-outs)
  • Up to 16 bits per colour channel for high-precision colour
  • Perfect for screenshots, logos, icons, diagrams and text
  • Files can get very large when the image is a photograph
🚀 What is AVIF?

AVIF (AV1 Image File Format) is a modern image format released in 2019 by the Alliance for Open Media. It is built on the AV1 video codec and was designed for the web: much better compression than JPG and WebP, plus transparency, wide colour and optional animation.

  • Typically far smaller than JPG or WebP at the same visual quality
  • Full alpha transparency, even with strong compression
  • Supports high bit depth, HDR and wide colour spaces (Sakarto writes 8-bit images)
  • Lossy compression with a quality setting; excellent for photographs and gradients
  • Encoding is slow and memory-hungry compared with JPG and WebP
  • Supported by current browsers, but fewer older apps, editors and printers can open it
AVIF is for delivering images, PNG is for working with them. AVIF shines when images are shown to people in a browser. For editing, printing and archiving, many programs still expect PNG or JPG, so keep your PNG files as masters and publish the AVIF copies.

⚖️ Side-by-Side Comparison

⚖️ Side-by-Side Comparison
FeaturePNGAVIF
CompressionLossless onlyLossy, with an adjustable quality
TransparencyYes, full alpha channelYes, full alpha channel
Best forScreenshots, logos, text, editing mastersDelivering photos and graphics on the web
File size for photosVery largeVery small — often smaller than JPG or WebP
File size for flat graphicsSmallOften smaller, but lossy compression can blur sharp text
Colour depthUp to 16 bits per channel8, 10 or 12 bits (Sakarto writes 8-bit)
Encoding speedFastSlow — seconds per large image
AnimationOnly through the APNG extensionYes (Sakarto converts still images only)
Browser supportUniversalCurrent Chrome, Edge, Firefox and Safari
App and printer supportUniversalGrowing, but many older tools can't open it
File extensions.png.avif

🎯 When Should You Convert PNG to AVIF?

✅ Good reasons to convert
  • Websites and web apps — the smallest images mean the fastest pages
  • Large PNG photos that are far too heavy for the web
  • Transparent product shots, logos and cut-outs that must stay transparent (JPG can't do that)
  • Reducing storage or bandwidth for big image libraries
  • Images with smooth gradients, where AVIF avoids the blocky banding of JPG
⚠️ Think twice if…
  • You need to open the images in older editors, print shops or apps that don't support AVIF
  • You need pixel-exact, lossless copies — AVIF here is lossy, so use PNG (or WebP lossless)
  • You plan to edit the image repeatedly — keep the PNG as your master
  • The destination may reject .avif files (some email clients, forms and marketplaces)
  • You have hundreds of huge images and little time — AVIF encoding is the slowest of the common formats
Convert copies, never masters. Sakarto never modifies your PNG files — it creates new AVIF files. Keep the originals as your master copies and use the AVIF files for publishing.

🧠 How the Conversion Works

Here is what happens to every file, step by step — all of it on your own device:

  1. Validate the PNG

    The first bytes of each file are checked against the PNG signature, and the header is read to get the dimensions and detect transparency — without decoding the whole image. Files that aren't real PNGs are skipped.

  2. Load the encoder

    The first time you add files, the AVIF encoder (about 7 MB of WebAssembly) is downloaded and prepared in the background. Your browser keeps it afterwards, so the next visit starts faster. It runs on your device — your images are never sent to it.

  3. Read the PNG

    The PNG bytes are handed straight to the encoder, which decodes them itself. The transparency channel is carried over unchanged, so soft edges and shadows stay intact.

  4. Encode as AVIF in parallel

    The image is compressed with the AV1 AOM encoder at the quality and speed you selected. The work happens inside Web Workers, so the page stays responsive, and on computers with several cores a few files are encoded at the same time. Phones and tablets process one file at a time to save memory.

  5. Deliver the result

    Each AVIF file is held in memory. You can download them individually, bundle them into a ZIP that is built locally in your browser, or write them straight into a folder (Chrome and Edge).

Why do the quality and speed settings matter? AVIF trades detail for size. Lower quality means smaller files but visible softening; higher quality keeps more detail but saves less space. Encoding speed does not change how the image looks much — slower speeds simply search harder for a smaller file.

🎚️ Choosing an AVIF Quality

AVIF quality numbers are not the same as JPG numbers — AVIF looks good at much lower values. These ranges are a reliable starting point.

🎚️ Choosing an AVIF Quality
QualityBest forWhat to expect
90–100Graphics where you need near-perfect detailVery close to the original, but the files can be larger than expected
70–89High-quality photos, product shotsLooks near-identical for almost all photos at a small size
45–69Photos for websites and apps (60 is the default)The sweet spot — much smaller than JPG with little visible difference
25–44Thumbnails, previews, social mediaNoticeably smaller; slight softening on close inspection
Below 25Rarely recommendedVisible blur and smearing

🔁 Queue Mode vs. Instant Mode

The Queue Mode checkbox in the toolbar decides what happens when you click Convert, and whether files are converted as soon as they are loaded.

📋 Queue Mode ON (default)
  • Loaded PNG files are only listed — nothing is converted yet
  • Select the files you want and click Convert to stage them
  • Review the Convert Queue tab and remove anything you don't want
  • Click Convert All Files to process the whole queue at once
  • Best when a folder contains files you only want to convert selectively
⚡ Queue Mode OFF
  • Every PNG is converted automatically the moment it is loaded
  • Clicking Convert on selected files converts them immediately
  • Results appear straight away in the Converted AVIF tab
  • Best for a few small images: drop them in, download the ZIP
  • You can still change the quality or speed and re-convert files
Your Queue Mode choice is remembered on this device, so the page works the way you like the next time you visit.

📋 Step‑by‑Step: How to Convert PNG to AVIF

Step 1

Choose Your Settings

Set the AVIF quality and the encoding speed. Decide whether you want Queue Mode on or off.

Not sure? Leave the quality at 60 and the speed on Balanced. For big batches, a faster speed finishes sooner.
Step 2

Add PNG Files

Click 🖼️ Select PNG Files to choose images, or 📁 Select Folder to scan a whole folder including subfolders. You can also drag and drop files or folders onto the page. Anything that isn't a real PNG is skipped, and you are told how many were skipped.

Step 3

Review the Files

Every PNG appears as a card with its dimensions and size. Cards with an ALPHA badge contain a transparency channel. A checkerboard pattern behind a preview shows where an image is transparent.

  • Click a card to select it (blue border)
  • Click & drag on empty space to box-select several cards
  • Click the 🔍 icon to preview full size
  • Right-click a card for the context menu
  • Ctrl+A selects everything, Escape clears the selection
  • Ctrl+Click (Cmd+Click on Mac) to add a card to the compare list (purple border)
Step 4

Convert

Select the files you want and click 🔁 Convert. With Queue Mode on, the files are staged in the Convert Queue. With Queue Mode off, they are converted immediately.

Step 5

Review the Queue (Queue Mode)

Open the Convert Queue tab in the sidebar. Remove any file with the ✕ button, then click Convert All Files. A progress bar shows how far along the conversion is, and you can stop it at any time.

Step 6

Compare Before and After

Ctrl+Click (Cmd+Click on Mac) two or more cards — original PNGs in the PNG Files tab, converted files in the Converted tab, or a mix of both — then click ⚖️ Compare in the toolbar. A modal shows each file with its dimensions, size and details, plus how much the size changed. You can also open a converted file's preview and click Compare with Original.

⚖️ Compare View the selected files side by side
Ctrl + Click Add or remove a card from the compare list
Compare with Original Open the original and its converted file together
Not happy with the result? Change the settings and press Convert again — your files stay loaded, so you don't need to add them again.
Step 7

Download Your AVIF Files

Finished files appear in the Converted AVIF tab with their new size and how much smaller (or larger) they are. Then pick how to get them:

📦 Download ZIP All AVIF files in one archive, folder structure kept
⬇️ Download All One download per file
📁 Save to Folder Write straight to a folder (Chrome / Edge)
📥 Download List A text file showing which PNG became which AVIF
⬇️ Card button Download a single AVIF file
Converted files exist only in your browser's memory until you download them. Download before closing or reloading the tab.

🏛️ Quick Reference — Buttons & Controls

🏛️ Quick Reference — Buttons & Controls
Button / ActionWhat it does
🔄 New SessionReload the page and start from scratch
➕ Add FilesAdd more PNG files to the current session
☑️ Select AllSelect every PNG file in the list
✕ Deselect AllClear the current selection
🔁 Convert (N)Queue the selected files, or convert them now if Queue Mode is off
⚖️ Compare (N)Open the compare modal for Ctrl+clicked cards. Needs 2 or more.
Queue Mode checkboxOn: stage files first. Off: convert immediately.
Quality sliderAVIF quality from 1 (smallest) to 100 (best)
Encoding speedSlower speeds give smaller files but take longer
Click cardSelect / deselect the file
Ctrl + Click cardAdd / remove the card from the compare list (purple border)
Click & drag (empty area)Box-select several cards at once
Right-click cardContext menu: Copy Name / Preview / Compare / Convert
🔍 hover iconOpen a full-size preview with details
Convert All FilesConvert everything in the Convert Queue
📦 Download ZIPBundle all converted AVIF files into one ZIP file
📥 Download ListSave a text file listing each PNG and the AVIF it became, with sizes
Show as ListShow the same "from → to" list on the page
Ctrl+A / EscapeSelect all files / clear the selection

⭐ What Users Say

Based on 4 reviews (demo)

"This is a demo review. The real reviews will be shown here."

"This is a demo review with a longer text, so you can check how a card looks with more content. The real reviews will be shown here."

"Demo review — real reviews will be here."

"This is a demo review. Once you have real users, their words and names replace this card."

💡 Tips for Best Results

Great for the Web

AVIF images are usually the smallest you can serve. Converting the photos on your site is one of the biggest page-speed wins.

Photos: 50–70 Is Plenty

A PNG photo converted to AVIF at quality 50–70 is usually a small fraction of the original size with little visible difference.

Be Patient With Big Images

AVIF encoding is slow, especially at the slowest speed. For large batches, choose a faster speed and compare the result.

Transparency Is Kept

Cut-outs, logos and icons stay transparent — something JPG cannot do.

Use Queue Mode for Mixed Folders

Scanning a folder with logos and photos? Turn on Queue Mode and convert only the photos.

ZIP Beats Many Downloads

Browsers may block or prompt for many simultaneous downloads. Download ZIP gives you everything in one go.

Keep the Download List

Use Download List to save a text file showing which PNG became which AVIF, with the size of each.

Test on a Few Files

Convert two or three files first, compare the preview and size, and adjust the quality before running a large batch.

Change Settings and Convert Again

Not happy with the result? Change the quality or speed and press Convert again — your files stay loaded, no need to add them again.

Compare Before You Download

Use Compare to look at the original and the AVIF side by side, with the exact size difference, before you download a whole batch.

⚠️ Known Limitations

Results live in memory only.

Converted AVIF files are not saved anywhere until you download them. Reloading or closing the tab discards them.

AVIF encoding is slow.

A large photo can take several seconds, and a big batch can take minutes. Choose a faster speed to finish sooner; the Stop button cancels the remaining files.

Large batches and big images use a lot of memory.

Each encoder keeps its own memory. Sakarto limits the number of parallel encoders (one on phones and tablets), but very large images can still exhaust a device's memory.

Very large images may fail.

Images over 64 megapixels or 16,383 pixels per side are not converted and are reported as failed.

The encoder is downloaded once.

The first conversion downloads about 7 MB of WebAssembly. Browsers cache it afterwards, but you need to be online the first time.

Animated PNGs convert to a single frame.

Sakarto creates still AVIF images. For APNG files, only the first frame is used.

16-bit PNGs become 8-bit.

The AVIF files are written with 8 bits per channel, so any extra colour precision in the PNG is reduced.

Metadata isn't carried over.

Text chunks and embedded colour profiles from the PNG are not copied to the AVIF file.

Older browsers can't show AVIF.

You can convert in any browser that supports WebAssembly, but previews need AVIF support: Chrome 85+, Edge 121+, Firefox 93+ and Safari 16.4+. In older browsers the files can still be downloaded.

Saving to a folder needs Chrome or Edge.

The File System Access API is only available in Chromium-based desktop browsers. Everywhere else, use Download ZIP or the per-file download buttons.

🔒 Privacy & Security

Nothing is uploaded. Open DevTools → Network and watch: converting files makes no outbound requests with your images. The only download is the encoder itself, the first time. Encoding and ZIP creation all happen on your device.
Your originals are never changed. Files are only read. The converter always creates new AVIF files and never overwrites or deletes your PNGs.
No accounts needed. The only things stored in your browser are your preferences (quality, speed and Queue Mode). File names and images are never saved.
Purely static — no backend. The page is HTML, CSS and JavaScript. There is no server, database or API that receives your images.

❓ Frequently Asked Questions

Are my PNG files uploaded anywhere?
No. All conversion happens locally in your browser. The AVIF encoder is a WebAssembly module that is downloaded once and then runs on your device, so your images never leave it. You can verify this in your browser's DevTools → Network tab.
Does AVIF keep the transparency of my PNG?
Yes. AVIF supports a full alpha channel, so transparent and semi-transparent areas — such as soft shadows — are kept. Cards with an ALPHA badge show which PNG files contain transparency, and the checkerboard behind a preview shows where it is.
What is AVIF?
AVIF is a modern image format based on the AV1 video codec. It produces much smaller files than JPG, WebP or PNG for photographs, supports transparency and HDR, and is supported by current browsers.
Which quality setting should I use?
For photographs, 50–70 gives results that look very close to the original at a fraction of the size, and 60 is the default. Go to 80 or above only when you need near-perfect detail. Try a few files first and compare the preview.
What does the encoding speed do?
The speed controls how hard the encoder searches for a smaller file. Slower speeds (2, 4) take longer but give smaller files at the same quality; faster speeds (8, 10) finish sooner with somewhat larger files. The default, 6, is a good balance.
Why is it slow?
AVIF compression is far more complex than JPG or WebP, so every image takes longer to encode. Sakarto runs the encoder in background Web Workers and processes several files in parallel on computers with multiple cores, but large images still take a few seconds each. A faster speed setting helps.
Why is my AVIF larger than the original PNG?
Some PNG files are already extremely well optimised — for example tiny icons or flat graphics — and a high-quality AVIF can end up larger. Try a lower quality, or keep the PNG. The Converted AVIF tab shows the size change for every file so you can spot this.
Can I get my original PNG back from the AVIF?
No. AVIF here is lossy, so some detail is gone for good. Always keep your original PNG files — Sakarto never modifies them.
What is the difference between Queue Mode and converting directly?
With Queue Mode on, loaded files are only listed. You select the ones you want, stage them in the Convert Queue, review, and convert them together. With Queue Mode off, every PNG is converted as soon as it is loaded, and the Convert button converts the selection immediately.
Why can't I add JPG, WebP or other image types?
This converter is built specifically for PNG to AVIF. Files are verified against the PNG file signature, so a different image that was only renamed to .png is skipped. Converters for other formats are available from the sidebar.
Does it keep EXIF data, text chunks or colour profiles?
No. The AVIF is produced from the decoded pixels, so metadata from the PNG isn't copied.
What happens to animated PNG (APNG) files?
Only the first frame is converted, because Sakarto creates still AVIF images.
Are there file size or image size limits?
Files over 100 MB are skipped, as are images over 64 megapixels or 16,383 pixels per side. AVIF encoding needs a lot of memory, so on phones and tablets very large images may fail. Failed files are reported after the conversion.
My browser blocks or asks about multiple downloads. What can I do?
Browsers often limit many automatic downloads. Use Download ZIP to get all files in a single download, or Save to Folder in Chrome or Edge to write them directly to a folder.
Does this work on iPhone, Android and Safari?
Yes. The encoder is WebAssembly, so it runs in any current browser, including Safari and browsers on iPhone, iPad and Android — unlike WebP encoding, which depends on the browser. Phones and tablets convert one file at a time and may be slow with large images. Folder selection and Save to Folder require a Chromium-based desktop browser such as Chrome or Edge.
Can everything open AVIF files?
All current browsers display AVIF, and many current image viewers and editors open it. Some older apps, printers, email clients and upload forms don't accept .avif files. If you need the widest compatibility, use the PNG to JPG converter instead.
Can I change the settings and convert again without adding the files again?
Yes. Your PNG files stay loaded. Change the quality or speed, then press Convert again. If nothing is selected, Convert re-converts the files you already converted; otherwise it converts the selection. The new results replace the old ones.
How do I compare the original and the AVIF file?
Ctrl+Click (Cmd+Click on Mac) the original card and its converted card, then click ⚖️ Compare in the toolbar. Or open a converted file's preview and click Compare with Original. The modal shows both images with their sizes and the size difference.
How do I know which PNG became which AVIF?
Click Download List in the Converted AVIF tab to save a text file with each original path, the new file name, dimensions, sizes, quality and speed. Show as List displays the same "from → to" list right on the page.