SVG to ICO converter
Render your SVG logo into a crisp multi-size .ico. Every size is rasterised straight from the vector, so the 16 px version is as sharp as the 256 px one.
SVG favicons: link one, keep the .ico
Every current version of Chrome, Edge, Firefox and Safari accepts an SVG favicon via <link rel="icon" type="image/svg+xml" href="/favicon.svg">. It stays sharp on any screen density and weighs a few hundred bytes. But SVG isn’t understood by older Safari versions for tab icons, by Windows shortcuts, or by the many bots that fetch /favicon.ico blind.
So convert your SVG to an .ico here for the fallback, and serve the SVG itself as the primary icon. Or let the favicon generator produce both, plus the Apple and Android PNGs, from the same file.
A dark-mode-aware SVG favicon
Because an SVG favicon is a document, it can contain a media query. This one draws a dark “F” on light browser chrome and a white one on dark chrome:
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
<style>
path { fill: #1f1a17 }
@media (prefers-color-scheme: dark) { path { fill: #ffffff } }
</style>
<path d="M18 14h30v10H30v7h15v10H30v9H18z"/>
</svg>Questions people ask
How do I convert SVG to ICO?
Drop your .svg file into the converter. Your browser renders the vector at each chosen size (16, 32, 48 and so on) and those renders are packed into one .ico. Nothing is uploaded.
Should I use an SVG favicon instead of ICO?
Use both. Link favicon.svg for modern browsers (sharp at any zoom, and it can adapt to dark mode), and keep favicon.ico at the root for older browsers and tools that request /favicon.ico directly.
My SVG shows up blank or tiny. Why?
SVGs without width, height or a viewBox have no intrinsic size. Open the file and make sure the root svg element has a viewBox, for example viewBox="0 0 64 64". SVGs that load external fonts or images may also render without them.
Can the SVG favicon switch colours in dark mode?
Yes. Put a style block inside the SVG with @media (prefers-color-scheme: dark) and change the fill colours. Chrome, Edge and Firefox honour it; Safari uses its own rendering for tab icons.