🔷 ICO File Maker

ICO Generator for Apps and Websites

Generate a multi-resolution .ico icon from any image for Windows programs, shortcuts, folders or a website favicon. Built for developers and power users, and it runs in your browser.

  • ✓ Nine resolutions from 16 to 256 px
  • ✓ 32-bit alpha plus PNG-compressed 256 px
  • ✓ Encoded locally, nothing uploaded
🌐

Drop your image here

or click to select — JPG, PNG, WEBP, GIF, BMP up to 50 MB

💡 Best result: Use a square PNG image with transparent background. At least 512×512 px recommended.
File
—
Size
—
Dimensions
—

What is an ICO generator?

An ICO generator creates files in the Windows icon format, a container that bundles several bitmaps of one icon at different resolutions. Windows Explorer, the taskbar, installers and web browsers read the directory at the start of the file and pick whichever image best fits the space they are drawing.

This generator renders your image at nine sizes and writes a valid ICO from scratch in JavaScript. Small entries use uncompressed 32-bit bitmaps with an alpha channel; the 256 px entry is stored as PNG data to keep the file compact. The result works as an application icon, a shortcut or folder icon, or a website favicon.

How to generate an ICO file in 4 steps

  1. Load an image

    Drop a square PNG, JPG, WebP, GIF or BMP, ideally 256 px or larger.

  2. Review the source

    Check the dimensions shown; small sources will look soft at 256 px.

  3. Generate

    Click Generate ICO to encode all nine resolutions and preview them.

  4. Save and use

    Download the .ico and point your app, shortcut or website at it.

Supported formats

PNGinput

Ideal; alpha transparency is carried into the icon.

JPG / WebPinput

Accepted; JPG backgrounds stay solid.

GIF / BMPinput

Accepted; first frame only for GIF.

ICOoutput

Type 1 icon, 9 entries, 32 bits per pixel.

Maximum input 50 MB. Non-square images are centred on a transparent square. Entries go up to 256 × 256 px, the ICO format's limit. CUR and ICNS files are not produced.

How does it work?

The image is decoded by your browser and resampled on a canvas at 16, 24, 32, 48, 64, 72, 96, 128 and 256 px. A pure-JavaScript encoder then writes the ICO header, one directory entry per size and the pixel data, and saves the bytes as a downloadable file.

🧱

BMP entries

Sizes below 256 px are bottom-up BGRA bitmaps with a BITMAPINFOHEADER and an AND mask.

🗜️

PNG entry

The 256 px image is embedded as PNG, the method Windows has supported since Vista.

🧮

Correct directory

Each entry records width, height, bit depth, byte length and offset.

🔒

Client-side

Encoding happens in the page; no image data leaves your computer.

Inside an ICO file: how the format works

An ICO file starts with a six-byte header: two reserved bytes, a type field (1 for icons, 2 for cursors) and the number of images. A 16-byte directory entry follows for each image, giving its width, height, colour count, planes, bits per pixel, data size and the offset where its data begins.

Width and height each occupy a single byte, so the largest value they can hold is 255. The format uses 0 to mean 256, which is why 256 × 256 is the ceiling for ICO entries.

BMP or PNG data?

  • BMP (DIB) entries store raw pixels bottom-up with a height field doubled to cover the colour data plus a 1-bit transparency mask. With 32-bit colour, the alpha byte handles soft edges.
  • PNG entries store a complete compressed PNG. They are much smaller for large sizes and are standard for 256 px icons on Windows Vista and later.

This generator uses BMP for the eight smaller entries and PNG for the largest, a combination that Windows and every major browser read without complaint.

Windows icon sizes and where they appear

Windows chooses an entry based on the view and the display's scaling setting, so including several resolutions prevents blurry upscaling.

  • 16 × 16 – title bars, the notification area and Explorer's details view.
  • 24 and 32 px – the taskbar, Start menu tiles and small icons at 125–200% scaling.
  • 48 × 48 – medium icons on the desktop and in Explorer.
  • 64 to 128 px – large icon views on high-DPI screens.
  • 256 × 256 – extra-large icons and file previews.

macOS uses a different container, ICNS, for application icons, and Linux desktops normally use PNG or SVG files. For cross-platform apps you usually keep a large PNG master and generate each format from it.

Using a generated ICO in apps, folders and websites

Desktop applications

Most Windows build tools accept an .ico for the program icon. Visual Studio projects reference it in the application settings, and Electron packagers such as electron-builder expect an icon.ico of at least 256 × 256 px for Windows targets.

Folder icons

To give a folder a custom icon, place the ICO inside it and add a hidden desktop.ini file. Windows also lets you pick an icon from the folder's Properties → Customize tab.

[.ShellClassInfo]
IconResource=app-icon.ico,0

Websites

Rename the file to favicon.ico, upload it to your domain root and declare it with <link rel="icon" href="/favicon.ico" sizes="any">. For dedicated favicon advice, see the favicon generator page. If your artwork is a JPEG, the JPG to ICO guide explains how to handle the missing transparency.

Frequently asked questions

ICO is the Microsoft Windows icon format. A single .ico file can contain several images of the same icon at different sizes and colour depths. Windows and web browsers read the file's directory and display the version that best matches the space available.
Each image inside an ICO can be at most 256 × 256 pixels, because the width and height fields are one byte long and zero is used to mean 256. Larger artwork must be scaled down, or delivered as PNG or SVG instead.
It writes nine entries: 16, 24, 32, 48, 64, 72, 96, 128 and 256 pixels square, all at 32 bits per pixel. That covers Windows small, medium, large and extra-large views, high-DPI scaling and browser favicons, all packed into one small file.
Yes. The file follows the standard icon layout that Windows resource compilers and packaging tools expect. Reference it in your project settings or build configuration, and Windows will use the appropriate size in Explorer, the taskbar and the Start menu.
Right-click the folder, open Properties, choose the Customize tab and click Change Icon, then browse to your .ico file. Alternatively, place the icon inside the folder and add a hidden desktop.ini file with an IconResource line pointing to it. Explorer may need a refresh to show the change.
Yes. Entries below 256 px use 32-bit bitmaps whose alpha channel stores per-pixel transparency, and the 256 px entry is a PNG with alpha. Start from a PNG with a transparent background to get an icon without a visible box.
Uncompressed bitmaps are the most widely supported entry type, which matters for small sizes used everywhere. PNG compression is far more efficient at 256 px, where a raw bitmap would be roughly 256 KB. Windows Vista and later read PNG entries natively.
macOS application bundles use the ICNS format rather than ICO, and Linux desktop environments usually load PNG or SVG icons. Browsers on every operating system still read ICO favicons, so this file is still ideal for websites viewed on any platform or device.
Input files can be up to 50 MB in JPG, PNG, WebP, GIF or BMP format. Very large images work, since they are only scaled down. For the cleanest result, use a square image of at least 256 × 256 pixels with simple, bold shapes.
Yes. It is free with no account or watermark, and the conversion runs entirely inside your browser using Canvas and JavaScript. Your image is never uploaded, so you can safely generate icons for internal tools, client projects or unreleased software.