⭐ Favicon Generator

Last updated: March 10, 2026

Favicon Generator

Upload any image — get pixel-perfect favicons at 16, 32, 48, and 64px. Runs entirely in your browser.

🖼️ Click or drag an image here PNG, JPG, WebP, SVG, GIF, BMP supported
preview
Sizes to generate
Your Favicons

Add these <link> tags inside your <head>:

Favicon Sizes Compared: Which Ones Actually Matter for Your Website?

Most website owners think about favicons once, drop a 16×16 PNG in their root folder, and call it done. Then they notice their logo looks like a blurry smear on a retina display, or worse — a generic browser icon shows up on a new iPad tab. The truth is that favicon requirements have quietly multiplied over the past decade, and what was sufficient in 2010 is now embarrassingly incomplete.

Let's walk through exactly what each size does, where it appears, and how to decide which combination is worth your time.

16×16: The Original Favicon

This is where it all started — the tiny square that appears in browser tabs on desktop Chrome, Firefox, and Safari. At 16 pixels, you're working with an almost absurdly small canvas. A detailed logo with thin letterforms or fine linework simply will not survive at this resolution. What works here is bold, solid shapes: a single initial, a geometric mark, or a high-contrast simplified version of your logo.

The critical mistake people make at 16×16 is downscaling a full logo and expecting it to look good. Browser-level downscaling uses basic interpolation algorithms that blur edges and muddy colors. The right approach is to create or export a version of your icon that's been hand-tuned for this tiny size — even if that means deliberately simplifying or thickening strokes.

32×32: The Workhorse

If you could only pick one size, 32×32 would be the pragmatic choice. Windows taskbar icons, browser tab favicons on some configurations, and a range of site-pinning scenarios all use this dimension. It gives you four times the pixel count of 16×16, which sounds modest but makes a dramatic difference in legibility. Two-letter abbreviations become readable. Simple wordmarks can survive. A solid logomark can look genuinely crisp.

This is also the size Apple's Safari uses when users save a page as a web bookmark in older iOS configurations, and it's what shows up in many Windows browser taskbar pins. Chrome on HiDPI displays sometimes renders the 32px version scaled up to fill a larger hit area, which is why the quality of your 32px icon matters more than people assume.

48×48: The Windows Sweet Spot

Windows has always operated at multiples of 16 pixels for icon sizes: 16, 32, 48, 64. The 48×48 favicon is specifically important for desktop Windows users who pin sites to their taskbar or who use browser features that display larger icon previews. It's also used by some Windows Explorer contexts when a site shortcut ends up on the desktop.

Compared to 32×32, 48×48 lets you introduce subtle details that were impossible at smaller sizes — thin outlines, simple gradients, secondary elements. But the same principle holds: a favicon at 48px is not a thumbnail of your full logo. It's a purpose-built icon that happens to share your brand's visual language.

Many favicon generators skip this size entirely, which is why Windows users sometimes see pixelated or awkwardly scaled icons in their taskbars. Including 48×48 is a small effort with a disproportionate payoff for anyone whose audience skews toward Windows desktop users.

64×64: High-DPI and Apple Touch Considerations

At 64 pixels, you're entering territory where real design detail becomes possible. This size matters for a few specific contexts: some browser extensions render favicons at larger sizes when displaying bookmark lists, certain Windows icon contexts use 64×64, and it serves as a reasonable base for the retina/HiDPI browsers that scale 32×32 up by 2x.

There's also an indirect benefit: starting with a 64×64 source gives you a clean downscaling path to all smaller sizes. If you generate your 16, 32, and 48px icons from a 64px original rather than from a 512px logo file, you get more predictable pixel-level results because the source is already close in resolution to the targets.

One thing 64×64 is not is an Apple touch icon. Apple's home screen icons start at 120×120 for non-retina and 180×180 for retina devices. Those require a separate <link rel="apple-touch-icon"> tag entirely. Don't confuse the two — a 64px favicon placed where a 180px touch icon is expected will look terrible on an iPhone home screen.

The Background Color Question

This trips up a lot of people. When you export a favicon from a design tool that uses a transparent background, you're betting that browsers will render that transparency well — and many do not. Chrome on Windows renders transparent favicons against a white or gray background depending on the system theme. Dark mode users may see your white logo vanish into a white browser background.

The safer approach for most brands is to choose a solid background color that matches or complements your brand palette. A circular or rounded-square shape on a flat background reads as a modern app icon and performs consistently across every surface where favicons appear. Reserve transparent backgrounds for cases where you've tested across light and dark themes and confirmed the result looks intentional.

Fit Mode: Cover vs. Contain vs. Stretch

When your source image isn't square, you need a strategy for fitting it into a square favicon canvas. These three approaches produce very different results:

