Favicon generator
Make a favicon from letters, an emoji, an image or SVG code, check it in a light and a dark browser tab, and download every file sites need in one zip: favicon.ico with 16, 32 and 48 px inside, favicon.svg, a 180 px Apple touch icon, 192 and 512 px manifest icons, and the four <link> tags to paste. Only need to turn a PNG into an ICO? Use the PNG to ICO converter further down.
<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">public/favicon.ico
public/favicon.svg
public/apple-touch-icon.png
public/icon-192.png
public/icon-512.png
public/site.webmanifest
<!-- and the <link> tags in your layout's <head>, e.g. src/layouts/Layout.astro -->PNG to ICO converter
Turn a PNG into a .ico file with the sizes you choose. Each size is stored as a PNG inside the ICO, so transparency is kept. Non-square images are centred, never stretched.
Your icon sizes show here.
Which favicon files get used, and where
Many generators still hand out long lists of icon sizes, mostly for old iOS versions and Windows 8 tiles. Today these five files and one manifest cover browsers, phones and search results. The source column names where each rule comes from, so you can check it.
The ICO carries three sizes so each place can pick the one closest to what it needs: 16 px for a tab on a normal screen, 32 px for a high-density one, 48 px for larger spots such as desktop shortcuts.
| File | Size (px) | Used for | Source |
|---|---|---|---|
favicon.ico | 16, 32, 48 | Browser tabs, bookmarks and history. Requested from /favicon.ico even without a link tag. | HTML Living Standard, link type "icon" |
favicon.svg | Any (vector) | Tabs in Chrome, Edge and Firefox, sharp at every zoom level and on high-density screens. | MDN, <link rel="icon"> |
apple-touch-icon.png | 180 × 180 | iPhone and iPad home screen after "Add to Home Screen". iOS also looks for /apple-touch-icon.png without a tag. | Apple, Safari Web Content Guide |
icon-192.png | 192 × 192 | Android home screen and the install prompt, listed in the web manifest. | web.dev, "Add a web app manifest" |
icon-512.png | 512 × 512 | Splash screen of an installed web app. Chrome needs both 192 and 512 px to offer installing. | web.dev, "Add a web app manifest" |
Google results | Multiple of 48 | The icon next to your site in Google Search: square, at least 8 × 8 px, and a multiple of 48 px per side (48, 96, 144 …) recommended. Any rel="icon" file works, SVG included. | Google Search Central, "Define a favicon" |
Headers and footers where your new icon sits
8 of 100 free, no account. All of them in UI Pro.
01Site header
header-01 · Free. A muted service strip over a 72px bar: wordmark, six centred links, a pill search and saved and bag counts.
Open header-01
02Site footer
footer-01 · Free. Brand and a call-us card, five dense link columns, then trust marks, legal links and an age notice.
Open footer-01- 03
All free blocks
Every one with a live preview, filtered to the ones you can use for free first.
See them all
Questions
What sizes does a favicon need?
Five files cover current browsers and phones: favicon.ico with 16, 32 and 48 px inside, favicon.svg if your icon is vector, a 180 × 180 apple-touch-icon.png for iPhone home screens, and 192 and 512 px PNGs listed in a web manifest for Android and installable web apps. For Google Search the icon has to be square, and Google asks for a side that is a multiple of 48 px (48, 96, 144 and so on). The tags here point it at the SVG, or at the 192 px PNG when there is no SVG.
How do I convert a PNG to ICO?
Use the PNG to ICO converter on this page: choose your PNG, tick the sizes you want inside the file (16, 32 and 48 are the usual set; add 256 for a Windows desktop icon) and download the .ico. Each size is stored as a PNG inside the ICO, which every current browser reads and Windows has read since Vista. Renaming a .png to .ico does not work: an ICO has its own header listing the images.
Do I still need a favicon.ico?
Yes, keep one in the site root. When a page has no icon link, browsers request /favicon.ico anyway (the HTML standard allows it, and Chrome, Firefox and Safari do it), and so do many feed readers and link previews. Browsers that understand SVG favicons will use favicon.svg instead when you link both.
Can I use an SVG as a favicon?
Yes. Chrome, Edge and Firefox show SVG favicons; link the ICO as well for browsers that don't. Put sizes="32x32" on the ICO link, as in the tags above, or Chrome may pick the ICO over the SVG. An SVG favicon can also switch colours for dark tabs with a @media (prefers-color-scheme: dark) rule inside the SVG. An emoji favicon.svg is drawn with the visitor's own emoji font, so it looks a little different on Apple, Windows and Android.
Why does my new favicon not show up?
Browsers cache favicons for a long time, often longer than the rest of the page. Open /favicon.ico directly and reload it, try a private window, or add a version to the links (href="/favicon.svg?v=2") so the browser sees a new address. Also check the file really is at the path in the link: a 404 on /favicon.ico shows in the network tab of the developer tools.
How do I add a favicon in Astro or Next.js?
In Astro, put the files in public/ and the link tags in the <head> of your layout; public/ is served from the site root, so /favicon.ico works. In the Next.js App Router, put favicon.ico, icon.svg and apple-icon.png in app/ and Next.js writes the tags itself; the manifest can be app/manifest.webmanifest, with the 192 and 512 px icons in public/. The "Where the files go" switch above shows both.
Is it free?
Yes. No sign-up, and nothing leaves your browser: the icons are drawn on a canvas in this page and the zip is built here too, so your image is never uploaded.
More free tools
- SVG to PNG converterConvert SVG to PNG, JPG or WebP at 1× to 4× or an exact width, transparent or on a colour. Several files at once, one zip, and a warning when the SVG has no viewBox.
- Free icons150 free SVG icons in one style, with the same names as Lucide. Copy the SVG or JSX, or install the npm package for React. MIT licensed.
- PNG to WebP converterConvert PNG and JPG to WebP (or AVIF where your browser can) in your browser: quality slider, max width, size saved per file, before/after slider, zip download and the <picture> HTML.
- Image color pickerClick any pixel of an image for its HEX, RGB, HSL and OKLCH code, a plain colour name and the closest Tailwind colour, plus a 5–8 colour palette as CSS variables, @theme or JSON.
UI Pro
Build your next site from finished blocks
Every block, page template and website theme from €199, paid once, with every update and everything we add later. Not ready? The free blocks are open to everyone.
- blocks
- 1401
- page templates
- 55
- website themes
- 29

This card is a UI Pro block: Rooilijn (call-to-action-07).