SVG vs ICO Icons

SVG is the future; ICO is the floor. Ship both.

4 min read

Check favicons on any website

Install the FetchFavicon Chrome Extension to extract, preview, and validate favicons instantly.

Install Chrome Extension

Why SVG wins on modern browsers

One file, infinitely scalable, supports dark-mode media queries. File size is typically under 2KB.

Why ICO is still essential

Older browsers, Windows shortcuts, and some embedders only read .ico. Skipping it produces a broken icon for ~5% of users.

Use both together

Link favicon.ico first as a universal fallback, then a <link rel="icon" type="image/svg+xml"> on top for browsers that support it.

Platform Dimension Specifications & Compression Benchmark

Standard dimension requirements across search engines, mobile OS, and WebAssembly Oxipng lossless byte reduction.

WebAssembly Oxipng Lossless
Platform Dimension Specifications & Compression Benchmark
Target Platform / OSRequired DimensionsFormat & DeliveryOxipng Wasm WeightByte Savings
Google Search SERP48×48 px (multiples of 48).ico, .png4.6 KB-68.9%
Apple iOS / iPadOS Safari180×180 px.png (apple-touch-icon)14.8 KB-67.9%
Android Chrome & PWA192×192 px & 512×512 px.png (site.webmanifest)59.1 KB-69.3%
Windows Edge & Desktop16×16, 32×32, 48×48 pxMulti-resolution .ico8.8 KB-69.5%
Legacy Web Browsers32×32 px / 16×16 px.ico (/favicon.ico)3.1 KB-67.0%

* Benchmark measurements based on lossless RGBA Oxipng WebAssembly compression executing locally in modern web browsers.

FAQ

Should I use SVG or ICO for a favicon?

Use both. Link favicon.ico as the universal fallback, then add <link rel="icon" type="image/svg+xml"> for scalable rendering on modern browsers.

Does SVG work in every browser?

Most modern browsers support SVG favicons, but older browsers and some embedders still need .ico. Never ship SVG alone.

Can an SVG favicon support dark mode?

Yes. Embed a <style>@media (prefers-color-scheme: dark) { ... }</style> block inside the SVG file.

Related guides

Try the tools

Continue reading