Cover scales the image so the shorter dimension fills the canvas, then center-crops. This is usually right for square or near-square logos — it fills the favicon without any padding, which reads as more intentional and bold at small sizes. The tradeoff is that wide logos lose their left and right edges.

Contain fits the entire image inside the canvas with letterboxing. This is the safer choice for wide wordmarks or images where cropping would destroy the meaning. You'll want to pair it with a solid background color rather than transparency, or the padding areas look accidental.

Stretch distorts the image to fill the canvas exactly. It's almost never the right choice unless your source is already square — but it can occasionally be useful for abstract marks where the exact proportions don't matter.

The HTML Implementation Side

Generating the PNG files is only half the job. How you reference them in your HTML determines which size each browser actually loads. The modern recommended approach uses multiple <link rel="icon"> tags with explicit size attributes:

<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="48x48" href="/favicon-48x48.png">
<link rel="icon" type="image/png" sizes="64x64" href="/favicon-64x64.png">

Browsers use these hints to select the most appropriate size for their current context. Without the size attributes, the browser picks whichever icon it receives first, which may or may not be appropriate for where it's being displayed.

You can also bundle multiple sizes into a single .ico file, which is the classic Windows approach. An ICO file is essentially a container format that holds multiple bitmap sizes — browsers that encounter it extract whichever size they need. The PNG-per-size approach has largely replaced it for modern web development, but the favicon.ico file in your root directory is still worth keeping for legacy browser compatibility and for contexts that specifically request it.

When to Revisit Your Favicon

If you've never thought about your favicon since the site launched, now is the time. Check it in Chrome, Firefox, and Safari. Pin a tab and zoom in on a HiDPI display. Save the page as a bookmark on Windows and look at the taskbar. These quick tests will reveal whether your current favicon is doing its job or quietly undermining your brand at every touchpoint.

A well-crafted favicon at the right sizes is one of those small details that separates sites that feel professionally built from ones that feel like they were shipped in a hurry. It takes twenty minutes to get right, and once done, you rarely have to touch it again.

FAQ

Why does my favicon look blurry even after I uploaded a high-resolution image?
Blurriness at small favicon sizes is almost always caused by downscaling a complex image with fine detail — thin lines, small text, or gradients that don't survive compression to 16 or 32 pixels. The fix is to use a simplified, bold version of your mark at small sizes, and to use the 'cover' or 'stretch' fit mode rather than 'contain' with heavy padding. A bold, high-contrast shape will always read more clearly than a detailed logo at favicon scale.
Do I need all four sizes, or can I just use one?
Technically one PNG will work in most modern browsers — Chrome and Firefox will scale a single icon to fit wherever they need it. But using all four sizes means each browser context gets the size it was designed for, without any scaling artifacts. The 32×32 is the single most important size if you must choose one. Add 48×48 if your audience uses Windows, and 16×16 for legacy browser tab support.
Should I use a transparent background or a solid color?
A solid background color is safer for most use cases. Transparent favicons render inconsistently across browsers and operating system themes — on light OS themes they may look fine, but on dark mode the icon can disappear or clash badly. Choose a solid brand color that works as a contained 'badge' — this also makes the favicon look more intentional, similar to how app icons on mobile always have a solid or gradient background.
What is the difference between a favicon and an Apple touch icon?
A favicon is the small icon that appears in browser tabs, bookmarks, and taskbar pins — typically 16×16 to 64×64 pixels. An Apple touch icon is what iOS and iPadOS use when a user adds your site to their home screen; Apple requires this at 180×180 pixels (for retina devices) and uses a separate HTML link tag: <link rel='apple-touch-icon' href='/apple-touch-icon.png'>. They serve different purposes and different size requirements — a favicon generator alone won't cover Apple touch icon needs.
Do I still need a favicon.ico file, or are PNG favicons enough?
PNG favicons are sufficient for virtually all modern browsers. The favicon.ico format exists for legacy compatibility — Internet Explorer only understood ICO files, and some very old RSS readers and tools still look for /favicon.ico at the root. Placing a 32×32 PNG saved as favicon.ico in your root directory satisfies these legacy cases while keeping your workflow simple. For most new sites, well-referenced PNG files with proper size attributes in the HTML head are the cleaner solution.
Can I use an SVG as my favicon source image?
Yes — SVG source images work well in this generator because they scale to any size without pixelation before being rendered to canvas. This makes SVGs ideal source files for favicon generation: upload your vector logo and the browser will rasterize it at exactly the pixel dimensions you need before the downscaling step. Note that SVG files as favicons themselves (using <link rel='icon' type='image/svg+xml'>) are supported in modern Chrome and Firefox, but not Safari, so PNG output remains the most broadly compatible format.
Disclaimer: This article is for general informational and educational purposes only and does not constitute professional, financial, medical, or legal advice. Results from any tool are estimates based on the inputs provided. Always verify important details and consult a qualified professional before making decisions.