Favicon Generator

Turn one image into a complete favicon set: 16–512px PNGs, a multi-resolution .ico, the link tags and site.webmanifest. Runs entirely in your browser.

Runs entirely in your browser — nothing is uploaded

Drop a file or click to browse

SVG, PNG, JPEG, WebP, GIF, BMP and ICO · a square SVG or a 512px-plus PNG gives the best result · nothing is uploaded

About the Favicon Generator

Drop in one image — ideally an SVG, or a square PNG of 512px or more — and this page renders the whole set a modern site needs: favicon-16x16.png, favicon-32x32.png and favicon-48x48.png for tabs, bookmarks and the Windows taskbar; a 180px apple-touch-icon.png for the iOS home screen; 192px and 512px Android icons; an optional maskable icon; a multi-resolution favicon.ico; the exact <link> tags to paste into your <head>; and a site.webmanifest. Everything comes back as a single ZIP, and a live preview shows each icon at the size a browser will actually paint it.

The .ico is assembled here byte by byte, because no browser API produces one. The format is a six-byte header followed by a directory of sixteen-byte entries, each recording an image's pixel size, its byte length and its absolute offset in the file — a table of numbers that has to agree with reality. Get a single offset wrong and the file still opens in some viewers, shows nothing in a browser tab, and reports no error anywhere. So this tool parses the container back out of its own bytes before offering it to you, and checks every entry's declared size against the real IHDR header of the PNG it points at. If they disagree you get an error message, not a file.

Shrinking a 1000px logo straight to 16px in one step is what makes most favicons look speckled. A single drawImage that reduces by 60× samples a handful of source pixels and discards the rest — that is true in every browser engine, and it is why hand-made favicons so often look worse than the original. This page builds a chain of progressively halved copies of your artwork and draws each icon from the smallest copy that is still larger than it, so no single reduction is more than 2×, which is the range where the browser's bilinear filtering is actually correct. It is the difference between a readable mark and a grey blur.

Three platform behaviours quietly ruin otherwise-correct icon sets. iOS composites transparency in a home-screen icon onto black, not onto the wallpaper, so a transparent set that looks perfect everywhere else puts your dark logo on a black tile on an iPhone — that one file is therefore always flattened onto your background colour. Android crops maskable icons to whatever shape the launcher uses and guarantees only the middle 80%, so the maskable icon insets your art and the preview draws the safe circle over it. And an SVG with no viewBox cannot be rasterised at a chosen size by any browser — forcing width and height onto it stretches the viewport while leaving the drawing at its original scale, tucking your logo into one corner of a large empty square. That case is detected and refused with an explanation rather than rendered wrong.

Your logo is often the one file you cannot casually hand to a stranger's server: unreleased branding, a client's mark under NDA, or the identity of an internal tool. Nothing here is uploaded. The image is decoded with createImageBitmap, drawn on a canvas, encoded with canvas.toBlob, packed into a ZIP by fflate, and handed back to you — all inside the tab. Because toBlob silently returns PNG bytes when it cannot encode what it was asked for, every encode is checked against the MIME type that came back, and every PNG is re-read to confirm its header declares the size that was requested. You can verify the privacy claim by opening your devtools Network tab, or by switching off Wi-Fi after the page loads: the tool keeps working.

Everything runs inside your browser using standard web APIs. Your data is never uploaded, never stored on a server, and never leaves your device — you can confirm that by opening your browser devtools Network tab, or by switching off your Wi-Fi and using the tool offline.

Frequently asked questions

Do I still need favicon.ico if every browser supports PNG icons?

Mostly for things that are not browsers. Current browsers happily use the PNG link tags, but feed readers, link-preview bots, chat clients and older Windows shells still request /favicon.ico by path, without reading your HTML at all. It costs a couple of kilobytes, so ship it at your site root even when the other icons live in a subdirectory.

Why does my logo turn into a smudge at 16 pixels?

Because a 16x16 icon is 256 pixels in total, and most logos carry more detail than that can hold. Thin strokes fall below one pixel and vanish, gradients collapse into mud, and text becomes texture. The 8x magnified preview shows exactly which pixels a tab will paint. If the shapes have merged there, the fix is different artwork — a single letter, a monogram, or the one distinctive shape from your mark — not a different resizing algorithm.

Why is my Apple touch icon opaque when I asked for a transparent set?

Because iOS composites transparent pixels in a home-screen icon onto black rather than onto the wallpaper. A transparent 180px icon therefore looks correct in every test except an actual iPhone, where a dark logo disappears into a black tile. This tool always flattens apple-touch-icon.png onto your chosen background colour and leaves the browser-tab PNGs transparent, and it says so in the notes rather than doing it silently.

What should I feed it for the best result?

An SVG. It is rasterised once at 1024px and every output is halved down from there, and your original is also shipped unchanged as icon.svg for browsers that prefer a vector icon. Failing that, a square PNG of at least 512px. Anything smaller has to be enlarged for the 512px Android icon and will look soft — the tool warns you when that is happening instead of doing it quietly. Photographs make poor favicons at any resolution.

What is the maskable icon, and do I need one?

Android turns an installed web app's icon into whatever shape the launcher uses — circle, squircle, rounded square — by cropping your 512px icon, and only the middle 80% is guaranteed to survive. Without a maskable icon your logo can lose its edges. The maskable file insets the art by 10% per side, is flattened, and is declared in the manifest with purpose "maskable" so Android uses it only for that. Skip it if you are not building an installable PWA.

Can it make an animated favicon?

No. A favicon is a single still image in every format this tool writes. An animated GIF source contributes only its first frame — the tool counts the frames and tells you how many are being dropped. Animated favicons are possible with an animated PNG, or by swapping the link href from JavaScript, and this page does neither.

Is my image uploaded anywhere?

No. This site is static hosting: there is no server to upload to and no API to call. The file is read from disk by your browser, processed on your own machine, and never transmitted. Disconnect from the internet once the page has loaded and everything still works.