ImageBinary
image/heif
HEIF
Reference for image/heif, the High Efficiency Image File Format, the base container for HEIC and AVIF images.
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: .heif, .heifs
HTTP Content-Type Header
HTTP Header
Content-Type: image/heifAssociated File Extensions
.heif.heifs
Quick Facts
| MIME Type | image/heif |
| Category | Image |
| Type | Binary |
| Extensions | .heif, .heifs |
Common Usage
HEIF is a container format that can hold images encoded with various codecs (HEVC for HEIC, AV1 for AVIF). It supports multiple images, image sequences, depth maps, and rich metadata.
HEIF provides the foundation for next-generation image formats on mobile and desktop platforms.
Code Examples
HTML
<!-- Link or embed with explicit type -->
<link rel="stylesheet" href="file.heif" type="image/heif">
<!-- Or for script/media elements -->
<script type="image/heif" src="file.heif"></script>Node.js
// Express.js
app.get('/file', (req, res) => {
res.type('image/heif');
res.send(data);
});
// Node.js http
res.writeHead(200, { 'Content-Type': 'image/heif' });nginx
# nginx.conf — add to types block or use default
types {
image/heif heif heifs;
}
# Or set for a specific location
location /api/ {
default_type image/heif;
}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.