Tutorials
Turn a GIF icon into favicon.ico for a web project
Favicons do not need to be animated, and most browsers will not animate them anyway. Here is how to turn a GIF into a 16, 32 and 48 px ICO, choose the right frame, and test it in your project.
AllYouConvert · Updated November 10, 2026 · 2 min read
On this page
Student web projects and small sites often start with a logo or mascot saved as a GIF. Browsers request /favicon.ico automatically, and an ICO with several sizes is still the most compatible favicon. GIF to ICO builds one in your browser.
Animated favicons do not really work
Firefox can animate a GIF favicon, but Chrome, Edge and Safari show only a still image. An ICO file cannot hold animation at all. GIF to ICO uses the first frame of the GIF, so make sure that frame is the one you want people to see in their browser tab.
What the ICO contains
- Three sizes in one file: 16 × 16, 32 × 32 and 48 × 48 pixels.
- Each size is stored as PNG data, so the GIF's transparent background stays transparent.
- Non-square images are scaled to fit and centred, with transparent space on the short sides.
- There is no 256 × 256 size, which is not needed for a website favicon.
Make the icon readable at 16 pixels
- Crop to the essential shape: a face, an initial or a symbol. A full scene becomes a coloured smudge.
- Prefer a square source of at least 64 × 64 pixels.
- GIF transparency is either on or off for each pixel, so anti-aliased edges in a GIF often have a pale fringe. If your logo exists as PNG, use PNG to ICO for cleaner edges.
Convert and add it to your project
1Convert
Drop the GIF on GIF to ICO and download the .ico. Processing happens on your device.
2Place the file
Rename it favicon.ico and put it in the folder your site serves from the root, for example public/ in Vite, Next.js or Create React App, or next to index.html in a plain HTML project.
3Link it
In the <head>, add <link rel="icon" href="/favicon.ico" sizes="any">.
4Test it properly
Favicons are cached hard. Open the site in a private window, or go directly to /favicon.ico, to confirm the new icon is served.
If your dev server shows the old icon, it may be serving a default favicon.ico from the project template. Search the project for other favicon files and delete or replace them.
01Can I keep the animation?
Not in an ICO. If you want an animated tab icon for Firefox users, link the GIF separately with rel="icon" type="image/gif", and keep the ICO as the fallback.
02Is my GIF uploaded?
No. The ICO is built in your browser tab.
Convert a GIF to ICO
Get favicon.ico with 16, 32 and 48 px sizes from the first frame of your GIF.
Open GIF to ICO


