Favicon generator: make a favicon.ico
Turn a logo or picture into a favicon.ico that holds 16, 32 and 48 px versions, plus larger sizes if you tick them. Start from a PNG, JPG, SVG or WebP; the icon is made in your browser and nothing is uploaded.
Converted on your device. Nothing is uploaded.
How to make a favicon.ico
- Add your imagesDrop them on the box above, click to choose them, or paste an image from the clipboard. You can add many at once.
- Check the settingsTick the icon sizes to include. 16, 32 and 48 px cover browser tabs and Windows; 256 px is for high-resolution displays.
- DownloadSave each ICO with its Download button, or all of them at once with Download all (ZIP).
Putting the favicon on your website
A favicon is the small picture shown in browser tabs, bookmarks and history lists. The traditional file is favicon.ico, an icon file holding the same picture at several sizes so the browser can take the one that fits rather than shrinking a large image on the fly. This page starts with 16, 32 and 48 px ticked: 16 px is the classic tab size, and the larger versions help on high-density screens and in places such as desktop shortcuts. Home-screen icons on phones are separate PNG files declared in other ways; they are not part of favicon.ico.
The downloaded file is named after your image, for example logo.ico. Rename it to favicon.ico and upload it to the top folder of your site, so that it is served at /favicon.ico; most browsers check that address on their own when a page does not declare an icon. To declare it explicitly, or if the file lives somewhere else, add this line inside each page’s <head>: <link rel="icon" href="/favicon.ico">. The href works like any other link, so change the path if your site sits in a subfolder.
Design for the smallest size. At 16 × 16 pixels thin lines and small text disappear, so a bold symbol or a single letter reads better than a full logo with a slogan. Start from a square image at least as large as the biggest size you tick: a picture that is not square is centred on a transparent square, and one smaller than an icon size is enlarged for it and looks soft. An SVG is drawn afresh at every size, so it stays sharp.
Questions and answers
Which sizes should a favicon.ico contain?
16, 32 and 48 px are the sizes most commonly put into a favicon.ico, which is why they are ticked here. Bigger sizes make the file larger without improving the tab icon, so add 64, 128 or 256 px only if the same icon has other uses, such as a desktop shortcut.
Where does the link rel="icon" line go?
Inside the head element of every page, for example <link rel="icon" href="/favicon.ico">. If favicon.ico sits at the root of your domain, most browsers find it even without the line, but adding it makes the location explicit.
I uploaded a new favicon but still see the old one. Why?
Browsers cache favicons, sometimes for a long time. Reload with the cache bypassed or check in a private window; the new icon should appear once the cached copy is replaced.
Will the favicon have a transparent background?
Transparent areas of a PNG, SVG or WebP stay transparent, because every size is stored as a PNG with an alpha channel inside the ICO. A JPG has no transparency, so its own background is kept; only the padding added around a non-square JPG is transparent.
Are my images uploaded anywhere?
No. The page decodes and re-encodes each image with your own browser’s canvas. Nothing is sent to a server; once the page has loaded you can even go offline and it keeps working.
More converters
- WebP to PNG
- WebP to JPG
- AVIF to PNG
- AVIF to JPG
- AVIF to WebP
- HEIC to JPG
- HEIC to PNG
- HEIC to PDF
- HEIC to WebP
- TIFF to JPG
- TIFF to PNG
- TIFF to PDF
- JPG to TIFF
- PNG to TIFF
- WebP to TIFF
- HEIC to TIFF
- PDF to JPG
- PDF to PNG
- PDF to TIFF
- Camera RAW to JPG
- CR2 to JPG
- CR3 to JPG
- NEF to JPG
- PSD to PNG
- PSD to JPG
- PNG to WebP
- JPG to WebP
- PNG to JPG
- JPG to PNG
- SVG to PNG
- GIF to PNG
- SVG to JPG
- GIF to JPG
- PNG to GIF
- JPG to GIF
- WebP to GIF
- BMP to PNG
- BMP to JPG
- ICO to PNG
- JPG to PDF
- PNG to PDF
- WebP to PDF
- Image to PDF
- PNG to SVG
- JPG to SVG
- Image to SVG (vectorize)
- PNG to ICO
- Favicon generator
- JPG to ICO
- SVG to ICO
- WebP to ICO
- JFIF to JPG
- JFIF to PNG
- Compress image
- Compress JPG
- Compress PNG
- Resize image
- Compress to 100 KB
- Compress to 50 KB
- Compress to 20 KB
- Any image to any format
Guides
- How to save a WebP image as PNG or JPG
- Why do images save as WebP, and how do I get a JPG?
- Looking for a replacement after Save Image as Type was removed?
- How to open or convert HEIC photos on Windows
- How to download all images from a web page
- How to combine images into one multi-page TIFF, and split one