WeblixTools
Free • Favicons, dark mode SVG and iOS & Android app icons

SVG Favicon Generator with Dark Mode

Create a vector SVG favicon that follows the visitor's light or dark browser theme.

Presets:

Icon Configuration

Corner Squircle Radius22%
Square (0%)Apple Squircle (22%)Pill / Circle (50%)
Glyph Padding / Margin4%
Dynamic SVG Dark Mode Overrides

When a user toggles their OS or browser into Dark Mode, this background color activates automatically via CSS:

#0f172a
Icon preview
Full size (512 × 512)

This is the 512 px icon from your download. The smaller sizes are drawn separately so they stay sharp.

Vector SVGMulti-Res .ICOiOS 18 Xcode

Browser tab preview

WeblixTools – My App
https://weblixtools.com

Home screen preview

iPhone & Android
Standard1024x1024
iOS 18 DarkDark Mode
iOS 18 TintedMonochrome
Android RoundAdaptive

Framework Implementation

Next.js 14 / 15 / 16 (App Router)
// Next.js 14 / 15 / 16 (App Router)
// Simply place these generated files in your 'app/' directory:
// 1. app/icon.svg           (Generated dynamic dark/light vector favicon)
// 2. app/apple-icon.png     (180x180 Apple Touch Icon)
// Next.js serves them automatically, no extra code needed
HTML5 / Astro / Vite
<!-- Modern HTML5 Head Tags -->
<link rel="icon" href="/icon.svg" type="image/svg+xml" sizes="any" />
<link rel="icon" href="/favicon.ico" sizes="32x32" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="manifest" href="/site.webmanifest" />
From the blog

Guides on Favicons and App Icons

All articles
Reviews

What Our Users Say

Real feedback from people using WeblixTools, checked by our team before it appears.

How the SVG favicon generator works

An SVG favicon is a vector file, so the browser redraws it sharply at any size, and the one made here swaps to your dark colours with a prefers-color-scheme media query. Chrome, Edge, Firefox and current Safari support it; keep favicon.ico and apple-touch-icon.png from the download as fallbacks.

How to use it

  1. 1Type a letter or pick an emoji, then choose a background colour or gradient.
  2. 2Set the dark-mode colours so the icon stays readable on dark tabs.
  3. 3Check both themes in the 16 px browser-tab preview.
  4. 4Download the ZIP and add the <link rel="icon" type="image/svg+xml"> snippet to your page <head>.

What's inside the icon.svg file

The SVG in the download is a few lines of plain text on a 100 × 100 grid. It holds a rounded rectangle for the background, your letter or emoji as a text element, and a short style block that changes both colours when the visitor's system is set to dark mode. A letter favicon made this way is usually well under 1 KB.

Uploads are handled differently. An SVG logo stays a vector: with a transparent background, no padding and 100% scale, the file you get is your own SVG untouched, and otherwise it's placed inside the tile. A PNG, JPG or WebP upload is embedded in the SVG as a 256 px image, so it won't be any sharper than the PNG files. For a crisp vector favicon, upload an SVG.

One thing to know about letters and emoji: inside an SVG they're drawn with the visitor's own fonts. A 🚀 favicon shows Apple's rocket on a Mac and Microsoft's on Windows. The PNG and ICO files are fixed pictures made on your device, so they look the same everywhere.

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
  <style>@media (prefers-color-scheme: dark) { .bg { fill: #0f172a; } .fg { fill: #a5b4fc; } }</style>
  <rect class="bg" width="100" height="100" rx="22" fill="#4f46e5"/>
  <text class="fg" x="50" y="52" font-size="57" font-weight="bold" fill="#ffffff"
        text-anchor="middle" dominant-baseline="central">W</text>
</svg>

Which browsers show SVG favicons

Chrome, Edge and Firefox have supported SVG favicons for years. Safari added them in Safari 26 (2025), but a WebKit bug report from Safari 26.3 says it doesn't apply the dark-mode media query yet. That's why the ZIP also has favicon.ico and an Apple touch icon.

Where it's shownUses the SVGSwitches for dark mode
Chrome and Edge (desktop, Android)YesYes
FirefoxYesYes
Safari 26 and laterYesNot yet, per WebKit bug 309949
Safari 18 and olderNo, uses favicon.icoNo
iPhone and iPad home screenNo, uses apple-touch-icon.pngNo
Google Search resultsAccepts SVGShows one version

The head tags, in the right order

List the SVG first so browsers that understand it pick it. The sizes="32x32" on the ICO line matters: without it, Chrome can prefer the ICO over the SVG. The Apple touch icon and the manifest cover home screens, which don't read SVG favicons.

Keep favicon.ico at the root of your site as well. Some browsers, RSS readers and crawlers still request /favicon.ico directly without reading your HTML.

<link rel="icon" href="/icon.svg" type="image/svg+xml" sizes="any" />
<link rel="icon" href="/favicon.ico" sizes="32x32" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="manifest" href="/site.webmanifest" />

When a PNG favicon is the better choice

  • Your logo is a detailed photo or illustration. Embedding it in an SVG makes a bigger file than the PNG and gains nothing.
  • You need an emoji to look identical for every visitor. Use the PNG and ICO files only, since they don't depend on the visitor's emoji font.
  • Your site has its own light/dark switch. The SVG follows the operating system setting, not your site's toggle, so the two can disagree.

Modern Icon Packages vs. ICO/PNG-Only Converters

Web standards have evolved. A single fixed-size PNG or ICO looks soft on high-density screens and can disappear on dark browser tabs.

FeatureWeblixToolsBasic ICO/PNG converter
Dynamic SVG Dark/Light Mode✓ Yes, with a CSS media queryFixed colours only
Apple iOS 18 Light/Dark/Tinted✓ Complete AppIcon CatalogSingle 180 px PNG
Where Your Image Is Processed✓ In your browser, nothing uploadedVaries; often uploaded to a server
Framework-Ready Snippets✓ HTML, Next.js App RouterGeneric HTML tags
PWA Web Manifest✓ site.webmanifest includedUsually not included

Frequently Asked Questions

How does the SVG dark mode favicon work?

The generated SVG file embeds a @media (prefers-color-scheme: dark) stylesheet directly in the vector markup. Browsers evaluate this CSS dynamically to switch icon colors instantly.

Do I still need a favicon.ico if I use an SVG favicon?

Yes, keep it as a fallback. Older browsers and some crawlers still request /favicon.ico, so the download includes a multi-size ICO alongside icon.svg.

Why does my SVG favicon not change when I switch dark mode?

Browsers cache favicons aggressively. Hard-reload the page or add a version query such as /icon.svg?v=2 to the link tag after you replace the file.

See all FAQs →