IMAGE PRECISION ENGINE

ICO / Favicon Generator

Generate a real, hand-assembled multi-size .ico file plus individual PNGs. Unlike some favicon tools that only claim to produce .ico, this one genuinely builds the binary format — and a previously-confirmed bug in that binary-writing code (the directory table recorded the wrong height for every size except 256×256) is now fixed, so every generated size is spec-correct.

Drop an image here or browse files

JPG, PNG, WebP, SVG — any image format

How to Use This Tool

1

Upload any image (JPG, PNG, WebP, SVG).

Upload any image (JPG, PNG, WebP, SVG).

2

Select which icon sizes to generate, or use a preset.

Select which icon sizes to generate, or use a preset.

Pro Tip

The bundled .ico file is now genuinely spec-correct at every size, so you no longer need to fall back to the individual PNGs plus a separate assembly tool for strict validation needs — the directory-table bug that previously required that workaround is fixed.

About This Tool

When to Use

  • A developer generates an .ico file from their app's logo to set as the executable icon before compiling a Windows desktop release.
  • A web developer generates a legacy .ico favicon since some older browsers and bookmark systems still specifically look for favicon.ico, alongside the separately-generated PNG sizes for modern browsers.
  • A software vendor validates a generated .ico file against a strict installer requirement and confirms every directory entry now passes, including the smaller sizes that previously failed.

Key Details

An ICO generator packages an image into the Windows icon format used for browser favicons, desktop application icons, and legacy bookmark systems, bundling multiple resolutions into a single .ico cont...

Worked example

A developer uploads a 512×512 PNG app logo and generates an ICO file bundling the 16×16, 32×32, 48×48, and 256×256 sizes. Each size's actual pixel data is genuinely correct and appropriately downscaled, and the internal directory table now correctly reports every entry's real dimensions — the 16×16, 32×32, and 48×48 entries each report their true height (not the previous incorrect 256), matching the 256×256 entry's already-correct behavior.

Interpreting your result

The downloaded PNG files at each size are reliable, as always. The bundled .ico file is now also fully spec-correct at every size — trust it directly for strict validation or installer build steps.

ICO / Favicon Generator FAQ

Does this tool actually generate a real .ico file, or just a renamed PNG?

A genuinely real one — confirmed via code read, this tool hand-assembles the actual ICO binary structure (header, per-size directory table, then the embedded image data), not just a PNG with a renamed extension. That alone puts it ahead of some other 'favicon generator' tools that only ever produce PNG output despite claiming ICO support.

Is the generated .ico file fully spec-correct?

Yes, now genuinely — a previously confirmed bug meant the directory table's height byte was hardcoded to 0 for every entry (which the ICO format's '0 means 256' convention only makes correct for the 256×256 size specifically), so every other size incorrectly claimed a 256px height. This is now fixed: the height byte correctly reuses the same size-encoding logic as width for every entry, verified by parsing the generated file's bytes back out and confirming both dimensions match the real icon size at every standard size (16, 32, 48, 64, 128, 256).

What sizes should I generate for a favicon?

At minimum: 16×16 (browser tab), 32×32 (taskbar), and 180×180 (Apple Touch Icon, generated as a separate PNG, not bundled into the .ico). For full coverage, generate 16, 32, 48, 64, 128, and 256px. The 'All Sizes' preset covers the common set.

Why use padding on the favicon?

At very small sizes (16×16), edge-to-edge content becomes illegible. Padding (10–15%) keeps the icon readable by adding breathing room around the edges. The background color fills the padding area, and — confirmed via code read — a non-square source image is automatically center-cropped to a square before this padding is applied, rather than being squashed to fit.

Can I generate favicons from SVG?

Yes. SVG files are accepted as input and rasterized at each target size using the browser's own SVG renderer — there's no dedicated 'sharpening' step applied on top, despite that sometimes being implied; the result quality depends on your SVG's own detail level at each target size.

How do I install the favicon on my website?

Upload favicon.ico to your site root and add <link rel='icon' href='/favicon.ico'> to your HTML <head>. For Apple Touch icons, add a separate <link rel='apple-touch-icon' href='/apple-touch-icon.png'> pointing to the 180×180 PNG generated alongside the .ico.

Master Your Entire Toolkit

Access 500+ specialized calculators and tools designed for precision. No sign-up required, 100% free.

Built and reviewed by the Toolzip Team · Based on Microsoft ICO Format Specification