# .eot MIME Type: application/vnd.ms-fontobject

> A web font format that only Internet Explorer ever supported.

- MIME type: `application/vnd.ms-fontobject`
- Extensions: .eot
- Content-Type header: `application/vnd.ms-fontobject`
- Compress in transit: yes
- File signature: `4C 50` at offset 34

## Good to know

- With Internet Explorer gone, drop `.eot` from your `@font-face` rules — WOFF2 works in every current browser.
- Old "bulletproof" `@font-face` snippets put `?#iefix` after the .eot URL. That hack can go too.

## Server configuration

### nginx (inside the types block in mime.types)

```
application/vnd.ms-fontobject eot;
```

### Apache (.htaccess or server config)

```
AddType application/vnd.ms-fontobject .eot
```

### Express

```
res.set("Content-Type", "application/vnd.ms-fontobject");
```

### Python

```
import mimetypes

mimetypes.add_type("application/vnd.ms-fontobject", ".eot")
```

### HTML file input

```
<input type="file" accept=".eot,application/vnd.ms-fontobject">
```

## FAQ

### What is the MIME type for .eot files?

`application/vnd.ms-fontobject`.

### What Content-Type header should a .eot file be served with?

`Content-Type: application/vnd.ms-fontobject`. It compresses well, so let the server apply gzip or Brotli.

### How can I tell if a file is really a .eot?

Check its bytes rather than the extension: EOT files contain `4C 50` (`LP`) at byte offset 34. On the command line, `file --mime-type name.eot` does this for you.

## Related types

- [.woff2 — font/woff2](https://www.devkult.com/mime/woff2.md)
- [.woff — font/woff](https://www.devkult.com/mime/woff.md)
- [.ttf — font/ttf](https://www.devkult.com/mime/ttf.md)

Open the interactive page: https://www.devkult.com/mime/eot