← Any document β†’ text: all libraries Β· Reader board

markitdown vs Docling: which one reads more real-world documents?

markitdown 0.1.9 and Docling 2.148.0 on the same 477 odd real-world files from Apache Tika test documents (bug reports, fuzzers, broken exporters). Measured, not opinion; re-tested by itself on every new PyPI release. Updated 06 November 2026.

More files readDocling266 vs 253
Faster on this setmarkitdown388.2 s vs 580.7 s total (about as fast)
Both read220only markitdown: 33 Β· only Docling: 46

Docling got text from more files: 266 vs 253 of 477. markitdown broke (error, hang or crash) on 2 files that Docling read; Docling broke on 7 files that markitdown read.

LibraryText fromπŸ”΄ Fails where
the other reads
🟑 Empty where
the other reads
⏱ Hangs or
crashes
Format not
supported
Median
ms/file
Total
seconds
markitdown 0.1.92532141149125388.2
Docling 2.148.02667111507580.7

By file type: files read with text

TypemarkitdownDocling
.docx 71 files57/71 10 empty 4 failed59/71 6 empty 6 failed
.pdf 71 files44/71 21 empty 6 failed52/71 14 empty 5 failed
.doc 49 filesnot supportednot supported
.rtf 44 filesnot supportednot supported
.html 38 files36/38 2 empty36/38 2 empty
.xlsx 35 files20/35 9 empty 6 failed20/35 8 empty 7 failed
.txt 30 files30/3028/30 2 failed
.xls 30 files20/30 8 empty 2 failednot supported
.pptx 29 files22/29 6 empty 1 failed23/29 5 empty 1 failed
.ppt 22 filesnot supportednot supported
.odt 17 filesnot supported15/17 2 failed
.msg 14 files14/1413/14 1 failed
.eml 9 filesnot supported9/9
.odp 4 filesnot supported2/4 2 empty
.ods 4 filesnot supported4/4
.csv 3 files3/33/3
.epub 3 files3/3not supported
.json 2 files2/2not supported
.md 2 files2/22/2

Files only markitdown reads (33)

tika-parser-microsoft-module/jxl.xlsDocling: format not supported
tika-parser-microsoft-module/test-columnar.xlsDocling: format not supported
tika-parser-microsoft-module/testComment.xlsDocling: format not supported
tika-parser-microsoft-module/testDdeLink.xlsxDocling: ConversionError: Conversion failed for: testDdeLink.xlsx with status: failure. Errors: MsExcelDocumentBackend could not load document with hash 99e35606ced8985d
tika-parser-microsoft-module/testEXCEL-charts.xlsDocling: format not supported
tika-parser-microsoft-module/testEXCEL-formats.xlsDocling: format not supported
tika-parser-microsoft-module/testEXCEL.xlsDocling: format not supported
tika-parser-microsoft-module/testEXCEL_1img.xlsDocling: format not supported
tika-parser-microsoft-module/testEXCEL_4.xlsDocling: format not supported
tika-parser-microsoft-module/testEXCEL_5.xlsDocling: format not supported
tika-parser-microsoft-module/testEXCEL_WORKBOOK_in_capitals.xlsDocling: format not supported
tika-parser-microsoft-module/testEXCEL_big_numbers.xlsDocling: format not supported
tika-parser-microsoft-module/testEXCEL_custom_props.xlsDocling: format not supported
tika-parser-microsoft-module/testEXCEL_dateFormats.xlsDocling: format not supported
tika-parser-microsoft-module/testEXCEL_embeded.xlsDocling: format not supported
tika-parser-microsoft-module/testEXCEL_extra_metadata.xlsDocling: format not supported
tika-parser-microsoft-module/testEXCEL_headers_footers.xlsDocling: format not supported
tika-parser-microsoft-module/testEXCEL_hyperlinks.xlsDocling: format not supported
tika-parser-microsoft-module/testEXCEL_labels-govdocs-515858.xlsDocling: format not supported
tika-parser-microsoft-module/testEXCEL_macro.xlsDocling: format not supported
tika-parser-microsoft-module/testEXCEL_phonetic.xlsDocling: format not supported
tika-parser-microsoft-module/testExternalRefs.docxDocling: RuntimeError: Pipeline SimplePipeline failed
tika-parser-microsoft-module/testHoverAndVml.docxDocling: RuntimeError: Pipeline SimplePipeline failed
tika-parser-microsoft-module/testMSG_chinese.msgDocling: ConversionError: Conversion failed for: testMSG_chinese.msg with status: failure. Errors: Could not initialize email backend for file with hash b84c12748155dc57
tika-parser-microsoft-module/testPPT_masterFooter.pptxDocling: no text
tika-parser-miscoffice-module/testEPUB.epubDocling: format not supported
tika-parser-miscoffice-module/testEPUB_multi-metadata-vals.epubDocling: format not supported
tika-parser-miscoffice-module/testEPUB_xml_ext.epubDocling: format not supported
tika-parser-pdf-module/testPDF_childAttachments.pdfDocling: no result after 180.0 s
tika-parser-text-module/english.cp500.txtDocling: ConversionError: Conversion failed for: english.cp500.txt with status: failure. Errors: The document is neither UTF-8 nor cp1252, and its encoding is not declar
tika-parsers-standard-integration-tests/testBMPfp.txtDocling: ConversionError: Conversion failed for: testBMPfp.txt with status: failure. Errors: Could not load image for document testBMPfp.txt: Truncated File Read
tika-pipes-json/test-with-unpack.jsonDocling: format not supported
tika-pipes-json/test.jsonDocling: format not supported

