.MDI

MDI File

Microsoft Office Document Imaging file (MODI)
Ask a question
QUICK ANSWER

An MDI file is a scanned document or fax saved by Microsoft Office Document Imaging (MODI), a tool that shipped with Office 2003 and 2007. Modern Windows and Office cannot open it because MODI was discontinued in 2010. The fix is Microsoft's free MDI to TIFF File Converter, which turns the file into a standard TIFF you can open in Windows Photos and then save as PDF.

Developer: Microsoft Corporation Category: Layout Files MIME: image/vnd.ms-modi
OPENS ON Windows
Related: .OXPS · .PUB · .IDML · .INDD

On this page

19k+ extensions indexed
Last reviewed Sep 4, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the MDI file format?

.mdi files are generated and managed by the Microsoft Office Document Imaging (MODI) utility, available in Microsoft Office XP, 2003 and 2007. MODI was discontinued after Office 2010 and is no longer bundled with current Office or Windows releases. An .mdi file is a high-resolution graphic file containing scanned documents, stored as a proprietary multi-page raster image.

.mdi files are tag-based, which enables their use with optical character recognition (OCR) software. Graphical data in an .mdi file can be converted into a plain text file and saved as a Microsoft Word .DOC document.

.mdi files can be converted into TIFF format for better compatibility with third-party software. Despite many structural similarities with TIFF, the .mdi format is proprietary to Microsoft - it uses a modified file header (45 50 2A 00) instead of the standard TIFF signature, which causes regular TIFF viewers to reject it. The official command-line tool mdi2tif.exe (Microsoft MDI to TIFF File Converter) handles this conversion. Saving .mdi files in TIFF format guarantees image compatibility with other programs and applications.

Security & safety

RISK: LOW

An .mdi is a scanned-image data file, not executable, so the file itself is low risk. The main cautions are practical: MDI is obsolete, so migrate important scans to TIFF/PDF now while the free converter still exists. Avoid uploading sensitive scanned documents (IDs, contracts, medical records) to unknown online MDI converters - use Microsoft's offline mdi2tif tool instead. Only download the converter and Office from official Microsoft sources, not third-party "MDI viewer" sites that may bundle adware.

Format details

in a nutshell
FULL NAMEMicrosoft Office Document Imaging file (MODI)
DEVELOPERMicrosoft Corporationsince Office XP / Office 2003 (Microsoft Office Document Imaging tool)
CATEGORYLayout Files
MIME TYPEimage/vnd.ms-modi
TYPEProprietary multi-page raster image format (a Microsoft variant/derivative of TIFF) produced by Microsoft Office Document Imaging
This extension is also used by…
  • Multiple Document Interface (programming term) - "MDI" as a phrase means a windowing style in Windows apps - unrelated to the file format; not a file you open.
  • Musical Instrument Digital Interface mis-type - Occasionally confused with MIDI; the music format is .mid/.midi, not .mdi.
MAGIC BYTES · FILE SIGNATURE
OFFSET
00010203
HEX
45502A00
ASCII
EP*·
MDI is a Microsoft tweak of TIFF: instead of TIFF's "II*\\0" (4949 2A00) it begins with "EP" (45 50) followed by 2A 00. Because of this changed magic, standard TIFF viewers reject it. Some tools detect MDI by this EP signature; converting to real TIFF is the standard fix.

Programs that open MDI files

Windows3 apps
Microsoft MDI to TIFF File Converter (mdi2tif) Free Install it, then run 'MODIfilesNamemdi2tif.exe -source file.mdi -dest file.tif' (or batch a folder) to convert MDI to standard TIFF you can open in Photos. Microsoft's official free tool.
Microsoft Office 2007 (with MODI component) Paid If you still have Office 2003/2007, double-click the .mdi to open in Microsoft Office Document Imaging (you may need to add the MODI feature). The only app that opens MDI natively with OCR.
Any TIFF/image viewer (after conversion) Free Once the .mdi is converted to TIFF (above), open the .tif in Windows Photos, IrfanView, or GIMP and print/save to PDF.

