devkult_
tools30converters34
home/mime/.eot

.eot MIME type

Embedded OpenType fontfonts

application/vnd.ms-fontobject

A web font format that only Internet Explorer ever supported.

MIME typeapplication/vnd.ms-fontobject
Extensions.eot
Content-Typeapplication/vnd.ms-fontobject
Compress in transit?Yes — enable gzip or Brotli
File signature4C 50 (LP) 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.

Serve .eot files with the right type

The response header to send:

Content-Type: application/vnd.ms-fontobject

Most servers pick the type from the file extension. If yours sends the wrong one, map it explicitly:

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">

Check it

See what a server sends for a file, and what type a local file really is by its contents:

curl -sI https://example.com/file.eot | grep -i '^content-type:'
file --mime-type file.eot

Frequently asked questions

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

Headers that go with it: Content-Type · Content-Disposition · X-Content-Type-Options