← Back to Home

🎯 ICO & Favicon Generator

One image → a real multi-size .ico file, single-size PNGs and ready-to-paste HTML link tags.

How to make a favicon in three steps

The screenshot below was taken in this tool with a real file and the stated settings — it is not a mock-up.

  1. Upload the logoA transparent PNG gives the cleanest favicon.
  2. Pick the square areaDrag the crop box; this run keeps a 600 × 600 px region of the 900 × 600 transparent PNG.
  3. Generate and downloadPress “Generate .ico”; six sizes are packed into one favicon.ico (24 KB in this run).
Icon generator result: a transparent square crop and the largest 256-pixel icon preview.
Captured: Input: specimen-alpha-900x600.png (900 × 600 transparent PNG). Settings: 600 × 600 crop, transparent background. Output: favicon.ico with 6 sizes (24 KB), preview 256 × 256.
📁
Click or drag an image here
PNG · JPG · WebP · GIF · BMP · SVG · AVIF · ICO · HEIC / HEIF
⚠️ 16 × 16 has only 256 pixels: it suits a single letter, a flat geometric mark, or a two-colour high-contrast logo. Do not use QR codes, faces, tiny text, thin lines or gradients — they collapse into a few blocks of colour and no algorithm can restore the detail.
✅ Start at 32 × 32 when you need visible detail; for QR codes, portraits or screenshots with text, tick 64 × 64 or larger. The 16 px entry exists mostly for legacy browsers and Windows small-icon compatibility, not for showing detail.
💡 For crisp small icons: make the subject fill the square, keep the silhouette simple and the contrast high; ideally draw the 16 / 32 px versions separately instead of shrinking a large image.
📐 Full size and use-case guidance: Image Size & Pixel Standards.

① Original — pick the square area

Largest icon preview

Result
6 sizes selected

How to use this tool

  1. Upload any image — a tall iPhone screenshot, a wide photo or a logo all work. Drag the square selection onto the part you want as the icon.
  2. Fine-tune the box: drag to move, drag a corner to resize, or press on an empty spot to draw a new square. The small preview shows exactly what the icon will contain.
  3. Tick the sizes you need: all six are selected by default (16 / 32 / 48 / 64 / 128 / 256 px).
  4. Pick the canvas background: transparent is recommended so the icon blends on any tab bar.
  5. Generate: download favicon.ico, grab single-size PNGs, and copy the HTML link tags.

Note: All processing happens in your browser: images are never uploaded. Download your files before closing the page.

How it works

The square you drag is cropped from the original with Canvas before any scaling — only that area is used, so a tall screenshot no longer ends up centred inside an empty square.

An .ico file is a small container: a 6-byte header, one 16-byte directory entry per size, then the image data for each size. Modern readers accept PNG-compressed images inside that container, so each size is an ordinary PNG scaled with high-quality interpolation.

Everything is assembled with plain JavaScript in an ArrayBuffer. Nothing is sent to a server — the file is created in your browser and downloaded directly. Because each size is downscaled from the same source, details stay crisp at small sizes; artwork with tiny text will still lose legibility.

Common use cases

Website faviconShip one .ico that works in browser tabs, bookmarks and old Windows shortcuts.
PWA / app icon setDownload the six PNG sizes for manifest.json and apple-touch-icon.
Client hand-offGive the designer a real icon file instead of a folder of loose PNGs.

Frequently asked questions

Is this a real .ico file?
Yes. It contains a valid ICONDIR header, one directory entry per size, and PNG-compressed image data. Windows, macOS preview and browsers all open it.
Why are some sizes PNG data instead of BMP?
Since Windows Vista, .ico entries may hold a complete PNG. It is smaller and keeps an alpha channel, so transparency works without a separate mask.
Can I use a tall screenshot or a wide photo?
Yes. Drag the square selection over the part you want, move it or resize it from a corner, then generate. Only that 1:1 area becomes the icon — nothing is stretched. Press "Whole image" if you prefer the old fit-inside-a-square behaviour.
Does this upload my logo to a server?
No. The whole container is built in your browser with Canvas and plain JavaScript. The image never leaves your device.
Why is 16 × 16 blurry, and which size should I start from?
16 × 16 holds just 256 pixels. QR codes, faces and tiny text cannot survive it — that is a physical limit, not a scaling bug. Keep 16 px for legacy / Windows compatibility, start at 32 px for visible detail and use 64 px or larger for QR codes, portraits or screenshots with text. Draw the 16 / 32 px artwork separately with a bold, simple silhouette and high contrast.

What this tool produces, in plain terms

The ICO & Favicon Generator builds a real multi-size Windows icon container from one image. It writes an ICONDIR header with one directory entry per selected size (16, 32, 48, 64, 128 and 256 px), each holding PNG-compressed image data with an alpha channel, plus separate single-size PNGs and the HTML link tags needed to declare them. A 16 x 16 icon has only 256 pixels, so thin lines, small text and gradients cannot survive at that size; the 16 px entry should be drawn as a bold silhouette rather than shrunk from a large master. All processing happens in your browser — the image is never uploaded.

Original measured reports using this tool

Processing, please wait…