Favicon Generator

Drop in a logo and get the full favicon set: favicon.ico for older browsers plus 16, 32, 48, 96, 180, 192 and 512 px PNG icons, with the HTML snippet to

🌍 Global Access 🔒 Privacy First ⚡ Instant Conversion 💯 Unlimited
🖼️

Drop your image file here

or click to browse files

Turn a logo or any square picture into the complete set of icons a modern website needs: favicon.ico for older browsers, PNG icons from 16 to 512 pixels, an apple-touch-icon for iOS home screens, a web app manifest and the HTML snippet that references all of them.

You get the files and the markup in one step, so you do not have to remember which sizes to export or which link tags to write. The source image is processed locally, which matters if the logo is not public yet.

Advertisement

A favicon is the small icon a browser shows next to a page title, in bookmarks, in history and on a home screen shortcut. It is one of the few pieces of branding a visitor sees before they have read a word, which is why a missing or wrong icon looks careless even when everything else on the site is fine.

The format most people still use, ICO, is a container rather than an image format. A single .ico file can hold several images at different sizes - typically 16, 32 and 48 pixels - and the browser picks whichever matches the context. That is the reason a favicon generator produces an .ico instead of just a PNG: one file then covers a 16 pixel browser tab and a 48 pixel Windows shortcut without downloading three separate images.

PNG icons do a different job. The sizes that matter in practice are 16 and 32 pixels for the browser tab, 180 pixels for the touch icon Safari uses when a site is added to an iOS home screen, and 192 and 512 pixels for the web app manifest that Android and desktop installs read. If any of those is missing, the browser substitutes and scales something else, and the result is usually a blurry icon.

Browsers still request /favicon.ico from the root of a domain even when the page declares an icon explicitly. That request is a legacy default path, and it is why an otherwise well-configured site can still log a stream of 404s: the simplest fix is to place a real .ico there rather than trying to suppress the request.

Transparency deserves a test rather than an assumption. A white logo on a transparent background is invisible against a light browser tab, and a dark logo on transparency disappears in dark mode. If the mark matters, generate a version with a solid background or give the icon a shape that reads on both, then look at it in a light and a dark tab before publishing.

Caching is the last trap. Browsers cache favicons far more aggressively than they cache pages, sometimes for days, so replacing the file often appears to do nothing. Changing the filename, or adding a version query string to the link tag, forces the new icon to be fetched. Sites that rename their favicon when the logo changes look consistent immediately; sites that overwrite the same path sometimes look stale for a week.

For progressive web apps the manifest icons need a purpose of "any" and, separately, "maskable". A maskable icon gets cropped to whatever shape the operating system uses - a circle on many Android devices - so the logo has to sit inside a safe zone in the middle of the square. An icon designed edge to edge will lose its corners on those devices.

Which favicon sizes you actually need

The generator writes every size below. A modern site needs the .ico plus the 96, 192 and 180 pixel versions; the others exist for older browsers and specific platforms.

SizeWhere it is used
16×16Browser tab, legacy. The smallest icon, still requested by a few desktop browsers.
32×32Browser tab, standard. The most common tab icon on desktop.
48×48Windows desktop shortcuts and a few Android launchers.
96×96Google TV and some Android home screens; Chrome also uses it for shortcuts.
180×180The apple-touch-icon a phone uses when someone adds the site to their home screen.
192×192Android home screen and the icon shown in a PWA install prompt.
512×512PWA splash screens and app listings; also the size most tools are generated from.

The HTML to paste into your head

Copy these tags into the head of the page. Adjust the paths if the files are not in the site root.

<link rel="icon" href="/favicon.ico" sizes="any">
<link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96">
<link rel="icon" type="image/png" href="/icon-192.png" sizes="192x192">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">

How to generate a favicon package

1

Choose a square logo or image

2

Generate the icon set

3

Download the files and copy the HTML snippet

FAQ

Which sizes are generated?

16x16 and 32x32 for browser tabs, 96x96 for shortcuts, 180x180 as apple-touch-icon, 192x192 and 512x512 for Android and PWA installs, plus a multi-size favicon.ico for legacy browsers.

What image should I start from?

A square PNG or SVG rendered at 512x512 or larger with transparent background. A wide logo gets letterboxed, and a small or blurry source produces a soft favicon at 512 pixels.

Do I need all these files?

For a modern site, the .ico plus the 192 and 512 PNGs and the manifest cover almost everything. Upload the whole set if you want maximum compatibility - it is only a few kilobytes.

Where do the files go?

Upload them to the root of your website so /favicon.ico and /icon-192.png resolve, then paste the HTML snippet into the <head> of every page, or link the manifest and let it handle the rest.

Will it work for a web app / PWA?

Yes - the manifest and the 192/512 icons are exactly what an installable web app needs. Keep maskable icons in mind if your logo must survive Android adaptive shapes.

Is my image uploaded?

No, all icons are generated in your browser.

At a glance

Inputimage
Multiple filesNo
Where it runsIn your browser - files are never uploaded
Works offlineYes — once the page has loaded
PriceFree, no sign-up, no watermark

Choosing between JPG, PNG, WebP and AVIF

These formats solve different problems, and picking the wrong one costs you either quality or file size. JPG is the safest choice for photographs and for anything you need to send to someone else, because every device and program opens it - but it is lossy and has no transparency. PNG is lossless and supports transparency, which makes it right for logos, screenshots, diagrams and anything with sharp edges or text, at the cost of a much larger file. WebP typically beats JPG by 25-35% at the same visible quality and supports transparency, but a few older programs still cannot open it. AVIF compresses even further, especially at low quality settings, but encoding is slower and support is the newest of the four. A practical rule: JPG to send, PNG to edit, WebP for your own website, AVIF when every kilobyte counts and you have checked that your audience can open it.

Getting a file under a size limit

Upload forms often demand something like "under 2 MB" or "under 500 KB", and the fastest way to get there is to work in the right order: crop away what you do not need, then reduce the pixel dimensions to roughly what the final use requires (1920 px wide is plenty for a full-screen web image, 1000 px for a blog post), and only then lower the quality. Converting to WebP or AVIF can be the single largest saving if the upload form accepts it. Stripping metadata is harmless for size and can matter for privacy, since photos often carry GPS coordinates, the exact camera model and the date. If a form still refuses the file, check whether it imposes a pixel-dimension limit rather than only a size limit - that catches people out more often than actual megabytes.

Advertisement