Skip to tool
ecech.
🖼️ Image & Photo Tools

Free Favicon Generator with Every Size and the HTML to Reference Them

Upload a logo or type an initial, and get every icon a browser, phone or Windows tile will ask for — including a real multi-resolution .ico — with the exact head markup.

Advertisement

How the calculation works

Who asks for which size 16×16 browser tab, bookmark bar 32×32 retina tab, taskbar shortcut 180×180 iOS home screen The one that still needs .ico Browsers request /favicon.ico at the site root whether you asked them to or not. If it is missing you get a 404 in every server log, forever. A real .ico holds 16, 32 and 48 in one file.

How to Use This Tool

A favicon used to be one 16×16 file. It is now a small family: a legacy .ico that browsers request whether you reference it or not, PNGs at several sizes, a 180×180 icon for iOS home screens, and a manifest for Android. Miss one and you get a blank square somewhere, or a 404 in your logs every time anyone visits.

Two ways to start

From an image takes a square PNG or SVG. Bigger is better — 512×512 or an SVG gives clean results at every size, while a 64×64 source will look soft when scaled up for the iOS icon. Transparency is preserved through the PNG outputs.

From a letter generates a lettermark with a background colour, a text colour and an adjustable corner radius. This is genuinely useful for a project that has no logo yet, and it produces something far better than the browser's default blank page icon.

The .ico file, and why it still matters

Every browser requests /favicon.ico from your site root automatically, before it has read a single line of your HTML. If the file is not there you get a 404 on every first visit, forever, cluttering your logs and wasting a request. This tool builds a genuine multi-resolution ICO containing 16, 32 and 48 pixel versions in one file — not a renamed PNG, which some generators produce and which older Windows versions reject.

The same logo at the size it will actually be seen Detailed logo ecech. 512 px ecech. illegible Simplified mark e 512 px e still readable
Sixteen pixels is about the size of one letter of body text. Any logo with a wordmark, a tagline or thin strokes turns to mush — use a single letter or a simplified symbol.

Design advice you will ignore once and then follow

Look at the tab preview above the file list. It is showing the icon at 16×16, which is roughly the size of one character of body text. Full logos, wordmarks and anything with thin lines become an unreadable smudge at that size. Companies with detailed logos use a simplified mark for their favicon for exactly this reason. If your icon is unrecognisable in that preview, it will be unrecognisable in a real tab, and no amount of extra sizes will fix it.

Padding and the transparency plate

Padding adds breathing room inside the square, which matters for iOS where the icon is rounded and clipped. Around 10% is typical for a logo that already has its own margin, more if it does not.

Behind transparency handles the awkward case of a dark logo on a transparent background: it looks fine on a light browser tab and disappears entirely in dark mode. Putting a solid plate behind it guarantees it is visible in both. If your mark works in both, keep it transparent.

Where to put the files

Put every generated file in your site root, not a subfolder, and paste the HTML into your <head>. The root placement matters specifically for favicon.ico, which is requested at a fixed path regardless of your markup. Browsers cache favicons aggressively, so after replacing one you will often need a hard refresh — or an incognito window — before you see the change.

Advertisement

Frequently Asked Questions

Do I still need a favicon.ico file?
Yes. Every browser requests /favicon.ico from your site root automatically, before reading any HTML. If it is missing you get a 404 on every first visit, which clutters your logs permanently. The ICO generated here is a genuine multi-resolution file containing 16, 32 and 48 pixel versions, not a renamed PNG.
What size should my source image be?
512x512 or larger, or an SVG. Scaling down produces clean results; scaling up does not. A 64x64 source will look noticeably soft once it is stretched to the 180x180 iOS icon. Square is important too — a rectangular source has to be padded or cropped, and neither is what you intended.
Why does my logo look terrible at 16 pixels?
Because 16 pixels is about the width of one character of body text. Wordmarks, taglines and thin strokes cannot survive that. This is why companies with detailed logos use a simplified symbol as their favicon. Check the tab preview — if you cannot recognise it there, users will not recognise it either.
What is the apple-touch-icon for?
It is the icon iOS uses when someone adds your site to their home screen, at 180x180. Without it, iOS screenshots your page and uses that, which looks unprofessional. It should not have transparency, because iOS composites it onto black rather than white.
Why has my new favicon not changed in the browser?
Favicons are cached far more aggressively than other assets, sometimes for weeks. A normal refresh will not clear it. Try a hard refresh, an incognito window, or append a query string like /favicon.ico?v=2 to the link tag. It usually is working — you just cannot see it yet.
Is my logo uploaded to a server?
No. The image is read by your browser and every output size is drawn on a canvas locally, including the ICO, which is assembled byte by byte in JavaScript. There is no upload and no server, so unreleased branding stays on your machine.
Do I need every single file?
The essentials are favicon.ico in your root, a 32x32 PNG and the 180x180 apple-touch-icon. The manifest and the larger PNGs matter if you want a proper icon when someone installs your site as a web app on Android. The generated HTML includes everything, and unused entries do no harm.

Related tools in Image & Photo Tools

Browse all Image & Photo Tools tools
A handwritten note reading ecech.com resting on the keyboard used to build the site.

Made by one person

ecech. is not a content farm. Every tool here is written and checked by hand, one at a time, by someone who wanted the tool to exist and could not find a version that showed its working.

No accounts and no sign-in, and nothing you type reaches a server — every calculation on this page runs inside your browser. The ads are served by Google and do set their own cookies, which is set out in full on the privacy page. More about the site.