Web Development·6 min read

What Is an ICO File? (And How to Open One or Turn Your Logo Into a Favicon)

You downloaded an .ico file your image viewer won't open, or a tutorial told you to upload a 'favicon.ico' and you have no idea how to make one. Here's what an ICO file actually is, why it's so strange, and the 10-second fix for both problems.

The Smallest File on Your Computer Has the Biggest Job

Look at the browser tab you have open right now. In the corner, next to the page title, there's a tiny logo — the little picture that tells you at a glance whether you're looking at Gmail, YouTube, or your bank. That icon almost certainly started life as an `.ico` file, one of the oldest and strangest formats still in everyday use.

Most people only meet ICO when something goes wrong. You download one and your image viewer flatly refuses to open it. You're setting up a website and a tutorial tells you to "upload your favicon.ico," but you have no idea how to make one. Or you find a mysterious `.ico` sitting in a folder and your Mac won't even preview it.

ICO isn't broken, and it isn't a virus. It's a format from the early 1990s that has quietly survived for one job — being *the icon* — and it has some genuinely odd quirks that explain every bit of friction you've hit. Here's what an ICO file actually is, why it behaves the way it does, and how to both open one and make one in about ten seconds.

What an ICO File Actually Is

An ICO file is an icon file — a small image format Microsoft created for Windows back in the Windows 1.0 days to store the little pictures that represent programs, folders, and shortcuts. The `.ico` extension has been doing the same job for more than thirty years.

What makes it different from a normal image like a JPG or PNG is what it's *for*. A photo format is built to store one big picture as efficiently as possible. ICO is built to store one *small* picture — typically 16×16, 32×32, or 48×48 pixels — that has to stay crisp at tiny sizes. Icons live in cramped places: a taskbar, a browser tab, a desktop corner. They can't afford to look mushy.

Two facts about ICO matter:

  • It's tiny by design. Most ICO files are a few kilobytes. They were never meant to hold a full-resolution image — just a recognizable little symbol.
  • It supports transparency. Like PNG, ICO can have a transparent background, which is why icons sit cleanly on any color of taskbar or tab without an ugly box around them.
  • The Weird Part: One File, Many Sizes

    Here's the quirk that surprises almost everyone: a single ICO file can hold several different images at once.

    A normal image file is one picture at one resolution. An ICO file is more like a small bundle — it can pack a 16×16 version, a 32×32 version, a 48×48 version, and a 256×256 version of the same icon all inside the one `.ico`. Whatever is displaying the icon simply grabs the size it needs.

    This sounds like overkill until you realize why it exists. The same icon has to look sharp in a tiny browser tab *and* in a large desktop view when you crank up your icon size. Shrinking one big image down to 16×16 on the fly produces a blurry smear. So instead, designers hand-tune a crisp version at each size and pack them all into one file. That's the entire reason ICO survived when newer formats could have replaced it.

    Where You Actually Run Into ICO Files

    ICO files don't show up by accident — they come from a short, specific list of places:

  • Website favicons. This is the big one. The little icon in a browser tab is served from a file the browser looks for, classically named `favicon.ico`. Anyone who has ever set up a website has bumped into this.
  • Windows program icons. Desktop shortcuts, `.exe` files, and folder icons on Windows all use ICO under the hood.
  • Custom desktop icons. If you've ever changed the icon on a folder or shortcut, Windows asked you for an `.ico` file.
  • Notice the pattern: ICO lives in the *system* and *web* layers, not in the places you normally handle photos. That's exactly why your photo software doesn't know what to do with one.

    The Catch: Easy to Use, Hard to Handle

    ICO is great at its job and awkward at everything around it:

  • Most image viewers won't open it. Double-click a `.ico` on a Mac and Preview often shrugs. Photoshop needs a plugin. Your phone's gallery skips right past it.
  • You can't easily edit it. Because it's a bundle of sizes rather than a single editable canvas, normal image editors treat it as a second-class citizen.
  • It's fiddly to create. You can't just rename a `.png` to `.ico` and call it done — the file is genuinely different inside, even if the rename occasionally appears to work before breaking later.
  • So you usually end up in one of two situations: you have an ICO and need to *see* what's in it, or you have a logo and need to *turn it into* an ICO. Both are quick.

    How to Open an ICO File

    If someone sent you an `.ico` and you just want to see the image — or pull the logo out of it — convert it to a normal format your everything-machine already understands.

  • For a logo or icon with a transparent background, use ICO to PNG. PNG keeps the transparency intact, so the icon stays clean with no white box behind it. This is the right choice almost every time.
  • If you just need a plain, flat image and don't care about transparency, ICO to JPG gives you a universally openable file you can drop into any document or email.
  • Either one turns the mysterious system file into something your Mac, phone, and image editor open without complaint.

    How to Make a Favicon (the Right Way)

    If you're building a website and need that tab icon, you've got a logo — probably a PNG or JPG — and you need an `.ico`. Don't rename it; convert it properly so the file actually contains a valid icon.

  • Got a logo with transparency? PNG to ICO is exactly what you want. It packages your image into a real `.ico` with the correct internal structure, ready to drop in your site's root as `favicon.ico`.
  • Working from a flat photo or a non-transparent logo? JPG to ICO does the same job.
  • One tip: favicons are square, so start with a square image. If your logo is rectangular, trim it to a square first with the image resizer so it doesn't get squished into the tab. And if you want the full modern set — not just the classic `.ico` but the larger PNG icons that Apple devices and Android home screens use — the favicon generator builds every size from a single upload and hands you the HTML to paste into your page.

    Do You Still Need ICO in 2026?

    Partly. Modern browsers happily accept PNG favicons through a `link` tag, and plenty of sites now ship a set of PNGs instead of a single `.ico`. For brand-new sites, PNG icons are the current best practice.

    But ICO refuses to die for one good reason: the fallback. Browsers still automatically look for `favicon.ico` in a site's root even if you never linked to it, so shipping one remains the most bulletproof way to guarantee your tab icon shows up everywhere — old browsers included. ICO is also still the only game in town for Windows program and desktop icons. It's not the future, but it's a long way from dead.

    Bottom Line

    An ICO file isn't a broken image or a security risk — it's a thirty-year-old icon format doing the one job it was built for: being the tiny, crisp little picture in your browser tab, taskbar, and desktop. Its trick of packing several sizes into one file is exactly why it has lasted, and exactly why ordinary photo software trips over it.

    If you've been *sent* one and want to look inside, ICO to PNG opens it in seconds. If you're *building* a website and need that tab icon, PNG to ICO turns your logo into a proper favicon. Either way, the smallest, oddest file on your computer stops being a mystery.