UtilitiesTools

Image to Favicon

Drop or choose an image and instantly get a full favicon set — 16, 32, 48, 180, 192, and 512 pixel PNGs plus a real multi-resolution favicon.ico — with the copy-ready HTML to wire it into your site. Every size is rendered on a canvas inside your browser.

Your image never leaves your browser and is never uploaded to any server.

Drop an image here

or choose a file · or paste with Ctrl+V (Cmd+V)

🔒 Built in your browser with a canvas. Never uploaded.

What is a favicon, and what is this tool?

A favicon is the small icon a browser shows in a tab, a bookmark, the history list, and on a phone's home screen when someone saves your site. Getting it right used to mean opening an image editor, exporting half a dozen sizes by hand, and hand-writing the markup. This image to favicon tool does all of that from a single image: you drop in a logo or graphic, it rescales it to every size a modern site needs, packs the classic sizes into a real favicon.ico, and hands you the exact HTML to wire it up. Everything happens on a canvas in your own browser, so your image is never uploaded, stored, or logged.

What sizes it generates and why

How to use it

  1. Add your image — click to choose a file, drag and drop it, or paste with Ctrl+V (Cmd+V on Mac). A square, high-contrast graphic works best.
  2. If the image is not square, keep centre-crop on so the tool takes the largest centred square instead of stretching it.
  3. Every size renders instantly and appears in the preview grid.
  4. Download the whole set as a ZIP, or grab the favicon.ico on its own.
  5. Copy the provided HTML link snippet into the head of your pages, and drop the files in your site root.

The method behind it

The image is decoded into an off-screen Image object so the browser knows its true pixel size. For each target size, a canvas is sized to that square, and one drawImage call paints the optionally centre-cropped source into it, letting the browser's high-quality resampling smooth the result. Each canvas is exported with canvas.toBlob as a PNG. To build the icon file, the 16, 32 and 48 pixel PNGs are packed into a standard ICO container using the modern PNG-in-ICO format, where the ICO header and directory simply point at each embedded PNG by offset. No server and no round trip are involved.

Examples

Common use cases

Why use this one

Most favicon generators upload your image to a server, queue the job, and sometimes add a watermark or a sign-up wall. This one runs entirely in your browser, so the file never leaves your device and the result is instant. You get the full size set, a real multi-resolution .ico, and the copy-ready HTML in one place — free, with no account and no limit on how many icons you generate.

It is part of a small image toolkit. To change a picture's dimensions first, use the Image Resizer; to keep only part of a graphic, try the Image Cropper; and to make a file lighter, reach for the Image Compressor.

Frequently asked questions

Is my image uploaded to a server?

No. Your image is decoded and redrawn entirely inside your browser on a canvas, and every favicon is built locally. Nothing is sent over the network, stored, or logged, so private logos and brand assets stay on your machine.

What sizes does it generate?

It produces PNG favicons at 16, 32, 48, 180 (Apple touch icon), 192, and 512 pixels, plus a single multi-resolution favicon.ico that packs the 16, 32, and 48 versions. That set covers browser tabs, iOS home screens, and Android or PWA install icons.

Should my source image be square?

Square works best. If you upload a non-square image, turn on the centre-crop option and the tool takes the largest centred square so the icon is not stretched. A simple, high-contrast graphic with a clear shape reads best at 16x16 pixels.

Does it really output a .ico file?

Yes. It encodes a genuine multi-resolution ICO file containing the 16, 32, and 48 pixel versions using the modern PNG-in-ICO format, which Windows and all current browsers read. Drop favicon.ico in your site root for the classic fallback.

How do I add the favicon to my website?

Download the files into your site root, then paste the provided HTML link tags into the head of your pages. The snippet wires up the .ico fallback, the 16 and 32 PNGs, the Apple touch icon, and a web manifest for the Android icons.