SVG Favicon vs Apple Touch Icon
These solve different problems — a browser tab icon and an iOS home screen icon — and need entirely separate files.
Different Purposes, Different Requirements
The SVG favicon (`<link rel="icon" type="image/svg+xml">`) displays in the browser tab on supporting browsers — the Apple touch icon (`<link rel="apple-touch-icon">`) is what appears when a user adds your site to their iOS home screen, and iOS specifically requires a PNG for this, not SVG.
- SVG favicon serves the browser tab icon on supporting browsers
- Apple touch icon serves the iOS 'add to home screen' icon specifically
- iOS requires PNG for the touch icon — SVG isn't accepted for this slot
Building the Complete Icon Stack
A robust modern setup declares: an SVG favicon for crisp modern-browser tabs, an ICO fallback for Safari and legacy contexts, and a 180x180px PNG apple-touch-icon for iOS home screens — three distinct files serving three distinct, non-overlapping purposes across the icon ecosystem.
- SVG favicon + ICO fallback covers browser tab icon needs comprehensively
- A dedicated 180x180px PNG apple-touch-icon covers iOS home screen needs
- All three files should typically derive from one consistent source design
Frequently Asked Questions
Can I use the same SVG file for both the favicon and Apple touch icon?
No — Apple's home screen icon system specifically requires a raster PNG at a defined size; export a 180x180px PNG from your SVG master specifically for the apple-touch-icon link tag.
What happens if I don't provide an apple-touch-icon?
iOS will typically generate a screenshot-based icon or fall back to the regular favicon scaled awkwardly — providing a dedicated, properly-sized PNG apple-touch-icon ensures a clean, intentional home screen icon appearance.
Related guides
Ready to Convert Your Image to SVG?
Free online converter — no sign-up, no watermarks, results in under 3 seconds.
Convert Image to SVG — Free