How to make a favicon from your logo
Updated · 13 min read
To make a favicon from your logo, render a simple square version of it as favicon.ico (16, 32 and 48 px) and favicon.svg, add a 180 px Apple touch icon and 192 and 512 px PNG icons with a web manifest, and link them in your page's <head>. At 16 px most logos turn into a smudge, so the favicon usually shows the symbol alone, not the whole logo. This guide lists the files a site needs, shows what survives at 16 px and on a dark tab, and gives the commands and tags to do it by hand. Logobundle builds the same set from one upload. Only need the files? Use the favicon generator.
A real result
AI uploadLogobundle vectorThe favicons it made
The wordmark is too small to read at 16 px, so Logobundle used the flask symbol for the icons. The 16, 32 and 48 px files are shown enlarged, pixel for pixel.

16 px

32 px

48 px (in .ico)

Apple touch, 180 px

Maskable PWA icon
On this page
The favicon files a site needs in 2026
Browsers, phones and other tools each look for a different file, so a complete favicon is a small set rather than one image. This is the set most sites need today:
| File | Size | Who uses it |
|---|---|---|
| favicon.ico | 16, 32 and 48 px in one file | Older browsers, and tools such as feed readers that only ask for /favicon.ico |
| favicon.svg | Any (vector) | Current browsers; sharp at every zoom level and screen density |
| apple-touch-icon.png | 180 px, opaque | iPhone and iPad when someone adds your site to the home screen |
| icon-192.png, icon-512.png | 192 and 512 px | Android and installed web apps (PWA) |
| icon-maskable-512.png | 512 px, art in the middle | Android launchers that crop the icon to a circle or another shape |
| site.webmanifest | Text (JSON) | The installed app's name, colours and icon list |
SVG favicons now work in all major browsers. According to caniuse, Chrome and Edge support them from version 80, Firefox from 41, Samsung Internet from 13, and Safari since version 26 on both macOS and iOS.
That does not make favicon.ico obsolete. Some tools, such as feed readers, only request /favicon.ico from the root of your site and look nowhere else, and browsers too old for SVG favicons need it too. Google Search does not list SVG among its supported favicon formats either, so it needs a raster icon (ICO or PNG) linked from your home page.
The Apple touch icon must be opaque. iOS does not show transparency on the home screen: it fills transparent areas with black, so a dark logo on a transparent background becomes a black square. Give this one file a solid background.
Chromium-based browsers expect at least a 192 px and a 512 px icon in the manifest of a site that can be installed as an app. The maskable icon is the same idea with extra room: Android may cut it to a circle, a squircle or a teardrop, and only a circle in the middle, with a radius of 40 % of the icon's width, is certain to stay visible.
What reads at 16 px and what does not
A browser tab shows the favicon at 16 × 16 CSS pixels, which is 32 device pixels on a high-density screen. At 16 px that is 256 pixels in total: room for one shape and two or three colours, not for a name or a scene. We rendered four logos from our test set at 16 px. The tiles below show those 16 px files enlarged, pixel for pixel.

Bold symbol

Wordmark

Thin line art

Detailed scene
- Flask (✓): the body of the flask is a solid teal shape that reads as a flask even at this size. It is not perfect: the small molecule and bubbles above the neck merged into a blotchy cluster. A simpler symbol without them would be crisper.
- Wordmark (✗): "HAMMER AND HOME" is set in bold capitals, but at 16 px each line of letters is only two or three pixels tall. The words become striped bands of blue and grey, and the house and hammer on top shrink to a blob. Use the symbol alone, or a single letter, for the favicon.
- Thin line art (✗): the cat reading a book is drawn with thin dark lines on white. At 16 px each line covers only part of a pixel, so it is averaged with the white around it, and the whole drawing fades to a pale grey patch. Thicken the lines or fill the shapes for the small sizes.
- Detailed scene (✗): a bicycle in front of a skyline has thin wheels, a frame, small windows and towers, all thinner than a pixel at this size. They blend into grey, and the name below becomes a darker band. Pick one element, such as the wheel, and draw it boldly.
The rule behind all four: at favicon size, anything thinner than about one pixel turns grey, and two shapes closer than a pixel merge. Bold filled shapes with strong contrast survive; lettering, outlines and small parts do not.
Upload your logo and see its 16 and 32 px favicons, enlarged, for free.
Use the symbol, not the whole logo
Most logos have two parts: a symbol and the name. In a 16 px tab, the name takes space the symbol needs, and it is too small to read anyway. The flask logo shows the difference.

Symbol alone, 16 px

