Convert ICO to GIF

Converting ICO to GIF takes the largest picture out of the icon container and writes it as a single-frame GIF with a 256-colour palette. One thing to know before you start: transparency does not survive — the see-through areas are filled with the background colour set above the drop zone, white unless you change it.

  • Where it runs In your browser. The file is never uploaded.
  • Lossy Some detail is traded for size. GIF cannot hold everything an ICO can.
  • File size limit Up to 100 MB per file, free, without an account.
  • Worth knowing Reduced to 256 colours, which is visible on photographs, and transparent areas are filled with the background colour rather than kept.

Up to 100 files at once. Mixed formats are fine.

What ICO to GIF actually does

A generated landscape with a low sun and three ridges, used to show what JPEG does to continuous tone. Shown as ICO.

ICO139 KB

A generated landscape with a low sun and three ridges, used to show what JPEG does to continuous tone. Shown as GIF.

GIF36 KB3.8× smaller

A photographic scene — smooth gradients, soft edges, grain. This is the case GIF is designed for or against, and the figures show which. Both images are drawn in code and encoded by the same converter that runs on this page, so the sizes are this site's own output.
A generated badge: a circular gradient on a transparent background with a white bar across it, used to show what each format does with transparency and with hundreds of shades. Shown as ICO.

ICO7 KB

A generated badge: a circular gradient on a transparent background with a white bar across it, used to show what each format does with transparency and with hundreds of shades. Shown as GIF.

GIF8 KB7% larger

A transparent background and a gradient across the shape. GIF either keeps both, keeps one, or fills the transparency with a solid colour — which is the difference that catches people out. Both images are drawn in code and encoded by the same converter that runs on this page, so the sizes are this site's own output.
A generated application window with a sidebar, a table and a bar chart, used to show what JPEG does to flat colour and hard edges. Shown as ICO.

ICO3 KB

A generated application window with a sidebar, a table and a bar chart, used to show what JPEG does to flat colour and hard edges. Shown as GIF.

GIF6 KB2.4× larger

Flat colour and hard edges, as in an interface, a chart or a logo. Very different behaviour from the photograph above, and the reason the answer is "it depends what is in the file". Both images are drawn in code and encoded by the same converter that runs on this page, so the sizes are this site's own output.

The transparent background is filled, not carried over

This is the first thing to say and most pages about this conversion never say it. GIF does support transparency, but only in one narrow form: a single palette entry may be nominated as invisible. The encoder behind this page does not nominate one. It builds a palette from the image, writes it as a list of red-green-blue triples, and the alpha information is gone by the time the file is assembled.

So the cut-out is filled in before it reaches the encoder. The see-through pixels are painted with the background colour set above the drop zone, white unless you change it, and then the palette is computed from the result. A rounded logo that floated in the ICO arrives in the GIF sitting on a solid square. Set that square to the colour of the page it is going on and nobody can tell; leave it wrong and the square is the first thing anyone sees.

Choose the fill colour rather than accepting the default

The colour is a control on this page, above the drop zone, and it is worth a moment rather than a shrug. It was not always there: until August 2026 the flattening happened silently inside the quantiser and every cut-out came back on black, measured at 0,0,0,255 in the corner of a test file. The fill is now applied before the palette is built, so the colour you choose is one of the 256 entries and the antialiased edges blend into it cleanly instead of into black.

If the destination is an email signature, that colour is almost always white, because mail clients render on white and a dark-mode client will invert the surrounding page and not your image. If it is an intranet with a coloured header, match the header. If you want something a flat fill cannot give you — a gradient behind the mark, or artwork that has to overlap the edges — do the compositing in GIMP or whatever produced the icon and convert the flattened result instead.

Why an old system is still asking you for a GIF

GIF is thirty-nine years old and it is the most universally readable image format that has ever existed. Every mail client, every forum engine, every industrial control panel and every piece of enterprise software written before about 2005 reads one. That is why specifications still name it: not because anyone prefers it, but because the person writing the specification wanted an answer that could not fail.

The corollary is that the destination is probably old enough to have other constraints too — a maximum pixel size, a maximum byte count, a fixed aspect ratio. Read the rest of that specification before converting, because it is unlikely that the format was the only thing it pinned down.

A 256-colour palette is rarely what limits an icon

GIF stores an index per pixel into a table of at most 256 colours, which is the reason photographs turn to visible bands inside one. An icon is a different animal: flat fills, a handful of brand colours, and antialiasing along the edges that adds intermediate shades. Even counting those, most icons land well under the ceiling and quantise without a visible change.

Where it does bite is a mark with a real gradient — a sphere, a metallic bevel, a soft glow. Those generate hundreds of distinct values across a small area, and the palette reduction shows as stepping. If your icon has one, look at the result at full size before sending it.

One still frame, and no animation hiding in the icon

People associate GIF with movement, so it is worth being explicit: there is nothing to animate here. An ICO holds the same picture drawn at several sizes for different display contexts. It has no concept of time, no frame delays and no loop count, and the encoder here writes exactly one frame.

If what you need is a moving version of a logo, this is not the conversion — that starts from a video or from an animated source and goes through a different tool entirely. Nothing you do to an icon file will produce one.

