Saves each animated APNG as one animated AVIF with the same frame timing and repeat count, instead of single pictures. Still APNG files convert as usual. Animations of more than 600 frames lose some frames evenly, so they last just as long. Programs that cannot play an animated AVIF show its first picture.

Used when the animation is not kept. Still APNG files always give one AVIF. For an animated APNG, the first frame is saved unless you tick the box — then every frame becomes its own AVIF file. Enter a number to save only that many frames: "Spread evenly" takes frames from the whole animation (first and last included), "The first ones" takes the frames from the start. Leave the number empty for all frames.

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, including soft, semi-transparent edges, so no background colour is needed.

APNG to AVIF Converter

Select APNG files — or a whole folder — and convert them to AVIF right in your browser. Animated APNG files can stay animated, or give their first frame or all their frames. Transparency is kept. Nothing is uploaded.

Or drag & drop APNG files or folders anywhere on this page. Only APNG and PNG files (.apng, .png) are accepted.

Ready
0 files

🚀 How the APNG to AVIF Converter Works — Complete Guide

Everything you need to know about converting APNG images to AVIF with Sakarto: what the two formats are, how transparency and animated APNG files (kept as an animation, first frame, all frames, or a number of frames) are handled, which quality and speed to choose, 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 APNG files are only read, never changed — the converter creates new AVIF files.

🔍 What This Tool Does

Sakarto converts APNG 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, soft edges included, is kept. The page reads each APNG with its own built-in PNG decoder, and a WebAssembly encoder running in background Web Workers writes the AVIF, so several images are processed at the same time and the page stays responsive. Animated APNG files are handled too: tick Keep the animation to get one animated AVIF with the original timing and repeat count, or save just the first frame, every frame, or a number of frames of your choice. Only genuine PNG and APNG files are accepted — every file is checked by its internal signature, not just its extension.

Even Smaller Files

AVIF is one of the most efficient image formats available — an animation is often many times smaller than the APNG it came from.

Quality and Speed Control

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

Animated APNG, Your Way

Keep the animation as one animated AVIF, or save the first frame, all frames, or only a number of frames.

Queue or Instant Mode

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

📚 APNG vs AVIF — What Are These Formats?

APNG is PNG with animation — lossless, with full colour and soft transparency — and AVIF is a modern format that stores pictures, and animations, in far smaller files. Knowing the difference tells you what converting will — and will not — do for you.

🎬 What is APNG?

APNG (Animated Portable Network Graphics) extends PNG with a few extra chunks that describe animation frames. It was designed at Mozilla and is supported by every current browser. An APNG stays a valid PNG: software that does not know APNG simply shows its first picture as an ordinary PNG image.

  • Same lossless compression, colour depth and full alpha transparency as PNG
  • Holds many frames, each with its own display time, and a repeat count
  • Every frame can cover only part of the picture and replace or blend with what is below
  • Shown by Chrome, Edge, Firefox, Safari and Opera — and by many image viewers and apps
  • Lossless deflate compression, so photo-like animations make very large files
  • Usually saved as .png or .apng — the file is the same inside
🚀 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 APNG, plus transparency, wide colour and optional animation.

  • Typically far smaller than JPG or APNG 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 APNG
  • Supported by current browsers, but fewer older apps, editors and printers can open it
Converting an APNG to AVIF is lossy, so keep your APNG files. An APNG is lossless, and AVIF here is lossy, so it adds its own small loss. Keep the quality high enough (60–70 or more, higher for flat graphics) and the result is usually far smaller than the APNG, especially for photo-like animations — but keep your APNG files as masters. A kept animation is not always smaller than the APNG — see the limits below.

⚖️ Side-by-Side Comparison

