Web Font WOFF MIME Types for IIS 7.5

Published on Author JFLeave a comment

Quick reference for adding .woff and .woff2 fonts to IIS 7.5 as MIME types.

You can add the MIME type as a global, or for the specific website. For either, you can add it through IIS Manager or the respective XML config files (web.config, etc.).

MIME Type Text:

.woff = application/font-woff

.woff2 = application/font-woff2

This example shows through IIS 7.5 on Windows 2008 R2 for global usage, not for just a single site.

WebFont MIME Type IIS Part 1 WebFont MIME Type IIS Part 2WebFont MIME Type IIS Part 2


Here’s an example of what your WEB.CONFIG file would look like.

<mimeMap fileExtension=”.woff” mimeType=”application/font-woff” />
<mimeMap fileExtension=”.woff2″ mimeType=”application/font-woff2″ />

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.