Favicon Generator

Turn any image or logo into ready-to-use favicon sizes for your website — free and private.

Click to choose a square image or drop it here

What a favicon is and which sizes you need

A favicon is the small icon of a website: it appears in the browser tab, in bookmarks, in the history list, next to your site in some search results, and on a phone's home screen when someone saves your site. This generator turns your logo into the common favicon sizes, 16, 32, 48, 64 and 180 pixels, as PNG files with a preview of each. A logo that is not square is centred in the square with transparent space around it instead of being stretched.

How to make a favicon from your logo

  1. Upload a square image or logo (PNG works best).
  2. Click Generate Favicons.
  3. Download each size you need.
  4. Add the link tag shown to your website's head section.

Features

  • Generates 16, 32, 48, 64, and 180 px icons.
  • Includes the 180 px Apple touch icon size.
  • Shows the HTML tag to paste into your site.
  • Local processing — your logo stays private.
  • Free with no watermark.

What each size is for

FileWhere it is used
favicon-16.pngBrowser tabs on normal screens, bookmarks bar
favicon-32.pngBrowser tabs on high-resolution screens, Windows taskbar shortcuts
favicon-48.pngSearch results and some desktop shortcuts
favicon-64.pngLarger shortcuts and high-resolution displays
favicon-180.pngApple touch icon: iPhone and iPad home screen

Adding the icons to your site

Upload the PNG files to the main folder of your website (for example public_html on Hostinger or cPanel), then put these lines inside the <head> of every page, or in your theme's header:

<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16.png">
<link rel="apple-touch-icon" sizes="180x180" href="/favicon-180.png">

All modern browsers accept PNG favicons. On WordPress you can skip the code: go to Appearance → Customize → Site Identity → Site Icon and upload a square image of at least 512 × 512 pixels.

Designing a logo that survives at 16 pixels

  • Use one bold shape or one or two letters, not the full logo with a slogan.
  • Strong contrast: a dark shape on a light background, or the other way round.
  • Start from a square image of at least 256 × 256 pixels. SVG and PNG logos give cleaner edges than a small JPG.
  • Look at the 16-pixel preview. If you cannot tell what it is, simplify the design.

The old icon still shows?

Browsers keep favicons in their cache for a long time. Open your site in a private window, or add ?v=2 to the file name in the link tag, to see the new icon straight away. Search engines update the icon in results on their own schedule, which can take weeks.

Your privacy

Your logo is resized by your own browser; it is not uploaded anywhere. Nothing is kept after you close the page.

Frequently asked questions

Which favicon sizes do I need?

32 × 32 and 16 × 16 for browser tabs, and 180 × 180 as the Apple touch icon for iPhone home screens. The 48 and 64 px versions help on high-resolution screens and in some search results.

Does my logo have to be square?

No. A non-square logo is centred in the square with transparent space around it, so it is not stretched. A square design still fills the icon best.

Do I need a favicon.ico file?

Not for modern browsers, which all accept PNG favicons through the link tags. Very old browsers look for /favicon.ico; you can rename the 32 px PNG for them, or ignore it.

How do I add a favicon in WordPress?

Go to Appearance → Customize → Site Identity → Site Icon and upload a square image of at least 512 × 512 pixels. WordPress makes the sizes for you.

Why does my old favicon still show?

Browsers cache favicons. Check in a private window, or add ?v=2 to the file name in your link tags. Search results update on their own schedule.

Is my logo uploaded?

No. The icons are made in your browser.

Related tools