Skip to content

Menu

ICO Converter

Convert images to favicon sizes

Runs entirely in your browserImage & MediaFree, no sign-up
Loading tool

01What is ICO Converter?

A favicon.ico is not just a renamed PNG. It is a small container format from Windows that can hold several sizes of the same icon, so the browser or the OS can pick the one that fits. This tool builds that container for you from any image your browser can open, such as a PNG, JPG, WebP or an SVG with a set width and height. You choose which sizes go inside from six options: 16, 32, 48, 64, 128 and 256 pixels square. 16, 32 and 48 are switched on by default. Each size is drawn on its own canvas. If your source is much larger than the target, it is halved in steps first. That keeps a 1024 pixel logo from turning into jagged noise at 16 pixels. A non-square image is scaled to fit and centred on a transparent square. Nothing gets stretched. Packing follows the ICO layout Microsoft documents. There is a 6-byte ICONDIR header (reserved 0, type 1 for icon, image count), then one 16-byte ICONDIRENTRY per size. Each entry sets 1 colour plane and 32 bits per pixel, plus the byte length and offset of its image. Width and height are single bytes, so 256 is written as 0, as the format requires. The images themselves are stored as PNG data, which Windows has accepted inside icons since Vista and current browsers read fine. A worked example. Pick 16, 32 and 48, and the file starts with the bytes 00 00 01 00 03 00. Three entries follow, and the first image's data begins at byte 54, which is 6 + 16 x 3. An icon with only the 256 size has width and height bytes of 00 00 in its entry. Previews of the selected sizes are drawn with pixelated scaling, so you see the real pixels rather than a smoothed guess. Click one to save that size alone as a PNG called favicon-32x32.png and so on. The HTML Usage box shows the link tag for the .ico. Limits worth knowing. It won't make an apple-touch-icon, a web manifest or an SVG favicon. Upscaling a tiny source to 128 or 256 just gives a blurry icon. The image is read and encoded by your own browser, and the source file never leaves your device. If a file has no intrinsic size, like an SVG with no width and height, you get an error message instead of an empty icon.

Web developers and extension authors who need a correct multi-size favicon.ico, plus matching PNG sizes, from a single logo file. The tool runs entirely in your browser, so your data never leaves your device.

02How to use ICO Converter

  1. Drop an image onto the upload area or click it to choose a file. Square sources give the cleanest result.
  2. Under Sizes, toggle the sizes you want packed into the icon, from 16x16 to 256x256.
  3. Look over the pixelated previews and click any one to save that size as its own PNG.
  4. Click Download favicon.ico, which also shows how many sizes it will contain.
  5. Put the file at your site root and copy the tag from HTML Usage into your page's head.

03Worked examples

Input: Sizes: 16, 32, 48 (PNG data of 500, 1200 and 2100 bytes)
Result: 00 00 01 00 03 00 | 10 10 00 00 01 00 20 00 f4 01 00 00 36 00 00 00 | ...
Header plus the first directory entry. 0x10 = 16 px, 0x20 = 32 bits per pixel, first image at offset 0x36 = 54. Byte lengths are sample values.
Input: Sizes: 256 only (PNG data of 30000 bytes)
Result: 00 00 01 00 01 00 | 00 00 00 00 01 00 20 00 30 75 00 00 16 00 00 00
Width and height bytes are 00, which the ICO format reads as 256. Image data starts at byte 22.
Input: Sizes: 16, 32, 48
Result: First image offset = 6 + 16 x 3 = 54
One 6-byte header and three 16-byte entries come before any image data.
Input: Click the 32px preview
Result: favicon-32x32.png
A single size saved as a plain PNG file.
Input: Any upload
Result: <link rel="icon" href="/favicon.ico" sizes="any">
The tag shown in the HTML Usage box.

04Common use cases

  • Generating favicon.ico with 16, 32 and 48 pixel entries for a new Next.js or Astro site from the brand logo PNG
  • Building a 256 pixel icon for a Windows desktop shortcut or an Electron app's installer
  • Saving separate 16, 32, 48 and 128 pixel PNGs for a Chrome extension manifest by clicking each preview
  • Checking how a wordmark reads at 16 pixels before the design is signed off
  • Replacing an old blurry favicon after a rebrand on a WordPress, Ghost or static site
  • Producing a proper multi-size .ico for an older CMS theme that only accepts that format

05Tips

  • Redraw the logo for 16 pixels if you can. Thin strokes and small text vanish at that size, and no resampling saves them.
  • Every extra size makes the file bigger. 16, 32 and 48 cover browser tabs, while 256 matters mostly for Windows shortcuts.
  • If an SVG fails to load, add explicit width and height attributes to its root element, then try again.
  • Pair the .ico with a 180 pixel apple-touch-icon for iOS. This tool doesn't create that file.
  • Browsers cache favicons hard. After replacing one, check in a private window before assuming it didn't work.

06Related concepts

Favicon, ICO format, PNG, apple-touch-icon, Canvas API.

Frequently Asked Questions

What is ICO Converter?

ICO Converter is a free, browser-based developer tool on AIDToolStack. Convert images to favicon sizes It requires no installation or sign-up and works entirely in your browser.

Is ICO Converter free to use?

Yes. No sign-up, no fees and no usage cap.

Does ICO Converter store my data?

No. It runs in your browser; nothing is uploaded.

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…

What changed in AI dev tools, once a month

Renames, shutdowns, pricing changes and new MCP setups, each with a source.

Subscribe