Which of the icon’s sizes ends up in the GIF

The largest. Your browser decodes the container and returns its biggest entry, which was checked by building a file with 16, 32, 48 and 256 pixel images in four separate colours and converting it three times with the directory ordered differently: the result was the 256-pixel drawing every time.

And 256 is the hard ceiling, because an icon entry stores its dimensions in one byte with 0 standing in for 256. So a GIF made this way is never larger than 256 pixels on a side, whatever the destination asks for. A specification demanding a 400-pixel GIF cannot be satisfied from an icon file without upscaling somewhere else.

How small the GIF actually turns out

Small, and often smaller than expected. GIF compresses runs of identical palette indices, and flat icon artwork is nothing but runs. On the test file — 8,471 bytes of icon holding four entries — the 256-pixel GIF came out at 1,894 bytes.

That is competitive with the PNG of the same image, which was 1,737 bytes. The gap is small enough that byte count is never the reason to pick one over the other here. Transparency is the reason, and on that measure the PNG wins outright.

When a PNG will be accepted instead of the GIF

Worth one attempt before committing to a flattened background. Many systems that name GIF in their documentation accept PNG in their code, because the validation was written later than the help text and covers everything the underlying library reads. If it goes through, you keep the transparency and lose nothing.

Where GIF is genuinely required — a mail template rendered by something ancient, a device that displays images from a fixed decoder — take the GIF and set the background colour to match its destination. The result is then correct rather than merely accepted.

Converting a whole icon set for a legacy platform

Drop the folder. Every file is decoded, quantised and encoded independently and comes back in a ZIP. The palette is built per image rather than shared across the set, so two icons using the same brand colour can end up with that colour at slightly different indices — invisible in use, but it means the files are not interchangeable at the byte level.

The background colour, on the other hand, is one setting for the whole drop, so every icon in the set is flattened onto the same fill. That is what you want for a set going into one template — and it is also why converting half a set now and half of it later is how the two halves end up on different colours.

How to make a GIF from an ICO file

  1. Set the background colour if the icon has transparent areas; it starts at white.
  2. Drop the ICO file onto this page, or click to choose one.
  3. Download the single-frame GIF.

ICO against GIF: an alpha channel against a 256-colour palette

ICO compared with GIF
ICOGIF
Full nameWindows IconGraphics Interchange Format
File extension.ico.gif
Media typeimage/x-iconimage/gif
CompressionLossless — nothing is discardedLossless — nothing is discarded
First published19851987
Published byMicrosoftCompuServe
SpecificationGIF89a
LicensingPublished, not standardisedOpen standard
Standing todayNicheLegacy, still read everywhere
Bit depth88
Colour it can describeRGB, indexed paletteindexed palette
Largest image256 px per side65,535 px per side
Opens in a browserEvery browserEvery browser
Considered insteadPNG, SVGWebP, MP4

What is lost

GIF has no alpha channel. A transparent ICO comes out with those areas filled in — white unless something else is set — and no setting in GIF brings the transparency back.

GIF stores at most 256 colours per frame. A photograph converted into one is reduced to a palette, which is what makes the sky look stepped rather than smooth — it is the format, not a quality setting.

Opening the result

GIMP reads both ICO and GIF, so there is a way to check the result against the original without a second tool.

What each format is for

ICO is Microsoft's format, published in 1985. It records 8 bits per channel.

GIF comes from CompuServe and dates from 1987, specified as GIF89a. GIMP, Adobe Photoshop and ImageMagick all read it.

ICO to GIF: transparency, colours and animation

Does the transparent background survive as a GIF?

No. GIF can hold one transparent palette index and the encoder used here writes none, so every pixel of the result is opaque. What the see-through areas become is the background colour set above the drop zone — white unless you change it — painted in before the palette is chosen. Older advice about this conversion says they come out black, which was true here until August 2026.

What colour should I put behind the logo?

Whatever the GIF will sit on, chosen with the background control above the drop zone. For an email signature that is almost always white, because mail clients render on white and a dark-mode client inverts the page around your image rather than the image itself. For an intranet with a coloured header, match the header. Converting to PNG instead keeps the alpha channel exactly, if the destination will take one.

Will the 256-colour limit hurt an icon?

Usually not. Most icons are flat colour and use a few dozen distinct values even after antialiasing, which fits comfortably. A mark with a smooth gradient or a photographic element is the case where banding shows.

Can I get an animated GIF out of an ICO?

No. An ICO holds several sizes of one still picture, not several frames of a moving one, and the encoder here writes a single frame. There is nothing in an icon file that could animate.

What size will the GIF be?

The dimensions of the largest image inside the icon, capped at 256 pixels by the icon format itself. On a test file holding 16, 32, 48 and 256 pixel entries the GIF came out at 256 pixels and 1,894 bytes.

Where does the conversion happen?

In this browser tab. The icon is decoded by the browser, quantised and encoded by a small library that ships with the page, and nothing is sent anywhere.

More about these formats

Where these figures come from

The claims this page makes about ICO and GIF are checkable, and these are the documents that settle them.