SVG favicon generator
Export a clean, scalable SVG favicon from any of 12,766 free icons. Choose .svg in the format menu. The favicon pack doesn’t include the SVG, so you download it on its own and add a <link> for it yourself.
How to make it
- 1
Design your icon
Pick one of 12,766 icons and style it: colours, gradients, a shape, padding and effects.
- 2
Download the SVG
In the format menu, choose .svg. It downloads named after your icon, so rename it favicon.svg and put it in your site root.
- 3
Add the fallbacks
Switch the format menu to Favicon pack for the ICO, PNGs and Apple touch icon. The pack has no SVG, so add the SVG <link> yourself.
Why SVG
Sharp at any density
A vector stays crisp on any screen, at any zoom, without a separate file per size.
Usually small
A simple icon on a shape is a handful of paths, often smaller than the PNGs it replaces.
Easy to theme
It is just text, so you can edit colours by hand, including a dark-mode variant.
SVG favicons work in Chrome and Edge 80+, Firefox 41+ and Safari 26.0+ on macOS and iOS (Can I use, WebKit). Safari 18 and earlier need a fallback, so keep shipping a favicon.ico, the PNGs and an Apple touch icon as fallbacks.
The <head> to use
The SVG goes first, then the favicon pack’s tags. Browsers that understand SVG use it; the rest fall back to the ICO and PNGs.
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="manifest" href="/site.webmanifest">FavForge’s own site uses a slimmer version: the SVG, favicon.ico, the Apple touch icon and the web manifest. Favicon sizes compares the two.
Dark mode is a hand edit
FavForge’s SVG export has fixed colours and no prefers-color-scheme rules. If you want the icon to change in dark mode, add a style block yourself, like this:
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<style>
.icon { fill: #2563eb; }
@media (prefers-color-scheme: dark) {
.icon { fill: #ffffff; }
}
</style>
<!-- FavForge's shapes go here; add class="icon" to the ones to recolour -->
</svg>Example only: you add this yourself. FavForge’s download does not contain it.
Questions
Is an SVG favicon enough on its own?
Not yet. SVG favicons work in Chrome and Edge 80 and later, Firefox 41 and later, and Safari 26.0 and later on macOS and iOS, but Safari 18 and earlier need favicon.ico or a PNG, and iPhones and iPads use the Apple touch icon on the home screen. Ship the SVG alongside the favicon pack.
Which files you actually need →Does the favicon pack include an SVG?
No. The pack has favicon.ico, the PNG favicons, the Apple touch icon, the Android and maskable icons, a web manifest and a README. Download the SVG separately by choosing .svg in the format menu, and add its <link> tag yourself.
Can the SVG adapt to light and dark themes?
Not as downloaded: FavForge’s SVG has fixed colours and no dark-mode rules. You can add them yourself with a prefers-color-scheme media query inside the SVG; the example on this page shows the idea.
Can I reopen the SVG later?
Yes. Every SVG FavForge exports stores the design in its metadata. Drop it back on FavForge to keep editing, as long as an optimiser hasn’t stripped the metadata out.
How reopening works →