How to Make a Favicon for Your Website (ICO, PNG, Apple and Android Icons)
On this page
Short answer: start with a simple square image, a letter or an emoji, run it through Imgovo’s Favicon Generator, download the ZIP, upload the files to your site and paste the lines from head-snippet.html into the <head> of your pages. Site builders such as WordPress, Shopify and Wix usually have a “Site icon” setting where you can upload the 512 px PNG instead.
What a favicon is for
The favicon is the small icon in the browser tab. It also appears in bookmarks and browser history, and phones use related icons when someone adds your site to the home screen. A site without one shows a generic placeholder, which looks unfinished.
Because the icon is shown very small, the design matters more than the resolution.
Design for tiny sizes
- Keep it simple. A bold shape or one or two letters works. A detailed logo turns into a smudge at 16 × 16 pixels.
- Use strong contrast. Tabs can be light or dark. The generator shows your icon in a light and a dark tab.
- Prefer a square source. If your logo is wide, choose “Fit whole image”, or zoom in on the main shape and drag the picture into place.
- Use a transparent background if you want the icon to blend with the tab. For photos, the generator crops to a square and lets you move and zoom the crop.
- Leave a little room. The padding and rounded corners settings can help the shape breathe.
- Pick colors from your logo. Color Palette from Image gives you the exact HEX codes. To check that a text and background pair is readable, see How to check color contrast.
If your logo has a background you do not want, Remove Background can make it transparent first. See How to remove the background from a photo. To give a square logo rounded corners or a circle, Round Image saves a transparent PNG.
Step by step
- Open the Favicon Generator.
- Choose the source: an image or logo (PNG, SVG, JPG, WebP and more), one to three letters, or an emoji. You can also try the example logo.
- Drag the picture in the crop box, or use the arrow keys, and set zoom, padding, rounded corners and the background.
- Look at the previews: a light and a dark tab, the 16 px icon at real and enlarged size, an iPhone home screen and an Android circle.
- Tick the files you want and enter the folder where you will upload them (for example
/or/assets/icons/). - Download the ZIP, or save single files from the list.
The list shows the real size of every file. Imgovo reads each file back after creating it and checks sizes, the ICO directory, the manifest and the lines in the HTML snippet. Undo and Redo work with Ctrl+Z and Ctrl+Shift+Z.
If your logo has empty transparent space around it, run it through Trim Transparent Edges first. Its result can be sent straight to the Favicon Generator inside your browser; nothing is uploaded. For the full flow, see Make a logo or icon from a photo.
What can be in the ZIP
| File | Size | Used for |
|---|---|---|
| favicon.ico | 16, 32 and 48 px in one file | Browser tabs, older browsers |
| favicon-16x16.png, favicon-32x32.png, favicon-96x96.png | 16, 32 and 96 px | Browser tabs, high-density screens |
| favicon.svg | vector | Sharp icon at any size, optional dark mode (SVG logos only) |
| apple-touch-icon.png | 180 px | iPhone and iPad home screens |
| android-chrome-192x192.png, android-chrome-512x512.png | 192 and 512 px | Android and installable web apps, site icon uploads |
| maskable-icon-192x192.png, maskable-icon-512x512.png | 192 and 512 px | Android icons that may be cut into a circle or another shape |
| site.webmanifest | – | Describes the icons for installable web apps |
| head-snippet.html | – | The lines to paste into your pages |
| README.txt | – | A short description of the package |
The Apple icon gets a solid background because iPhones and iPads show transparent areas as black.
SVG favicon and dark mode
If your logo is an SVG, you can add favicon.svg. Imgovo removes scripts, links and embedded web content from the file first and tells you how many items it took out. For a one-colour logo you can add a light and a dark colour: the file then follows the browser theme. Browsers that do not support SVG favicons use favicon.ico. To shrink an SVG or change its colours first, use the SVG Optimizer.
Maskable icons
Android may cut an app icon into a circle or a rounded square. A maskable icon keeps the logo inside a safe zone and fills the rest with a background colour. Switch on “Show the maskable safe zone” in the previews to see the circle.
Add the files to your site
- Upload the icon files to the folder you entered in the generator.
- Copy the HTML from the generator’s “Copy HTML” box, or from
head-snippet.html. - Paste it into the
<head>of every page, or into the shared layout or template of your site.
A typical set of lines looks like this. Use the exact snippet the generator gives you, because it matches your files and your folder:
<link rel="icon" href="/favicon.ico" sizes="32x32">
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="manifest" href="/site.webmanifest">
The icon paths inside site.webmanifest are relative to the manifest file, so keep the manifest in the same folder as the icons.
On a website builder, find the “Site icon” or “Favicon” setting and upload the 512 px PNG. The builder then makes the other sizes itself.
If the new icon does not appear
Browsers cache favicons aggressively. After you upload new files:
- Reload the page with a hard refresh.
- Open the site in a private window or another browser.
- Check that
/favicon.icoopens directly in the address bar. - Wait. Search engines can take a while to show a new icon.
Create only an ICO
If you only need an .ico file, use Image to ICO: you choose the sizes, and the finished file is read back to check it. To look inside an existing icon, open it in the ICO Viewer. For other sizes, Resize Image can make a plain PNG at the exact dimensions you need. Format questions are covered in JPG vs PNG vs WebP vs AVIF. For a step-by-step guide to ICO sizes and how to inspect an icon file, read How to convert PNG or JPG to ICO.
Privacy
Your logo never leaves your computer. The icons are created in your browser, and the ZIP is built there too.
Do it now
Open the Favicon Generator, add your logo and download the full icon set.
Frequently asked questions
What is a favicon?
A favicon is the small icon that represents a website in browser tabs, bookmarks and history. Related icons are used when a site is added to a phone's home screen.
What image should I start with?
A square image with a transparent background works best. Simple, bold logos and letter marks hold up better than detailed pictures, because fine detail disappears at 16 × 16 pixels.
Why does the Apple icon have a background?
iPhones and iPads show transparent areas as black, so the generator fills them with a solid background: your icon colour, white, black or a colour you choose.
Can I make only favicon.ico?
Yes. Use the 'Download favicon.ico only' button, or the Image to ICO tool if you want to choose the sizes inside the file.
Is my logo uploaded?
No. The icons are created in your browser, and the ZIP is built there as well.