Urgent.News

What's breaking now, across thousands of outlets.

Tech

SVG favicons: what browsers actually read in 2026 (and when you still need an ICO)

SVG favicons are the dream: one crisp vector file, scales forever, tiny payload. And in 2026 most of that dream works — but "most" is doing a lot of heavy lifting. Depending on which browser, which platform, and which non-browser tool fetches your icon, the SVG you shipped may be read, ignored, or replaced by a request for /favicon.ico you never made. Here's what actually happens, and the link…

SVG favicons offer the advantages of crisp vectors that scale infinitely and have smaller payloads compared to raster images. In 2026, most browsers - including Chrome, Firefox, and Edge - read link rel=icon type=image/svg+xml href=/favicon.svg and prefer them over raster alternatives when correctly declared. SVG favicons can even embed CSS with media queries for dark mode changes without JavaScript.

However, Safari on macOS has quirks: it historically ignored the type attribute and selected icons based on sizes and order. Therefore, declaring both a PNG and an SVG without proper order can result in Safari grabbing the wrong icon. Additionally, iOS Safari only reads apple-touch-icon (180x180 with no transparency), so fancy SVG icons may not display correctly on iPhones.

Non-browser consumers like feed readers, crawlers, chat link previews, and some enterprise tooling also often ignore HTML and fetch /favicon.ico by convention. If you don't provide an ICO, these tools will show a blank square or generate 404 errors on every request. To ensure compatibility with all consumers, ship an ICO as the minimum requirement, use SVG as an upgrade for modern browsers, and include apple-touch-icon for iOS devices.

The ideal approach is to provide a fallback ICO for all consumers, an SVG for modern browsers, and apple-touch-icon for iOS devices. Generating each raster size from the original vector instead of using screenshots or upscaling is the recommended method. Tools like SVG to ICO converters and PNG to ICO converters can help achieve this.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Fixing one bug in my security tool would have hidden every alert in my test project

I maintain depquiet . It sits on top of pip-audit, uv audit and npm audit and tries to cut down the noise. The one rule I care about is that it should never hide something real.

  • Bug fix nearly suppressed all security alerts in test project
  • EPSS scores estimated CVE exploitation likelihood
  • Rojas adjusted default behavior to sort findings instead

Release-Day Checklist: Upload Localized Screenshots to App Store Connect and Google Play Without Surprises

Get the right screenshots into the right language listing, in the right order, and you can finish release day with a page you have actually verified. The last mile deserves its own checklist.

  • Lock down release details before export, including app version, languages, devices, and timeline.
  • Align visuals and outputs for each localized screenshot, specifying language and output sizes.

More from Thursday 12 November →