⚖️ Side-by-Side Comparison
FeatureAPNGAVIF
CompressionLossless (deflate)Lossy here, with an adjustable quality
ColoursUp to 16 bits per channel (mostly 8-bit), or a paletteMillions (8, 10 or 12 bits per channel; Sakarto writes 8-bit)
TransparencyYes — full alpha channel with soft edgesYes, full alpha channel with soft edges
AnimationYes — many frames with timing and a repeat count, in one fileYes — Sakarto can keep the animation as an animated AVIF
Best forShort animations and graphics with exact pixels and soft transparencyDelivering photos and animations on the web with the smallest files
File sizeLarge, especially for photo-like animationsMuch smaller, especially for photo-like animations
Sharp edges and textCrispLossy compression can soften very sharp pixel art and text
Encoding speedFastSlow — seconds per large image
Browser supportAll current browsersCurrent Chrome, Edge, Firefox and Safari
App and printer supportSome programs show only the first frameGrowing, but fewer tools can open it
File extensions.apng or .png.avif

🎯 When Should You Convert APNG to AVIF?

✅ Good reasons to convert
  • You want the smallest possible animation or picture for a website or app
  • The APNG is large — photo-like animations often shrink to a fraction of their size
  • You want a much smaller file but need to keep soft transparent edges and shadows
  • You need an animated APNG as an animated AVIF — or single frames of it as small pictures
  • Your audience uses current browsers — all of them show AVIF
⚠️ Think twice if…
  • You need the animation in a format every program can play — an APNG plays in every current browser, and AVIF animations don't play everywhere
  • The destination only accepts APNG, such as many messengers, forms and marketplaces
  • The APNG is a small pixel-art or flat-colour graphic — AVIF can soften its sharp edges, and the file may not get smaller
  • You need every pixel exactly — AVIF here is lossy, so use the APNG to PNG converter or keep the APNG
  • The original is the only copy — keep the APNG as your master
Convert copies, never masters. Sakarto never modifies your APNG files — it creates new AVIF files. Keep the original files as your master copies.

🧠 How the Conversion Works

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

  1. Validate the file

    The first bytes of each file are checked against the PNG signature, and the file is read chunk by chunk to get the dimensions, the colour type and the list of frames with their position, size, blending and clearing — without decoding any pixels. Files that aren't real PNG or APNG files are skipped, and you are told what they really are (a GIF or JPG with a .png name, for example).

  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. Decode the pictures

    The page decodes the PNG data itself. The compressed data of every frame is unpacked, the row filters are undone, interlaced pictures are put back in the right order, and every colour type is turned into 8-bit RGBA (palette, grayscale and 16-bit pictures included, with their transparency). Each frame is then placed on a full canvas the way the animation shows it — at its position, replacing or blended with what is below, and cleared or restored afterwards when the file says so. So every saved frame is the complete picture, not just the part that changed.

  4. Choose the frames

    A still APNG gives one AVIF. For an animation with <strong>Keep the animation</strong> ticked, all frames are used and put together into one animated AVIF (an animation of more than 600 frames loses frames evenly and lasts just as long). Otherwise the first frame is saved unless you ask for all frames, optionally a number of them, picked evenly from the whole animation (first and last included) or taken from the start. The "default image" that some APNG files carry for programs without APNG support is not part of the animation and is not used.

  5. Encode as AVIF in parallel

    Each picture is handed to the AV1 AOM encoder with the quality and speed you selected. The transparency channel is carried over unchanged. 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. For a kept animation, the AVIF pictures are then joined into one animated AVIF in your browser: the frame times and the repeat count of the APNG are written into the file, and the first picture stays in it as the normal image for programs that cannot play animations.

  6. 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). When an animation was saved as separate frames, they can be downloaded together as a ZIP from its card.

Why not simply rename the file? An APNG renamed to .avif is still an APNG inside, and browsers and apps will refuse it. The converter really decodes the picture and writes a new AVIF file.

🔍 What Changes — and What Doesn't

AVIF quality numbers are not the same as JPG numbers — AVIF looks good at much lower values. Flat colours and sharp edges show compression more than photos do, so go a little higher for graphics and pixel art. These ranges are a reliable starting point:

