Compare
MarkItDown vs Pandoc
Pandoc is a document converter with its own Markdown dialects; MarkItDown is built to feed language models. They overlap on Word, PowerPoint, Excel, EPUB and HTML, and each reads things the other does not. We ran both on 17 files with default settings and compare what came out.
Short answer
- Pandoc reads, MarkItDown does not: RTF, ODT and TSV (MarkItDown printed the RTF's control codes back unchanged).
- MarkItDown reads, Pandoc does not: PDF.
- Neither reads: legacy
.docand.ppt, and OpenDocument presentations and spreadsheets (.odp,.ods). - Tables and dates differ: Pandoc kept a merged-cell table as HTML; for Excel it printed dates as serial numbers.
Tested with markitdown 0.1.9 · Python 3.13, Pandoc 3.9 (the binary from the pypandoc_binary package), output as GitHub-flavoured Markdown with default settings, one run per file (T16) · 2026-11-16 · evidence: comparison-pandoc.csv, pandoc.json, t16_pandoc.py
Results on 17 files
| File | MarkItDown chars | MarkItDown headings | MarkItDown table rows | MarkItDown error | Pandoc chars | Pandoc headings | Pandoc table rows | Pandoc error |
|---|---|---|---|---|---|---|---|---|
report.docx | 838 | 6 | 6 | 914 | 6 | 5 | ||
docx-table-header.docx | 97 | 0 | 4 | 124 | 0 | 4 | ||
docx-merged-cells.docx | 121 | 1 | 5 | 348 | 1 | 0 | ||
deck.pptx | 622 | 7 | 11 | 494 | 5 | 5 | ||
workbook.xlsx | 526 | 3 | 15 | 838 | 3 | 13 | ||
report.rtf | 47312 | 0 | 0 | 1050 | 0 | 6 | ||
report.odt | 0 | 0 | 0 | UnsupportedFormatException | 1018 | 6 | 6 | |
deck.odp | 0 | 0 | 0 | UnsupportedFormatException | 0 | 0 | 0 | Unknown input format odp |
workbook.ods | 0 | 0 | 0 | UnsupportedFormatException | 0 | 0 | 0 | Unknown input format ods |
book.epub | 319 | 3 | 3 | 382 | 2 | 3 | ||
page.html | 358 | 3 | 4 | 428 | 3 | 4 | ||
data.csv | 146 | 0 | 5 | 205 | 0 | 5 | ||
csv-tab.tsv | 50 | 0 | 0 | 126 | 0 | 5 | ||
notebook.ipynb | 59 | 1 | 0 | 204 | 1 | 0 | ||
pdf-text.pdf | 926 | 0 | 0 | 0 | 0 | 0 | Unknown input format pdf | |
pptx-basic.ppt | 0 | 0 | 0 | UnsupportedFormatException | 0 | 0 | 0 | [WARNING] Could not deduce format from file extension .ppt |
report.doc | 0 | 0 | 0 | UnsupportedFormatException | 0 | 0 | 0 | Unknown input format doc |
Where Pandoc reads more
An RTF file went in as 47,312 characters of control codes from MarkItDown and 1,050 characters of text from Pandoc; an ODT file was refused by MarkItDown (UnsupportedFormatException) and converted by Pandoc with six headings and a table (formats). Pandoc also read the TSV file as a table.
Pilot Report: Field Station Alpha
**1. Summary**
This report covers **three sites** during *spring 2026*<u> with underlined</u> ~~and struck text.~~
**1.1 Key findings**
- Rainfall rose 12% year on year
Pilot Report: Field Station Alpha
1. Summary
This report covers three sites during spring 2026<u> with underlined</u> and struck text.
1.1 Key findings
- Rainfall rose 12% year on year
Where they differ on the same file
A table with merged cells came out of Pandoc as an HTML <table> with colspan and rowspan, which keeps the merge and is not a Markdown table:
# Merged cells test
<table>
<colgroup>
<col style="width: 33%" />
<col style="width: 33%" />
<col style="width: 33%" />
</colgroup>
<thead>
<tr>
<th colspan="3">Merged header across three columns</th>
</tr>Merged cells test
<table> <colgroup> <col style="width: 33%" /> <col style="width: 33%" /> <col style="width: 33%" /> </colgroup> <thead> <tr> <th colspan="3">Merged header across three columns</th> </tr>For Excel, Pandoc printed the date column as serial numbers (46082.0) and bolded a column; MarkItDown printed dates but filled blanks with NaN (Excel):
## Rainfall
| Station | Date | Rainfall (mm) | Cost | Share |
|---------|---------|---------------|-------------|-------|
| Alpha | 46082.0 | 412.5 | **1200.5** | 0.33 |
| Bravo | 46083.0 | 388.0 | **980.0** | 0.31 |
| Charlie | 46084.0 | 451.3 | **1410.25** | 0.36 |
| | | | | |Rainfall
| Station | Date | Rainfall (mm) | Cost | Share |
|---|---|---|---|---|
| Alpha | 46082.0 | 412.5 | 1200.5 | 0.33 |
| Bravo | 46083.0 | 388.0 | 980.0 | 0.31 |
| Charlie | 46084.0 | 451.3 | 1410.25 | 0.36 |
## Rainfall
| Station | Date | Rainfall (mm) | Cost | Share |
| --- | --- | --- | --- | --- |
| Alpha | 2026-03-01 | 412.5 | 1200.50 | 0.33 |
| Bravo | 2026-03-02 | 388.0 | 980.00 | 0.31 |
| Charlie | 2026-03-03 | 451.3 | 1410.25 | 0.36 |
| NaN | NaT | NaN | NaN | NaN |
| Total | NaT | 1251.8 | 3590.75 | NaN |Rainfall
| Station | Date | Rainfall (mm) | Cost | Share |
|---|---|---|---|---|
| Alpha | 2026-03-01 | 412.5 | 1200.50 | 0.33 |
| Bravo | 2026-03-02 | 388.0 | 980.00 | 0.31 |
| Charlie | 2026-03-03 | 451.3 | 1410.25 | 0.36 |
| NaN | NaT | NaN | NaN | NaN |
| Total | NaT | 1251.8 | 3590.75 | NaN |
For PowerPoint both gave a heading per slide; MarkItDown adds a slide-number comment before each, which Pandoc does not.
Which to use
Use Pandoc when your input is RTF, ODT or other text formats it reads, or when you want a particular Markdown dialect. Use MarkItDown for PDF and when you want one tool across Office files with predictable slide and sheet markers for models. We did not compare output quality beyond the counts and the cases shown.