Saves each animated GIF as one animated AVIF with the same frame timing and repeat count, instead of single pictures. Still GIF 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 GIF files always give one AVIF. For an animated GIF, 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, so no background colour is needed.

GIF to AVIF Converter

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

Or drag & drop GIF files or folders anywhere on this page. Only GIF files (.gif) are accepted.

Ready
0 files

🚀 How the GIF to AVIF Converter Works — Complete Guide

Everything you need to know about converting GIF images to AVIF with Sakarto: what the two formats are, how transparency and animated GIF 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 GIF files are only read, never changed — the converter creates new AVIF files.

🔍 What This Tool Does

Sakarto converts GIF 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. The page reads each GIF with its own built-in 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 GIF 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 GIF 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 GIF it came from.

Quality and Speed Control

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

Animated GIF, 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 GIF files to convert with Queue Mode, or switch it off and convert everything the moment it is loaded.

📚 GIF vs AVIF — What Are These Formats?

GIF is the classic format for small animations and simple graphics, 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 GIF?

GIF (Graphics Interchange Format) was introduced by CompuServe in 1987 and is still everywhere on the web because it can hold a simple animation in one file that every browser, chat app and device plays.

  • Limited to 256 colours per picture (a palette)
  • Lossless within its palette — but photos lose colours when they are turned into a GIF
  • Transparency is on or off for each pixel — no soft, semi-transparent edges
  • Can hold an animation — many frames with their own timing and a repeat count — in one file
  • Compresses with LZW, so photos and gradients make very large files
  • Opens in practically every browser, app and messenger
🚀 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 GIF, plus transparency, wide colour and optional animation.

  • Typically far smaller than JPG or GIF 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 GIF
  • Supported by current browsers, but fewer older apps, editors and printers can open it
Converting a GIF to AVIF does not bring back lost colours. A GIF has at most 256 colours per frame, and the AVIF starts from exactly those colours — AVIF is lossy here, so it adds its own small loss on top. Keep the quality high enough (60–70 or more, higher for flat graphics) and the result is usually much smaller than the GIF, but keep your GIF files as masters. A kept animation is not always smaller than the GIF — see the limits below.

⚖️ Side-by-Side Comparison

⚖️ Side-by-Side Comparison
FeatureGIFAVIF
CompressionLossless (LZW), within a 256-colour paletteLossy here, with an adjustable quality
ColoursUp to 256 per pictureMillions (8, 10 or 12 bits per channel; Sakarto writes 8-bit)
TransparencyOn or off for each pixel — hard edgesYes, full alpha channel with soft edges
AnimationYes — many frames with timing, in one fileYes — Sakarto can keep the animation as an animated AVIF
Best forShort, simple animations everywhereDelivering photos and animations on the web with the smallest files
File sizeLarge, especially for photos and gradientsMuch 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 supportUniversalCurrent Chrome, Edge, Firefox and Safari
App and printer supportUniversalGrowing, but fewer tools can open it
File extensions.gif.avif

🎯 When Should You Convert GIF to AVIF?

✅ Good reasons to convert
  • You want the smallest possible animation or picture for a website or app
  • The GIF is large — photo-like animations often shrink to a fraction of their size
  • You want more than 256 colours or soft transparent edges for further editing
  • You need an animated GIF 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 — a GIF plays almost everywhere, and AVIF animations don't
  • The destination only accepts GIF, such as many messengers, forms and marketplaces
  • The GIF is a small pixel-art or flat-colour graphic — AVIF can soften its sharp edges, and the file may not get smaller
  • You hope to get more colours back — a GIF only has 256 per frame, and they can't be restored
  • The original is the only copy — keep the GIF as your master