🔍 What Changes — and What Doesn't
AspectIn the AVIFDetails
Quality 90–100Pixel art, logos and graphics with sharp edgesVery close to the original colours and edges, but the files can be larger than the APNG
Quality 70–89Cartoons, screenshots, flat-colour animationsLooks near-identical for almost all pictures; a good choice for graphics
Quality 45–69Photo-like animations and pictures (60 is the default)The sweet spot — usually far smaller than the APNG with little visible difference
Quality 25–44Thumbnails, previews, social mediaNoticeably smaller; edges and flat colours start to soften
TransparencyKeptTransparent areas and soft, semi-transparent edges stay as they are — no background colour is needed
AnimationAnimated AVIF, or one AVIF per frameWith Keep the animation ticked, one animated AVIF with the frame times and repeat count of the APNG (a frame time of 10 ms or less is played as 100 ms, like browsers do). Otherwise still pictures: first frame only by default, or all frames / a number of frames
Frame contentThe complete pictureAPNG frames often only change a part of the picture. They are laid on the full canvas first, so every AVIF frame is a full image
ColoursThe APNG's colours, slightly changed by AVIFPalette and 16-bit pictures become 8-bit RGB first; lossy AVIF then changes the colours very slightly, most visibly in flat colour areas and around sharp edges. Colour profiles are neither applied nor copied
Metadata (text, colour profile)Not copiedThe AVIF carries no text chunks, colour profile or other extra data of the APNG

🎞️ Animated APNG — Keep the Animation, First Frame, All Frames, or a Number of Frames

An animated APNG holds many frames. The settings above the file list decide what you get: one animated AVIF that plays like the original, or still AVIF pictures. Still APNG files always give exactly one AVIF.

▶️ "Keep the animation" ticked
  • Every animated APNG becomes one animated AVIF, named like the original
  • The time each frame is shown and the repeat count are taken from the APNG (a frame time of 10 ms or less is played as 100 ms, like browsers do)
  • Frames that only change part of the picture are laid on the full canvas first, so every frame is complete
  • Transparency is kept in every frame
  • More than 600 frames: frames are left out evenly and the animation lasts just as long
  • The settings for saving separate frames are hidden while this box is ticked
1️⃣ Box not ticked (default)
  • Only the first frame of every animation is saved
  • One AVIF per APNG, named like the original
  • Fast, and the result looks like the preview of the animation
  • Best for thumbnails and previews
🎞️ "Save all frames" ticked
  • Every frame becomes its own AVIF, numbered in order — name_frame_001.avif, name_frame_002.avif and so on
  • Enter a number to save only that many frames
  • Spread evenly: frames from the whole animation, first and last included — 5 frames of a 60-frame animation are frames 1, 16, 31, 45 and 60
  • The first ones: the frames from the start of the animation
  • The frames of one animation are shown on its card and can be downloaded together as a ZIP
An animated AVIF made here stores every frame as its own complete picture. That plays in current browsers and is usually far smaller than a photo-like APNG, but a very simple animation that changes little from frame to frame — which an APNG stores very compactly, as small changes — can come out larger. If you need the animation in a format that plays almost everywhere, keep the APNG, or use the APNG to GIF converter from the sidebar.

🔁 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 APNG 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 APNG 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 files: drop them in, download the ZIP
  • You can press Convert again at any time to 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 APNG to AVIF

Step 1

Choose Your Settings

Set the AVIF quality and the encoding speed above the file list. Then decide what should happen to animated APNG files: tick Keep the animation to get one animated AVIF, leave the boxes unticked to save only the first frame, or tick Save all frames to get every frame as its own AVIF — optionally with a number of frames, spread evenly over the animation or taken from the start. Still APNG files are not affected.

