Web font formats compatibility across browsers
Different web font formats have varying levels of support across browsers. Understanding these compatibility differences is crucial for ensuring your web fonts display correctly for all users.
For optimal cross-browser compatibility, it's recommended to provide multiple font formats in your @font-face declarations.
Browser Compatibility Chart
Format | Chrome | Firefox | Safari | Opera | Edge | IE |
---|---|---|---|---|---|---|
TTF/OTF | ✅ | 3.6+ | ✅ | 10.6+ | ✅ | |
WOFF | 5+ | 3.6+ | 5.1+ | 11.6+ | ✅ | 9+ |
WOFF2 | 36+ | 39+ | 23+ | 14+ | ❌ | |
EOT | ❌ | ❌ | ❌ | ❌ | ❌ | 6+ |
SVG | 4-37 | ❌ | 3.2+ | 9.5-24 | ❌ | ❌ |
References
Font Format Details
TTF/OTF (TrueType Font)
TrueType is one of the most common font formats, originally developed by Apple. It has good support across modern browsers but results in larger file sizes compared to compressed web font formats.
WOFF (Web Open Font Format)
Web Open Font Format was developed specifically for web use. It's essentially a compressed container for TrueType or OpenType fonts, resulting in faster loading times while maintaining good browser compatibility.
WOFF2 (Web Open Font Format 2)
WOFF2 offers superior compression compared to WOFF (about 30% smaller file sizes), making it the most efficient format for web use. It's supported by all modern browsers but not by older versions.
EOT (Embedded OpenType)
Embedded OpenType was developed by Microsoft and is only supported by Internet Explorer. It was the first format to enable web fonts but is now considered legacy technology.
SVG (Scalable Vector Graphics Font)
SVG fonts allowed fonts to be defined using SVG's path data, but they've been deprecated and are no longer supported in most browsers. They were primarily used for iOS Safari compatibility in older versions.
Recommended Implementation
For the best cross-browser compatibility, we recommend using the following @font-face declaration with a fallback chain:
@font-face { font-family: 'FontName'; src: url('webfont.eot'); /* IE9+ Compat Modes */ src: url('webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('webfont.woff2') format('woff2'), /* Super modern browsers */ url('webfont.woff') format('woff'), /* Modern browsers */ url('webfont.ttf') format('truetype'), /* Safari, Android, iOS */ url('webfont.svg#FontName') format('svg'); /* Legacy iOS */ }
Need to Convert Font Formats?
Now that you understand compatibility, convert your font files to ensure perfect display across all browsers!
Start Converting Fonts