Technical details

deep spec
DeveloperMicrosoft Corporation
MIME typeimage/vnd.ms-modi
Magic bytes45 50 2A 00 - Microsoft-specific MODI signature, replacing the standard TIFF magic (49 49 2A 00) and causing incompatibility with standard TIFF readers
Byte orderLittle-endian (Intel byte order), matching TIFF's II-type variant
Multi-page supportA single .mdi file stores multiple scanned pages as separate image strips within one container
OCR text layerEmbeds recognized text alongside raster image data, generated by MODI's built-in OCR engine
B&W compressionCCITT Group 4 (G4) fax compression for black-and-white scanned pages
Color/grayscale compressionJPEG compression for color and grayscale page content
Tag structureTIFF-style Image File Directory (IFD) tags with Microsoft-proprietary extension tags
Typical scan resolution150-300 DPI for standard scanned office documents
Viewer compatibilityRejected by standard TIFF viewers due to modified magic bytes; direct opening requires MODI or conversion to .tif
Conversion toolmdi2tif.exe - official Microsoft MDI to TIFF File Converter, available as a standalone redistributable
DiscontinuationMODI was removed from Microsoft Office after Office 2010; .mdi has no native support in current Windows or Office versions
Structural basisDerived from the TIFF specification but incompatible with it due to the altered file signature and proprietary tag extensions
ReleasedOffice XP / Office 2003 (Microsoft Office Document Imaging tool)
Specificationlearn.microsoft.com

MDI conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with MDI files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about MDI files.

Frequently asked questions

How do I open an .mdi file on Windows 10 or 11?
Modern Windows/Office can't open MDI directly because MODI was discontinued. Install Microsoft's free MDI to TIFF File Converter to turn the .mdi into a standard TIFF, then open that in Windows Photos. If you have Office 2003/2007 with the MODI component, it opens .mdi natively.
What program opens .mdi files?
Originally Microsoft Office Document Imaging (MODI), included in Office 2003/2007. Since MODI is gone, the practical answer is Microsoft's free MDI to TIFF File Converter followed by any image viewer.
How do I convert an .mdi to PDF?
Convert the .mdi to TIFF with Microsoft's MDI to TIFF File Converter, then print the TIFF to PDF using 'Microsoft Print to PDF' or open it in IrfanView/Acrobat and Save As PDF.
Why won't my .mdi open as a TIFF even though it looks like one?
MDI is a Microsoft variant of TIFF with a changed header ('EP' instead of 'II'), so standard TIFF viewers reject it. You must run it through the MDI to TIFF converter to get a file viewers accept.
Is MDI the same as MIDI?
No. MDI is a scanned-document image format from Microsoft Office Document Imaging. MIDI is a music/instrument format with the extension .mid/.midi - completely unrelated.
Can I still get the text out of an old MDI scan?
Yes, if it had an OCR layer or you re-OCR it. In Office 2007 MODI, use OCR and 'Send Text to Word'. Otherwise convert to TIFF/PDF and run OCR in OneNote, Adobe Acrobat, or another OCR tool.

References

1Microsoft - [MS-MODI]: Office Document Imaging file format speclearn.microsoft.com
2Microsoft - MDI to TIFF File Converter (official download)www.microsoft.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.BINCD/DVD Disc Image (BIN/CUE)
3.MDMarkdown Document
4.RPMSGRestricted Permission Message
5.PARTPartial Download File
6.CRDOWNLOADChrome Partial Download File
7.NOMEDIAAndroid No-Media Marker File
8.PRDXSoftMaker Presentations Document
9.SWFSmall Web Format (Shockwave Flash)
10.PRO6XProPresenter 6 Bundle File

Related extensions

.OXPSOpenXPS Document (Open XML Paper Specification)
.PUBMicrosoft Publisher Document
.IDMLAdobe InDesign Markup Language
.INDDAdobe InDesign Document
.XPSXML Paper Specification Document
.BTWBarTender Label Document (barcode/label design file)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z