Not sure? Leave the quality at 60 and the speed on Balanced, and keep Keep the animation ticked so animations stay animated. For big batches, a faster speed finishes sooner. Decide whether you want Queue Mode on or off.
Step 2

Add APNG Files

Click 🖼️ Select APNG 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 or APNG is skipped, and you are told how many were skipped and what they really are.

Step 3

Review the Files

Every APNG appears as a card with its dimensions and size; animated files carry a tag with their number of frames.

  • 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 — for animations also which frame is being saved — 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 APNG files in the APNG 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. A kept animation plays in the card, the preview and the comparison; for separate frames, the card shows the first saved frame and the preview shows all of them.

⚖️ 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
You can press Convert again at any time — your files stay loaded, so you don't need to add them again. Changed the quality, speed or animation settings? Press Convert and the new results replace the old ones.
Step 7

Download Your AVIF Files

Finished files appear in the Converted AVIF tab with their new size and how much the size changed. An animation shows a frames tag on its card. Then pick how to get them:

📦 Download ZIP All AVIF files in one archive, folder structure kept
⬇️ Download All One download per AVIF file
📁 Save to Folder Write straight to a folder (Chrome / Edge)
📥 Download List A text file showing which APNG became which AVIF file(s)
⬇️ Card button Download a single AVIF — or, for an animation saved as separate frames, all its frames as a ZIP
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 APNG files to the current session
☑️ Select AllSelect every APNG 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
Keep the animationOn: an animated APNG becomes one animated AVIF with the same timing. Off: still pictures, as set below.
Save all framesOff: only the first frame of an animated APNG. On: every frame becomes its own AVIF. Hidden while Keep the animation is on.
Number of framesWith "Save all frames" on: save only this many frames. Empty = all frames.
PickSpread evenly over the animation (first and last included) or take the first ones
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 (and all frames of an animation)
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 APNG and the AVIF file(s) 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 pictures on your site is one of the biggest page-speed wins.

Start Around 60 — Higher for Graphics

60 is a good starting point for photo-like APNGs. Go to 80 or above for pixel art, logos and flat-colour graphics, where compression shows more, and lower for thumbnails.

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.

Expect Small Colour Changes

Lossy AVIF changes colours very slightly — most visibly in flat colour areas and around sharp edges. Use a higher quality for graphics, or keep the APNG (or convert to PNG) when every pixel must stay exact.

Transparency Is Kept

Cut-outs, logos, shadows and icons stay transparent, soft edges included — no background colour needed, unlike JPG.

Start With One Frame

Animations can have hundreds of frames, and AVIF encoding is slow — an animated AVIF means encoding every frame. To try the settings, leave "Save all frames" off to get just the first frame, or set a number such as 5 to get a handful spread over the whole animation.

Check Your Animation First

A kept animation can be bigger than the APNG when it is very simple. Convert one file, compare the sizes, and lower the quality (or choose a slower speed) if you need it smaller. Open the preview to watch it play.

Use a Number for a Preview Sheet

With a number of frames and "Spread evenly", you get a few pictures from the beginning, middle and end of an animation — good for checking what it contains.

Don't Convert Back and Forth

Every lossy save loses a little detail. Convert from the original APNG once instead of converting an AVIF again and again.

Use Queue Mode for Mixed Folders

Scanning a folder with many files? Turn on Queue Mode and convert only the ones you need.

ZIP Beats Many Downloads

Browsers may block or prompt for many simultaneous downloads — and animations saved as frames can give many files. Download ZIP gives you everything in one go.

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

Your files stay loaded. Change the quality, speed or animation settings, press Convert again, and the new results replace the old ones.

Compare Before You Download

Use Compare to look at the APNG 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.

An animated AVIF can be bigger than the APNG.

With Keep the animation, every frame is stored as its own complete picture, not as the small differences between frames that an APNG or a video codec would use. For photo-like animations the AVIF is far smaller, but for very simple animations that change little it can be larger than the APNG. Programs that cannot play an animated AVIF show its first picture.