Whole logo, 16 px
With the name, the flask has to share the square with "CHEMICA LABORATORIES", so it shrinks to about half the height, and the name becomes a grey band you cannot read. Alone, the flask fills the square and keeps its shape. Your visitors see the full name on the page and in the tab title next to the icon; the favicon only has to be recognisable.
If your logo is a wordmark only, use its first letter, or a monogram, in the logo's colours on a solid square.
Logobundle measures how much detail your logo loses at favicon size. If the whole logo is too busy and it has a separate symbol, the favicons and app icons use the symbol alone, while share images keep the full logo. It did that for the flask. It cannot simplify a symbol that is detailed in itself: the pack then adds a note that the symbol will look like a smudge at small sizes, and you need a simpler version made by hand. The same goes for app icons; the app icon guide covers the larger sizes and the masks phones apply.
Dark browser tabs
Many people run their browser in dark mode, and then the tab behind your favicon is dark grey. A transparent favicon in dark ink, which looked fine on white, can vanish. We put the 32 px favicon from two Logobundle packs on a dark tab.

Dark line art on a dark tab

Bright colour on a dark tab
The cat is drawn in near-black lines on a transparent background, and on the dark tab it is almost invisible. The fox is bright orange and stands out clearly. Both packs kept the whole logo, name included, and in both the dark lettering under the symbol nearly disappears. That is one more reason to use the symbol alone.
Three ways to make a favicon that works on light and dark tabs:
- Use a mid-tone colour, such as orange, teal or a medium blue, that contrasts with both white and dark grey.
- Add a light outline around dark art, one pixel wide at 16 px.
- Put the symbol on a solid square or circle in a brand colour, so the tab colour no longer matters.
An SVG favicon can also change colour by itself. Because it is a small SVG document, it can carry a CSS media query that switches the fill when the system is in dark mode:
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
<style>
path { fill: #1d2433; }
@media (prefers-color-scheme: dark) {
path { fill: #f2f2f2; }
}
</style>
<path d="M6 4h20v24H6z"/>
</svg>Logobundle's favicon.svg does not do this: it is the colour SVG of the icon (the symbol or the whole logo, on its tile if your logo has one), with the same colours on every tab. If you want the switch, add a style block like the one above by hand. Only browsers that use the SVG favicon will follow it; the .ico and PNG files keep one set of colours.
Make the files by hand
You need a vector version of your logo first. If you only have a PNG or JPEG, convert the PNG logo to SVG first; if it came from Gemini, the Gemini guide shows how to clean it up before tracing. Then make a square SVG of the symbol alone, called icon.svg here, with a little space around the art.
- 1Export 16, 32 and 48 px PNG files from icon.svg. In Inkscape, use the Export dialog (Shift+Ctrl+E), choose PNG and set the width; on the command line, rsvg-convert does the same.
- 2Look at the 16 px file enlarged. If it is a smudge, simplify the SVG (thicker lines, fewer parts) and export again.
- 3Combine the three PNG files into favicon.ico with ImageMagick 7: magick 16.png 32.png 48.png favicon.ico.
- 4Copy icon.svg as favicon.svg.
- 5Export a 180 px apple-touch-icon.png with a solid background colour, so iOS does not fill it with black.
- 6Export icon-192.png and icon-512.png, and an icon-maskable-512.png with the art shrunk into the middle and a solid background to the edges.
- 7Write site.webmanifest with your site's name, colours and the three icons.
for s in 16 32 48 192 512; do rsvg-convert -w $s icon.svg -o $s.png; done
magick 16.png 32.png 48.png favicon.ico
cp icon.svg favicon.svg
rsvg-convert -w 180 -b white icon.svg -o apple-touch-icon.png
mv 192.png icon-192.png && mv 512.png icon-512.png
rsvg-convert -w 288 -b white --page-width 512 --page-height 512 \
--left 112 --top 112 icon.svg -o icon-maskable-512.pngrsvg-convert keeps the aspect ratio when you give only a width, which is why icon.svg should be square. The -b option fills the background, which makes the Apple and maskable icons opaque; replace white with your brand colour if you prefer. The maskable command draws the art 288 px wide in the middle of a 512 px page, which keeps it inside the safe circle.
{
"name": "Your Site",
"short_name": "Site",
"icons": [
{ "src": "/icon-192.png", "sizes": "192x192",
"type": "image/png" },
{ "src": "/icon-512.png", "sizes": "512x512",
"type": "image/png" },
{ "src": "/icon-maskable-512.png", "sizes": "512x512",
"type": "image/png", "purpose": "maskable" }
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}Logobundle's Complete pack contains the same files, plus favicon-16x16.png, favicon-32x32.png and a head-snippet.html with the tags. The PNG icons are rendered from the vector at each size; the three .ico frames are scaled down from one 256 px render. Its manifest leaves name and short_name empty: fill them in before you publish.
Add the favicon to your site
On a plain HTML site, copy the files to the root of the site, next to index.html, and add these tags inside <head> on every page:
<link rel="icon" href="/favicon.ico" sizes="48x48">
<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">Browsers that understand SVG use favicon.svg; older ones ignore that line and use the .ico. Keep the sizes attribute on the .ico line: with sizes="any", Chrome can pick the .ico over the SVG. Evil Martians' favicon guide uses sizes="32x32"; Logobundle's snippet uses 48x48.
Next.js (App Router)
app/favicon.ico
app/icon.svg
app/apple-icon.png
app/manifest.webmanifest
public/icon-192.png
public/icon-512.png
public/icon-maskable-512.pngNext.js picks up these files by name and writes the tags for you, so you add no <link> tags by hand. favicon.ico only works at the top level of app/. The manifest's icons point to files in public/, which Next.js serves from the root of the site.
Astro, Vite and other static sites
Put all the files in the public/ folder. Astro and Vite copy it to the root of the built site unchanged, so public/favicon.svg is served as /favicon.svg. Then paste the four tags into the <head> of your layout (in Astro, the layout component; in Vite, index.html).
WordPress
WordPress makes its own icons from one image, which it calls the Site Icon. Since WordPress 6.5 it is under Settings → General → Site Icon; before that, it was under Appearance → Customize → Site Identity. Upload a square PNG of at least 512 × 512 px: icon-512.png from the set works. WordPress then adds the tags itself, so you do not need the HTML snippet.
Troubleshooting
Most favicon problems are one of these:
- Blurry favicon: usually a large PNG that the browser shrank to 16 or 32 px. Render each size from the vector, and simplify the art for 16 px if it is still soft.
- The old icon still shows: browsers cache favicons hard. Open the file's address directly, such as yoursite.com/favicon.ico, and reload it, then hard-reload your page (Ctrl+Shift+R, or Cmd+Shift+R on a Mac). Renaming the files, or adding ?v=2 to the href, forces a fresh download.
- Wrong or missing icon in Google results: Google uses one favicon per host name, taken from your home page. The icon must be square and at least 8 × 8 px, and Google recommends larger than 48 × 48 px. It must be linked from the home page with rel="icon" (Google also reads a few other rel values), in a format Google supports (ICO and PNG work; SVG is not on Google's list), and neither the home page nor the icon file may be blocked from crawling. Changes can take days or weeks to show; the URL Inspection tool in Search Console can ask Google to recrawl the home page.
- Black square on an iPhone home screen: apple-touch-icon.png has a transparent background. Export it again with a solid background.
- Icon cut off on Android: the maskable icon's art reaches outside the safe circle. Keep it inside a circle in the middle with a radius of 40 % of the width.
- Favicon works locally but not online: check that the files were uploaded to the root and that the paths in the tags start with a slash.
Try every file before you pay
- Previewevery image file, watermarked
- Free
- Logovectors, print, PNG
- €8.99
- Complete+ favicons, app icons, social
- €18.99
No account, ready in about a minute. Your image is only used to make your files, sits behind a private link and is deleted after 30 days.
Upload your logo image
A PNG, JPG or WebP: from an image generator, an old website or a scan. A plain or transparent background works best.
Preview the pack, free
Every image file, with a watermark. Try the favicon in your site and the icon on your phone.
Get it clean
Pay once, from €8.99: no watermark, the SVG vectors, and the AI boost, which redraws your logo flat and clean first. Prefer the plain trace? Untick it at checkout.
Pricing
Complete
€18.99 paid once
- AI boost: redrawn flat and clean before tracing
- SVG vectors that scale to any size
- Print-ready PDF and EPS
- Transparent PNGs, WebP and AVIF, black and white versions
- Favicons, touch icons, web manifest
- iOS, Android and desktop app icons
- Share images for links and profiles
- Die-cut sticker, 50, 75 and 100 mm
Logo
€8.99 paid once
- AI boost: redrawn flat and clean before tracing
- SVG vectors that scale to any size
- Print-ready PDF and EPS
- Transparent PNGs, WebP and AVIF, black and white versions
- Die-cut sticker, 50, 75 and 100 mm
No favicons, app icons or share images.
Free
€0 watermarked
Every image file with a watermark, to check the result. No vectors, preview only.
One-time payment. The AI boost is included; prefer the plain trace? Untick it at checkout.
Only need stickers? Sticker pack for €4.99 with print-shop, Cricut and Silhouette files and ready-made sheets.
Questions
- Where do I put the favicon files?
- Copy them to the root of your site (or the public folder in frameworks like Astro or Vite) and paste the included HTML tags into the <head>. Next.js picks up favicon.ico, icon.svg and apple-icon.png from the app folder by file name, and WordPress builds its icons from the Site Icon setting. Adding the favicon to your site has the details.
- Why does my favicon look blurry?
- Usually because a large logo was simply scaled down. Logobundle renders the PNG icons from the vector at each size and can switch to the logo's symbol when the full logo is too detailed for 16 px.
- What size should a favicon be?
- favicon.ico should hold 16, 32 and 48 px versions, favicon.svg has no fixed size, the Apple touch icon is 180 × 180 px, and the web app icons are 192 and 512 px. For Google Search, the icon must be square and at least 8 × 8 px; Google recommends larger than 48 × 48 px.
- Do I still need favicon.ico?
- Yes, for now. Current browsers use favicon.svg, but some tools, such as feed readers, only request /favicon.ico, older browsers need it, and Google Search does not list SVG among its favicon formats. One small .ico with 16, 32 and 48 px versions covers them.
More answers in the main FAQ.
