markitdown icon indicating copy to clipboard operation
markitdown copied to clipboard

Add .doc file extension support

Open Jah-yee opened this issue 7 months ago • 0 comments

Good day,

This PR adds support for the legacy .doc file extension (Microsoft Word 97-2003 format) in addition to the currently supported .docx format.

Changes

  1. DocxConverter - Added .doc to ACCEPTED_FILE_EXTENSIONS
  2. DocumentIntelligenceConverter - Added DOC type to the enum and corresponding MIME type (application/msword) and extension mappings

Details

The .doc format uses the same underlying conversion logic as .docx (via mammoth library), so this is a minimal change that enables compatibility with legacy Word documents.

Thank you for your work on this project. I hope this small fix is helpful. Please let me know if there's anything to adjust.

Warmly, RoomWithOutRoof

Jah-yee avatar Apr 13 '26 21:04 Jah-yee