Back to All Tools

Favicon Generator

Create favicons from images or text/emoji in all sizes.

100% Private — Your files never leave your browser. All processing happens locally on your device.

Drop image here or browse

iPhones turn clear areas black, so this one icon gets a solid background. Pick a dark colour if your logo is white.
65%
15%

Making your favicon

  1. Pick a source. "From Image" uses a picture you add. "From Text / Emoji" draws a letter or an emoji on a coloured square.
  2. From Image: drop a file or click browse, then click Generate Favicons. If the image is not square, the tool cuts the largest square from the middle, and the sides are lost. Transparent areas stay transparent, except in the 180 × 180 Apple touch icon. That one gets a solid background colour, which is white unless you pick another one. If your browser cannot open the file, a message tells you.
  3. From Text / Emoji: type up to 2 characters. An emoji counts as 1, even with a skin tone or as a flag. Then set the background colour, the text colour, the font (Arial, Georgia, Courier New, Impact or Verdana), the font size (30–90%, starts at 65%) and the corner rounding (0–50%, starts at 15%). The rounding is used for every size except the 180 × 180 Apple touch icon, which is always a full square. Text is always bold. The 128 × 128 preview updates as you go. Click Generate Favicons.
  4. Download. Each size has its own Download PNG button. Download ICO gives you favicon.ico. Download All (ZIP) gives you favicons.zip with all eight PNG files. The ICO is not inside the ZIP, so download it separately.

The files, and where each one is used

The tool makes eight square PNG files: 16, 32, 48, 64, 128, 180, 192 and 512 pixels. It also makes one ICO file. The ICO holds two PNG images, 16 × 16 and 32 × 32. PNG inside ICO works in all current browsers. You do not need every file:

File Used for Do you need it?
favicon.ico (16 × 16 and 32 × 32 inside) Browser tabs, bookmarks and history. Browsers also ask for /favicon.ico on their own. Yes
favicon-16x16.png, favicon-32x32.png The same tab icon as separate PNG files. 32 × 32 is used on sharper screens. Optional. The ICO already holds both sizes.
favicon-48x48.png Some desktop shortcuts and older tools Rarely
favicon-64x64.png, favicon-128x128.png Not asked for by most browsers today Usually not
favicon-180x180.png Apple touch icon: the icon on an iPhone or iPad home screen. The tool makes it a full square with a solid background. Yes
favicon-192x192.png Android home screen, through the web manifest. Also a good size for Google Search. Yes
favicon-512x512.png Install and splash screens of an installed web app (PWA) Only with a manifest

Google Search shows your favicon next to your pages in results. Google asks for a square icon and suggests one larger than 48 × 48, so the 192 × 192 file is a safe choice. The tool does not make an SVG icon or a web manifest file.

Where to put the files

  1. Upload the files to the root folder of your site. That is the folder with your home page, usually index.html. When it works, https://your-site.com/favicon.ico opens the icon.
  2. Add these tags inside the <head> of every page:
<link rel="icon" href="/favicon.ico" sizes="16x16 32x32">
<link rel="icon" type="image/png" sizes="192x192" href="/favicon-192x192.png">
<link rel="apple-touch-icon" sizes="180x180" href="/favicon-180x180.png">
<link rel="manifest" href="/site.webmanifest">

Leave out the last line if you have no manifest. If you want one, create a text file named site.webmanifest in the same folder:

{
  "name": "My Site",
  "short_name": "My Site",
  "icons": [
    { "src": "/favicon-192x192.png", "sizes": "192x192", "type": "image/png" },
    { "src": "/favicon-512x512.png", "sizes": "512x512", "type": "image/png" }
  ]
}

The / at the start of each path means "the root of the domain". If your site lives in a subfolder, such as https://name.github.io/my-project/, remove the / or write the full folder path. Otherwise the browser looks in the wrong place.

Tips for a sharp favicon

If you still see the old icon

Browsers keep favicons in their cache for a long time. After you upload a new one, open /favicon.ico on your site directly and reload it. Then reload your page. A private window shows the new icon more quickly. Bookmarks and home screen icons that already exist may keep the old image until they are added again.

Frequently Asked Questions

Which sizes and files does this tool make?

Eight square PNG files: 16, 32, 48, 64, 128, 180, 192 and 512 pixels. It also makes a favicon.ico file that holds the 16 × 16 and 32 × 32 sizes. The ZIP contains the eight PNG files but not the ICO. The tool does not make an SVG icon or a web manifest.

Which files do I actually need?

For most sites: favicon.ico in the root folder, the 180 × 180 PNG as the Apple touch icon, and the 192 × 192 PNG. Add the 512 × 512 PNG if you use a web manifest. Most browsers do not ask for the 64 × 64 and 128 × 128 files. The exact link tags are in the Where to put the files section on this page.

Why is my Apple touch icon black around the edges?

iOS does not show transparency in home screen icons, so clear areas often turn black. It also rounds the corners by itself. That is why this tool makes the 180 × 180 file as a full square with a solid background. In text mode it uses your background colour with no rounded corners. In image mode it fills clear areas with the Apple touch icon background colour, which is white unless you pick another one.

What happens if my image is not square?

The tool cuts the largest square from the middle of the image and uses only that. Anything outside that square is lost. For a wide logo, make a square version first, for example with the Crop Image tool, so you choose what stays in.

Can I use an emoji with a skin tone or a flag?

Yes. The text box takes up to 2 characters as you see them on screen. An emoji with a skin tone, a flag or a family emoji counts as 1 character, so you can use two of them. The emoji is drawn with your own device emoji font.

Is my logo uploaded to a server?

No. The image is read and resized with the canvas in your browser. The PNG, ICO and ZIP files are made on your device. Nothing is sent to a server.