Convert copies, never masters. Sakarto never modifies your GIF 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 GIF

    The first bytes of each file are checked against the GIF signature (GIF87a or GIF89a), and the file is read block by block to get the dimensions and to count the pictures in it — without decoding any pixels. Files that aren't real GIF files are skipped, and you are told what they really are (a PNG or WebP with a .gif 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 GIF itself. Every picture is unpacked from its LZW compression, interlaced pictures are put back in the right order, and each one is placed on a full canvas the way the animation shows it — at its position, with its transparent colour leaving what is below untouched, 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 GIF 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.

  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 GIF 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? A GIF renamed to .avif is still a GIF 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. A GIF has flat colours and sharp edges, which 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 GIF
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 GIF with little visible difference
Quality 25–44Thumbnails, previews, social mediaNoticeably smaller; edges and flat colours start to soften
TransparencyKeptTransparent pixels stay transparent — no background colour is needed. GIF transparency is on or off, so the edges stay hard
AnimationAnimated AVIF, or one AVIF per frameWith Keep the animation ticked, one animated AVIF with the frame times and repeat count of the GIF (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 pictureGIF 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 GIF's colours, slightly changed by AVIFGIF colours are plain 8-bit RGB values; lossy AVIF changes them very slightly, most visibly in flat colour areas and around sharp edges
Metadata (comments, application blocks)Not copiedThe AVIF carries no GIF comment or extension data

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

An animated GIF 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 GIF files always give exactly one AVIF.

▶️ "Keep the animation" ticked
  • Every animated GIF becomes one animated AVIF, named like the original
  • The time each frame is shown and the repeat count are taken from the GIF (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 GIF, 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
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 GIF, but a very simple animation that changes little from frame to frame — which a GIF stores very compactly — can come out larger. If you need the animation in the most widely supported format, keep the GIF, or use the GIF to APNG 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 GIF 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 GIF 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 GIF 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 GIF 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 GIF 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 GIF Files

Click 🖼️ Select GIF 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 GIF is skipped, and you are told how many were skipped.

Step 3

Review the Files

Every GIF 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 GIF files in the GIF 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 GIF 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 GIF files to the current session
☑️ Select AllSelect every GIF 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 GIF becomes one animated AVIF with the same timing. Off: still pictures, as set below.
Save all framesOff: only the first frame of an animated GIF. 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 GIF 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 GIFs. 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 the GIF's Colours

A GIF has at most 256 colours per frame, and the AVIF starts from exactly those. Converting can't smooth out dithering or bring back colours that were reduced when the GIF was made.

Transparency Is Kept

Cut-outs, logos and icons stay transparent — 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 GIF 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 GIF 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 GIF 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 GIF.

With Keep the animation, every frame is stored as its own complete picture, not as the small differences between frames that a GIF 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 GIF. 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 colour gain.

The 256-colour palette of every GIF frame is the starting point; the lossy AVIF adds its own small loss on top and can't bring back colours that were lost when the GIF was made.

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.

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

Extra GIF data isn't carried over.

Comments, text blocks and application data from the GIF 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 GIF files.
Extra data stays behind. GIF files can contain comments and application data. The AVIF files created here have none of it — keep the GIF 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 GIF 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 GIF?
Yes. Transparent pixels of the GIF stay transparent in the AVIF, also in a kept animation. GIF transparency is on or off for each pixel, so the AVIF has hard edges where the GIF had them. Cards with an animated tag show animations; the checkerboard behind a preview shows where a picture is transparent.
What happens to an animated GIF?
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 GIF as AVIF?
Tick Save all frames of animated GIF 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 GIF 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 GIF, 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 GIF 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 GIF.
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 GIF and written into the AVIF. Frames shown for 10 ms or less are treated as 100 ms, the same way browsers play them. A GIF that repeats a number of times plays that many times, one that loops forever loops forever, and a GIF without a repeat count plays once. 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, GIF or PNG for photographs, supports transparency and HDR, and is supported by current browsers.
What is GIF?
GIF is an image format from 1987 that stores pictures with up to 256 colours, simple transparency and animation in one file. Every browser and messenger can show it, which is why it is still used for short animations and small graphics — but 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 GIFs. 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 GIF, 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 GIF?
A GIF 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 GIF. Try a lower quality or a slower speed, or keep the GIF. The Converted AVIF tab shows the size change for every file so you can spot this.
Does converting a GIF to AVIF lose quality?
Slightly. The GIF already has at most 256 colours per frame, and AVIF here compresses the picture lossily. At a sensible quality (60–70 or more, higher for graphics) the difference is usually hard to see, but colours that the GIF already lost can't come back.
Can I get my original GIF 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 GIF files — Sakarto never modifies them.
Can I change the settings and convert again without adding the files again?
Yes. Your GIF 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.
Is the GIF comment or other extra data kept?
No. The AVIF is made from the decoded pixels, so comments, text blocks and application data of the GIF 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, which is typical for GIF graphics. A higher quality setting reduces this.
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 GIF is converted as soon as it is loaded, and the Convert button converts the selection immediately.
Why can't I add PNG, JPG or other image types?
This converter is built specifically for GIF to AVIF. Files are verified against the GIF file signature, so a different image that was only renamed to .gif is skipped. Converters for other formats are available from the sidebar.
Which file extensions are accepted?
.gif — as long as the file really is a GIF inside.
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 GIF is decoded by the page itself, so it doesn't depend on the browser's GIF 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 GIF, or use the GIF to JPG converter instead.
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 GIF 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 .gif file rejected?
Because it isn't a GIF inside. A file name can say .gif while the content is something else — most often a PNG, a WebP or a JPG 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.