Files only Docling reads (46)

tika-parser-mail-module/testEmailWithPNGAtt.emlmarkitdown: format not supported
tika-parser-mail-module/testGroupWiseEml.emlmarkitdown: format not supported
tika-parser-mail-module/testRFC822_dkim.emlmarkitdown: format not supported
tika-parser-mail-module/testRFC822_multipart_attachments.emlmarkitdown: format not supported
tika-parser-mail-module/testRFC822_x-.emlmarkitdown: format not supported
tika-parser-microsoft-module/testEML_embedded_xhtml_and_img.emlmarkitdown: format not supported
tika-parser-microsoft-module/testPPT_EmbeddedPDF.pptxmarkitdown: no text
tika-parser-microsoft-module/testPPT_embeddedMP3.pptxmarkitdown: no text
tika-parser-microsoft-module/testWORD_charts.docxmarkitdown: no text
tika-parser-microsoft-module/testWPSAttachment.docxmarkitdown: no text
tika-parser-miscoffice-module/testFooter.odsmarkitdown: format not supported
tika-parser-miscoffice-module/testFooter.odtmarkitdown: format not supported
tika-parser-miscoffice-module/testNPEOpenDocument.odtmarkitdown: format not supported
tika-parser-miscoffice-module/testODFwithOOo3.odtmarkitdown: format not supported
tika-parser-miscoffice-module/testODP_NPE.odpmarkitdown: format not supported
tika-parser-miscoffice-module/testODSMacro.odsmarkitdown: format not supported
tika-parser-miscoffice-module/testODT-TIKA-6000.odtmarkitdown: format not supported
tika-parser-miscoffice-module/testODTEmbedded.odtmarkitdown: format not supported
tika-parser-miscoffice-module/testODTEmbeddedImageLink.odtmarkitdown: format not supported
tika-parser-miscoffice-module/testODTMacro.odtmarkitdown: format not supported
tika-parser-miscoffice-module/testODTNoMeta.odtmarkitdown: format not supported
tika-parser-miscoffice-module/testODTStyles2.odtmarkitdown: format not supported
tika-parser-miscoffice-module/testODTStyles3.odtmarkitdown: format not supported
tika-parser-miscoffice-module/testODT_svgTitleInStyledSpan.odtmarkitdown: format not supported
tika-parser-miscoffice-module/testOpenOffice2.odtmarkitdown: format not supported
tika-parser-miscoffice-module/testStyles.odtmarkitdown: format not supported
tika-parser-miscoffice-module/versions/LibreOfficeCalc_ods_1.3.odsmarkitdown: format not supported
tika-parser-miscoffice-module/versions/LibreOfficeImpress_odp_1.3.odpmarkitdown: format not supported
tika-parser-miscoffice-module/versions/LibreOfficeWriter_odt_1.3.odtmarkitdown: format not supported
tika-parser-pdf-module/testFlashInPDF.pdfmarkitdown: no text
tika-parser-pdf-module/testOCR.pdfmarkitdown: no text
tika-parser-pdf-module/testPDFFileEmbInAnnotation_noContents.pdfmarkitdown: FileConversionException: File conversion failed after 1 attempts: - PdfConverter threw PDFSyntaxError with message: No /Root object! - Is this really a PDF?
tika-parser-pdf-module/testPDF_AdobeIllustrator.pdfmarkitdown: no text
tika-parser-pdf-module/testPDF_jpeg2000.pdfmarkitdown: no text
tika-parser-pdf-module/testPDF_no_extract_yes_accessibility_owner_empty.pdfmarkitdown: FileConversionException: File conversion failed after 1 attempts: - PdfConverter threw PDFEncryptionError with message: Unknown filter: param={}
tika-parser-pdf-module/testPopupAnnotation.pdfmarkitdown: no text
tika-parsers-standard-integration-tests/test-columnar.odsmarkitdown: format not supported
tika-parsers-standard-integration-tests/test-incremental-updates.emlmarkitdown: format not supported
tika-parsers-standard-integration-tests/testLotusEml.emlmarkitdown: format not supported
tika-parsers-standard-integration-tests/testPhoneNumberExtractor.odtmarkitdown: format not supported

…and 6 more: see each library's page.

Don't want to run it yourself? I also run PDF & Document to Markdown as a pay-per-use API on Apify (it uses pdfplumber and pypdfium2 for PDFs, markitdown for Office files). Disclosure: that tool is mine; the rankings above come only from the measurements.

What this does not tell you

This compares not breaking: whether each library gets any text out of each file. It does not rank text quality (reading order, tables, headings), and speed is one GitHub-hosted runner, default settings, no OCR switched on. If you need structure for RAG, also look at the output on your own files.

How this is measured