By Tim King · Updated
Favicon Generator
Multi-Resolution favicon.ico From Any Image, With the HTML Link Tags
OneTask is free, with no sign-up, and built by one person.
If this tool saved you time, a coffee helps keep new ones coming.
How the Favicon Package works
This favicon generator builds every size you need. Drop in a logo and get a genuine favicon.ico containing several resolutions in one file, plus the
link tags to paste into your head. Every size is rendered separately from your original rather than
scaled from one another, so the small ones stay sharp.
A favicon is not one image but a set. A browser tab wants 16 pixels, a high-density tab or the bookmarks bar wants 32, a Windows shortcut wants 48, and a home-screen icon wants something far larger. The ICO format exists to hold several images in one file so the platform can pick the right one. That is what this tool builds: a directory of PNG images wrapped in an ICO container. PNG-in-ICO is a legal variant of the format and has been supported everywhere since Windows Vista.
Why it matters. The favicon is the only piece of branding that shows up in a crowded
tab bar, a bookmark list, browser history and, for many searches, Google's mobile results,
which show the favicon next to every listing. Google asks for a square icon of at least
48 × 48 pixels and may show a generic globe instead if it cannot fetch a suitable one. A
missing favicon.ico also fills server logs with 404s, because browsers request
/favicon.ico on their own whether or not a page links to it.
Where each size is used.
- 16 px: the tab and address bar on standard-density screens.
- 32 px: tabs on Retina and other high-density screens, the Windows taskbar and bookmark menus.
- 48 px: Windows desktop shortcuts, and Google's minimum for search results.
- 64 and 128 px: large Windows icon views and some Chromium surfaces.
- 180 px: the Apple touch icon for iOS home screens. It is a separate PNG, not part of the ICO.
- 192 and 512 px: the icons an installable web app lists in its manifest.
Each size is rendered independently. The lazy way to build a multi-size icon is to make the largest one and scale it down. That gives mush at 16 pixels, because a bilinear downscale of a detailed logo averages away exactly the strokes that made it recognisable. Here every entry is drawn straight from your source at its final size with high-quality resampling, which is the best any automated process can do.
16 pixels is not a small logo, it is a different logo. At that size you have 256 pixels in total and room for about three distinguishable shapes. Full wordmarks become illegible, thin outlines vanish and gradients turn to flat colour. If your brand mark is a horizontal logotype, make a separate square mark instead, such as a single letter, a symbol or a strong silhouette, and feed that in. No generator can rescue a source with too much detail to survive.
Choosing a size set. Classic (16, 32, 48) covers every browser and keeps the file small. Modern drops 16 and adds 64 and 128 for high-density screens and larger Windows views. Everything adds 256, the largest size ICO can hold, which Windows uses for its extra-large icon view. Choosing Modern or Everything also adds the Apple touch icon line to the suggested tags.
Background and transparency. A transparent favicon looks clean on a light tab bar and can vanish on a dark one, and a dark mark does the reverse. A white background is the safe default because it works in both places. Choose transparent when your mark has good contrast against both light and dark, or when you will supply a separate dark-mode icon.
Padding. Most browsers draw the favicon with no margin at all, so an icon that fills its square edge to edge looks right in a tab and slightly cramped as a bookmark. Five to ten percent padding is a reasonable compromise, and the tool caps it at 25 %. If your source is noticeably non-square and you left padding at zero, it adds 2 % so the mark is not flush against two edges once it is fitted into the square.
Reading the favicon generator result
- Source shows the size of the image you gave it. Anything smaller than the largest size in your set will be scaled up and look soft, so start from at least 256 pixels, or from an SVG exported large.
- Sizes in the file lists the entries inside the ICO.
- Background and Padding confirm what was applied, including the automatic 2 %.
- Output gives the total file size. Classic sets usually come in at a few kilobytes, and anything over about 100 KB suggests a noisy photo-like source.
- Per-size entries show each PNG's weight, which helps you see where the bytes went.
The note under the preview gives the <link> tags to paste into your page's head. Put
favicon.ico at the site root. The tags also point at icon.png, an Apple touch icon and
a web manifest; export those files separately if you want the full modern set. The guide
from an SVG logo to a complete favicon set
covers each file.
Tips and pitfalls.
- Browsers cache favicons aggressively, sometimes for days. After replacing one, test in a
private window or add a version query such as
?v=2to the link. - Check the result against both light and dark tab bars before you ship.
- Keep the same mark at every size. A favicon that changes design between 16 and 32 pixels looks like a different site on different screens.
No upload. Favicon generators are one of the most common reasons people hand a logo to a random website. There is no need to: resizing an image and assembling a container format are both things a browser does perfectly well on its own, so nothing here leaves your machine.
FAQ
Which sizes do I actually need?
16, 32 and 48 covers browsers and Windows, which is what most sites need. Add 128 and 256 if you want a home-screen or installed-app icon, since those are displayed much larger.
Why does my logo look blurry at 16 pixels?
Because there is not enough room for it. A 16-pixel square holds 256 pixels in total, so fine strokes and small text are physically unrepresentable — use a simplified square mark as the source instead.
Is this a real ICO file or a renamed PNG?
A real ICO. It has a proper icon directory with one entry per size, and each entry holds a PNG payload, which the format has permitted for well over a decade.
Should the background be transparent?
Only if your mark reads clearly on both light and dark tab bars. White is the safer default because browser chrome varies by platform and theme and you do not control it.
Where do I put the file?
At the root of your site as /favicon.ico, then add the printed link tags to your HTML head. The
root location alone works even without the tags, but the tags let you serve better assets to
browsers that support them.
See also: all Images tools, Audio, Video & Screen, PDF, SVG, Simulations & Screensavers, Generative Art, Chart Makers, 3D Model Viewers, Drawing Pads, Mockups & 3D Making, Diagram Makers, 3D Science, Tracker Music.
Related tools
Image To WebP
Convert to WebP, JPEG or PNG with a quality slider.
ASCII Art Generator
Type a phrase, get block letters for a README or banner.
Add Border To Image
Frame a photo with a coloured border and padding.
Add Shadow To Image
Add a soft drop shadow to photos, logos, product cut-outs and screenshots.
Auto Crop Image
Trim the blank border around an image down to its content automatically.