What is a .dib file?
A .dib file is a windows BMP image. Its registered MIME type is image/bmp, which places it in the image family of formats.
DIB is a binary format: the contents are not readable text, so opening it in a text editor shows scrambled characters.
Files of this type usually begin with the bytes 42 4D. That signature is how programs recognise the format even when the extension is wrong or missing.
The same format is also saved with the extension .bmp.
DIB file format details
| Extension | .dib |
|---|---|
| Format | Windows BMP image |
| MIME type | image/bmp, image/x-bmp, image/x-MS-bmp |
| Category | Image |
| Text or binary | Binary |
| File signature | 42 4D |
| Registered with IANA | Yes |
| Other extensions | .bmp |
How to open DIB files
| Windows | The Photos app and every web browser display this format. |
|---|---|
| Mac | Preview opens most image formats. If it cannot, a dedicated image editor usually can. |
| iPhone and iPad | Photos and the Files app show common image types. Less common ones may need an app, or conversion to JPG or PNG. |
| Android | Google Photos and gallery apps show common images. Other formats may need a viewer app. |
Convert DIB files
TapToConvert converts DIB files in your browser, without uploading them. Open the DIB converter, or go straight to a conversion:
DIB file FAQ
What is a .dib file?
A .dib file is a windows BMP image, with the MIME type image/bmp.
How do I open a .dib file?
With the program that created it. The viewer on this page shows what is inside without installing anything.
Is a .dib file safe to open?
DIB files hold data rather than programs, but any file from an unknown source can be crafted to exploit the software that opens it. Keep that software up to date. The viewer on this page only reads the bytes and never runs anything.
What is the MIME type of .dib?
image/bmp, and it is also seen as image/x-bmp or image/x-MS-bmp. Web servers send this type so browsers know how to handle the file.
Is DIB a text or binary format?
Binary. Its contents are not readable as text.
File type facts come from the IANA media type registry, the mime-db project and the freedesktop.org shared MIME database.