ImageBinary
image/vnd.microsoft.icon
ICO (Official)
Reference for image/vnd.microsoft.icon, the official registered MIME type for Windows ICO icon files.
MIME Type Detector
Drop a file to detect its MIME type — no upload, runs in your browser
📄
Drop any file here or click to choose
Expected extensions: .ico
HTTP Content-Type Header
HTTP Header
Content-Type: image/vnd.microsoft.iconAssociated File Extensions
.ico
Quick Facts
| MIME Type | image/vnd.microsoft.icon |
| Category | Image |
| Type | Binary |
| Extensions | .ico |
Common Usage
This is the officially registered IANA MIME type for ICO files, replacing the unofficial image/x-icon. ICO files contain multiple icon sizes for Windows applications, website favicons, and desktop shortcuts.
Both MIME types are widely accepted by browsers.
Code Examples
HTML
<!-- Link or embed with explicit type -->
<link rel="stylesheet" href="file.ico" type="image/vnd.microsoft.icon">
<!-- Or for script/media elements -->
<script type="image/vnd.microsoft.icon" src="file.ico"></script>Node.js
// Express.js
app.get('/file', (req, res) => {
res.type('image/vnd.microsoft.icon');
res.send(data);
});
// Node.js http
res.writeHead(200, { 'Content-Type': 'image/vnd.microsoft.icon' });nginx
# nginx.conf — add to types block or use default
types {
image/vnd.microsoft.icon ico;
}
# Or set for a specific location
location /api/ {
default_type image/vnd.microsoft.icon;
}Related MIME Types
More Image MIME Types
Other image types in the Image family
Related Tools
Explore More MIME Types
Browse our complete reference of 185 MIME types with usage examples, HTTP headers, and code snippets.