Favicon for Bootstrap
How to add a favicon in Bootstrap
Bootstrap is a CSS framework, not a site builder, so adding a favicon is plain HTML: place favicon.ico at your site root and add the icon, apple-touch-icon, and manifest <link> tags inside the <head> of your HTML pages. Bootstrap does not change how favicons work - the standard markup applies.
What you need
- favicon.ico at the site root, plus PNG favicons (16/32), a 180x180 apple-touch-icon, and 192/512 PWA icons.
- Access to your HTML files' <head> (Bootstrap itself adds nothing here).
- A site.webmanifest declaring the Android/PWA and maskable icons.
Step-by-step: add a favicon in Bootstrap
- Generate the icon set. Use Logo2Favicon to produce favicon.ico, the PNG sizes, the Apple touch icon, the PWA icons, a maskable icon, and the manifest - all in your browser, nothing uploaded.
- Place favicon.ico at the root. Copy favicon.ico to the top level of your site, next to your index.html. Browsers request /favicon.ico automatically.
- Add the link tags to <head>. Inside the <head> of each page (the same place your Bootstrap CSS link sits), add the icon, apple-touch-icon, and manifest link tags using root-absolute paths.
- Verify. Open the page, check the tab icon, and confirm /favicon.ico and /site.webmanifest both return 200.
<link rel="icon" href="/favicon.ico" sizes="any">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="manifest" href="/site.webmanifest">Common mistakes to avoid
- Assuming Bootstrap handles favicons - it is only CSS/JS and adds nothing to the head; you add the tags yourself.
- Using relative paths that break on nested URLs; use root-absolute paths like /favicon.ico.
- Adding the tags to one page instead of every page (or a shared header include), so only some routes get the icon.
- Adding transparency to the Apple touch icon; iOS fills transparent pixels with black.
Free forever, no sign-up
Generate a complete icon set for Bootstrap
One logo in, every file out: favicon.ico, the PNG sizes, the Apple touch icon, Android and PWA icons, a maskable icon, the web manifest, and a copy-paste snippet ready for Bootstrap. Free, private, and generated in your browser.
Open the generatorFrequently asked questions
- Does Bootstrap have a favicon setting?
- No. Bootstrap is a CSS and JS framework, not a CMS, so it has no favicon control. You add the favicon with standard HTML link tags in your <head>, exactly as you would on any static site.
- Where do I add the favicon in a Bootstrap project?
- In the <head> of your HTML pages, next to the Bootstrap CSS link, and place favicon.ico at the site root. Use a shared header include so every page gets the same icon tags.
- What favicon files do I need for a Bootstrap site?
- The same modern set as any HTML site: favicon.ico, a 32x32 PNG, a 180x180 apple-touch-icon, and a site.webmanifest with 192 and 512 icons. Logo2Favicon generates all of them at once.
- Why is my Bootstrap site's favicon not showing?
- Confirm the files return 200 (a 404 silently falls back to the default), that the link tags are inside <head>, then hard-refresh because browsers cache favicons aggressively.
Favicon guides for other platforms
New to favicons? Read the complete favicon guide and the icon size cheatsheet, or jump straight to the favicon generator.