Frame limits.

A kept animation has at most 600 frames — longer ones lose frames evenly and last just as long. When saving separate frames, no more than 2000 frames are saved from one animation; a number of frames with "Spread evenly" is the practical way to cover a long animation.

No quality gain.

An AVIF can't be better than the APNG it comes from: 16-bit pictures are reduced to 8 bits, and the lossy AVIF adds its own small loss on top.

Large batches and big images use a lot of memory.

Each encoder keeps its own memory, and every picture is also decoded into raw pixels first. Sakarto limits the number of parallel encoders (one on phones and tablets), but very large images — or long animations of large images — can still exhaust a device's memory. All saved pictures of a file stay in memory until you download them.

Very large images may fail.

Images over 64 megapixels or 16,383 pixels per side, and files over 100 MB, 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.

Very short frame times are slowed down.

An APNG frame time of 10 ms or less is saved as 100 ms, because browsers play it that way.

Extra APNG data isn't carried over.

Text chunks, colour profiles and other extra data from the APNG are not copied to the AVIF; the repeat count and frame times are used for the animation. The AVIF files are written with 8 bits per channel.

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. Decoding, 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 APNG files.
Extra data stays behind. APNG files can contain text, a colour profile and other chunks. The AVIF files created here have none of it — keep the APNG if you need that information.
No accounts needed. The only things stored in your browser are your preferences (quality, speed, animation and frame settings 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 APNG 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 APNG?
Yes. Transparent pixels of the APNG stay transparent in the AVIF, also in a kept animation, and soft, semi-transparent edges and shadows stay soft. The checkerboard behind a preview shows where a picture is transparent.
What happens to an animated APNG?
You choose. With Keep the animation ticked (the default) it becomes one animated AVIF. With the box unticked only its first frame is saved, as one AVIF named like the original. Tick Save all frames to get every frame as its own AVIF instead, or enter a number to get only that many frames.
How do I get all frames of an animated APNG as AVIF?
Tick Save all frames of animated APNG files above the file list, leave Number of frames empty, and press Convert. Every frame becomes an AVIF named like name_frame_001.avif, name_frame_002.avif and so on. All frames of one file can be downloaded together as a ZIP from its card, or all files at once with Download ZIP. Note that AVIF encoding is slow, so very long animations take a while.
Can I save only some frames, for example 5 of 60?
Yes. With Save all frames ticked, enter the number in Number of frames. With Spread evenly the frames are taken from the whole animation, first and last frame included — 5 frames of a 60-frame animation are frames 1, 16, 31, 45 and 60. With The first ones you get the frames from the start: 1 to 5.
Are the saved frames the complete picture?
Yes. Most animated APNG files only store the part of the picture that changed in each frame. Sakarto lays every frame on the full canvas the way the animation shows it — with the position, transparent colour and clearing or restoring the file asks for — so each AVIF frame is a complete image that looks like that moment of the animation.
How are the frames named?
With the name of the APNG, the word "frame" and the number of the frame in the animation, for example logo_frame_001.avif. The numbers are those of the original animation, so with "Spread evenly" you may see logo_frame_001, logo_frame_016 and logo_frame_031.
Does it make an animated AVIF?
Yes. Leave Keep the animation ticked above the file list. Each animated APNG then becomes one animated AVIF with the same frame times and repeat count. Browsers that support AVIF play it, and programs that cannot play animations show the first picture. The file stores each frame as a complete picture, so a very simple animation can be larger than the APNG.
How long is the animation, and does it loop?
The time every frame is shown and the number of repeats (or endless looping) are read from the APNG and written into the AVIF. Frames shown for 10 ms or less are treated as 100 ms, the same way browsers play them. An APNG that repeats a number of times plays that many times, and one that loops for ever loops for ever. An animation of more than 600 frames loses frames evenly, and the remaining ones are shown longer so the total length stays the same.
What is AVIF?
AVIF is a modern image format based on the AV1 video codec. It produces much smaller files than JPG, APNG or PNG for photographs, supports transparency and HDR, and is supported by current browsers.
What is APNG?
APNG (Animated PNG) is PNG with animation: a few extra chunks describe the frames, their timing and the number of repeats. It is lossless, has a full alpha channel, and every current browser plays it. Programs that don't know APNG show the first picture as an ordinary PNG. Its files are large compared with modern formats.
Which quality setting should I use?
60 is the default and a good starting point for photo-like APNGs. Go to 80 or above for pixel art, logos and flat-colour graphics, where compression shows more, and below 45 only for thumbnails. 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 APNG, 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 APNG?
An APNG of flat colours or a very simple animation is stored very compactly. The animated AVIF made here stores every frame as its own complete picture, so such an animation — or a high quality setting on a small graphic — can end up larger than the APNG. Try a lower quality or a slower speed, or keep the APNG. The Converted AVIF tab shows the size change for every file so you can spot this.
Does converting an APNG to AVIF lose quality?
Yes, slightly. APNG is lossless and AVIF here is lossy. At a sensible quality (60–70 or more, higher for graphics) the difference is usually hard to see, but detail that AVIF discards can't come back. If you need every pixel exact, use the APNG to PNG converter.
Can I get my original APNG back from the AVIF?
No. AVIF here is lossy, so some detail is gone for good, and an animation that is not kept is split into separate pictures. Always keep your original APNG files — Sakarto never modifies them.
Can I change the settings and convert again without adding the files again?
Yes. Your APNG files stay loaded. Change the quality, speed or animation settings, 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.
Are the text chunks and the colour profile kept?
No. The AVIF is made from the decoded pixels, so text chunks, colour profiles and other extra data of the APNG aren't copied.
Why do the colours look slightly different?
Lossy AVIF changes colours very slightly — most visibly in flat colour areas and around sharp edges. A higher quality setting reduces this. Colour profiles are neither applied nor copied, and 16-bit pictures are reduced to 8 bits first.
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 APNG is converted as soon as it is loaded, and the Convert button converts the selection immediately.
Why can't I add GIF, JPG or other image types?
This converter is built specifically for APNG 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.
Which file extensions are accepted?
.apng and .png — as long as the file really is a PNG inside. A plain, non-animated PNG is accepted too and gives one AVIF.
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, and the APNG is decoded by the page itself, so it doesn't depend on the browser's APNG support. 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, messengers, email clients and upload forms don't accept .avif files. If you need the widest compatibility, keep the APNG, or use the APNG to JPG converter for pictures and the APNG to GIF converter for animations.
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. A kept animation plays in the comparison; for separate frames, the first saved frame is compared and the preview shows all frames.
How do I know which APNG became which AVIF?
Click Download List in the Converted AVIF tab to save a text file with each original path, the new file name(s), dimensions, sizes, quality, speed and the number of frames. Show as List displays the same "from → to" list right on the page.
Why was my .png file rejected?
Because it isn't a PNG inside, or the PNG data is damaged beyond reading. A file name can say .png while the content is something else — most often a GIF, a JPG or a WebP that was saved or renamed with the wrong extension. Sakarto reads the file's own header, skips such files and tells you which format they really are, so you can use the matching converter instead.
Why does the saved frame look different from the picture I see in a plain image viewer?
Some APNG files contain a "default image" that only programs without APNG support show; the animation itself starts with its own first frame, and Sakarto uses that. Also, many frames only store the part that changed — Sakarto lays every frame on the full canvas the way the animation shows it at that moment.
Can it read 16-bit, palette and interlaced PNG files?
Yes. All PNG colour types are supported — grayscale, RGB, palette (with transparency), and grayscale or RGB with an alpha channel — in 1 to 16 bits per channel, interlaced or not. Pictures with 16 bits per channel are reduced to 8 bits.