icons.digital

PNG to favicon generator

Every favicon file, plus the HTML to paste.

Your preview shows up here.

Drop one PNG and get every favicon file a website needs, plus the exact lines of HTML to paste into your page. This PNG to favicon generator works in your browser: no upload, no account.

What’s in the pack, and who reads each file

You don’t need 20 favicon files. Going from PNG to favicon takes a handful that cover every browser and phone in use today:

File Size Who uses it
favicon.ico 16, 32 and 48 px inside Every browser tab, bookmarks, older browsers, Google Search
apple-touch-icon.png 180 × 180 iPhone and iPad when someone adds your site to the Home Screen
icon-192.png 192 × 192 Android home screen and Chrome
icon-512.png 512 × 512 Android splash screens and app installs
icon-512-maskable.png 512 × 512 Android, cut to the phone’s icon shape
site.webmanifest small text file Tells browsers where the 192 and 512 icons are
html.txt 4 lines What to paste into your page’s head

The sizes come from the people who read them. Apple’s Safari guide names 180 × 180 for the iPhone icon. Chromium browsers ask for a 192 and a 512 px icon in the web app manifest. Google Search wants a square favicon and recommends one larger than 48 × 48 px.

Add it to your site

Plain HTML. Unzip the PNG to favicon pack into your site’s root folder, next to index.html. Then paste the four lines from html.txt into the head of every page:

<link rel="icon" href="/favicon.ico" sizes="any">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="manifest" href="/site.webmanifest">
<meta name="theme-color" content="#ffffff">

WordPress. WordPress has a Site Icon setting. Where it sits depends on your theme and version. Upload icon-512.png there and WordPress makes the sizes it needs.

Shopify, Wix, Squarespace and other site builders have their own favicon setting in the theme or site settings. Upload icon-512.png, or favicon.ico if the setting asks for one.

Favicon not showing? Check these

  1. Browser cache. Browsers hold on to old favicons for a long time. Open the site in a private window to see the new one.
  2. The path. The link has to point to where the file really is. /favicon.ico means the root of your domain.
  3. Google is slow. Search results update the favicon only when Google next crawls your home page. That can take days or weeks.
  4. Not square. Google ignores favicons that aren’t 1:1. The generator pads wide pictures to a square.

Questions people ask

What size should a favicon be?

For PNG to favicon work, start from a square picture of at least 512 px and let the pack produce the sizes. Browser tabs show 16 or 32 px. Google Search asks for something larger than 48 px. Phones use 180, 192 and 512 px.

Do I still need favicon.ico?

It’s still the safest choice. Every browser looks for /favicon.ico, including ones that never read your HTML link lines. A 32 px ICO is small and never hurts.

Can I use an SVG favicon?

Modern browsers accept one, and it stays sharp at every size. Add it as a fifth line, next to the ICO. If you made your icon here in a flat style, the SVG download is the file to use.

Can I make a favicon from an SVG?

Yes. Drop the .svg file in the box and you get the same pack: favicon.ico, the Apple touch icon and the web app icons.

Is this favicon generator free?

Yes. The whole pack is made in your browser: no upload, no account and no watermark. The files are yours to use on any site, commercial ones included.

Why does Google still show my old icon?

Google refreshes favicons on its own schedule after it crawls your home page again. Check that the new file is live at /favicon.ico and wait. Requesting a fresh crawl of the home page in Search Console can speed it up.

No picture yet? Describe one and the AI icon generator makes it. Need just an ICO for Windows? Use PNG to ICO. Building an app? The app icon generator covers iOS and Android.

No picture yet? The AI icon maker opens very soon. This converter works right now, free.

See the AI maker