Favicon Generator
Upload one image and get a complete favicon set: favicon.ico, PNG icons, a web app manifest and the HTML to link them.
- No files yet.
Put this in the <head> and keep the files at the same paths as the links.
How to use
- Choose an image with Image. PNG, JPEG, WebP and SVG are accepted, up to 20 MB. A square image of at least 512 by 512 pixels gives the best result.
- Type the App name. It goes into
site.webmanifestas the name and short name. Changing it later only rewrites the manifest. - When the result line says Ready, press Download zip to get every file.
- Press Copy HTML snippet, or copy it from the box, and paste it into the
<head>of your pages. - Unzip the files into the folder the links point to. By default the links expect them at the site root.
Worked example
You have a 1024 by 1024 PNG logo and a site called "Pocket Garden". Upload the logo and set the app name. The snippet reads:
<link rel="icon" href="favicon.ico" sizes="16x16 32x32 48x48">
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
<link rel="icon" type="image/png" sizes="48x48" href="favicon-48x48.png">
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
<link rel="manifest" href="site.webmanifest">
The manifest holds your name, a short name, and the 192 and 512 pixel icons. Upload everything to the web root and reload. Browsers cache favicons hard, so you may need a hard refresh or a new tab to see the change.
How it works
Your image is processed in your browser and never uploaded. The picture is drawn onto a canvas at each size, saved as PNG, and packed into the favicon.ico container and the zip. Nothing is sent to a server, and nothing is stored after you close the page.
The image must be PNG, JPEG, WebP or SVG. The file contents and the browser's file type must agree, so a renamed file is refused. Files larger than 20 MB are refused. A non-square image is centred on a transparent square, so it is not stretched.
Why so many files. Each one serves a different consumer:
- favicon.ico holds 16, 32 and 48 pixel images in one file. Browsers also request
/favicon.icoby default if no link is given. - PNG icons at 16, 32 and 48 pixels are used in tabs, bookmarks and shortcut lists. They are declared with
rel="icon"and asizesvalue, as described on MDN. - apple-touch-icon.png at 180 pixels is used when an iPhone or iPad visitor adds the page to the home screen.
- android-chrome-192x192.png and 512x512.png are the installable app icons referenced by the web app manifest.
Common mistakes
- Using a detailed logo. At 16 pixels, fine lines and text vanish. Use a simple mark with strong contrast.
- Leaving out transparent padding on touch icons. Some platforms add their own background and crop the corners. Keep the important shapes away from the edge.
- Uploading the files to the wrong folder. The snippet uses relative paths such as
favicon.ico. Put the files where those paths resolve, or edit the links. - Not seeing the change. Browsers and search engines cache favicons. Wait, or clear the cache for the site.
- Starting from a tiny image. Scaling a 64 pixel image up to 512 gives a blurry result.
Frequently asked questions
Do I still need favicon.ico?
It is a safe fallback. Many tools and older browsers still ask for it. Modern browsers also use the PNG links.
Can I use an SVG favicon?
The generator accepts SVG as the source image, but the output files are PNG and ICO. You can add an SVG link by hand if you want a scalable icon.
What size should my source image be?
At least 512 by 512 pixels, because the largest output is 512.
Is my image uploaded?
No. It is read and drawn locally in your browser.
Why a transparent background?
PNG keeps transparency, so the icon works on light and dark tabs. Add a solid background to the source image if you do not want that.