ImageBinary

image/bmp

BMP

Reference for image/bmp, the uncompressed bitmap image format native to Windows operating systems.

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: .bmp, .dib

HTTP Content-Type Header

HTTP Header
Content-Type: image/bmp

Associated File Extensions

.bmp.dib

Quick Facts

MIME Typeimage/bmp
CategoryImage
TypeBinary
Extensions.bmp, .dib

Common Usage

BMP is an uncompressed raster image format originally developed for Windows. While producing large files, it is used in Windows applications, embedded systems, image processing pipelines, and scenarios where uncompressed pixel data is needed without patent concerns.

Code Examples

HTML
<!-- Link or embed with explicit type -->
<link rel="stylesheet" href="file.bmp" type="image/bmp">

<!-- Or for script/media elements -->
<script type="image/bmp" src="file.bmp"></script>
Node.js
// Express.js
app.get('/file', (req, res) => {
  res.type('image/bmp');
  res.send(data);
});

// Node.js http
res.writeHead(200, { 'Content-Type': 'image/bmp' });
nginx
# nginx.conf — add to types block or use default
types {
    image/bmp  bmp dib;
}

# Or set for a specific location
location /api/ {
    default_type image/bmp;
}

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.