Reproduced by us
PdfConverter threw PDFPasswordIncorrect with message:
The PDF is encrypted with a user password and the CLI and API have no password option.
Formats
MarkItDown extracts the text of a PDF well and its structure poorly, because a PDF stores positioned characters, not headings or tables. That is fine for feeding a language model or a search index, and it is the reason to read the rest of this page if you need headings or tables. We ran 24 behaviour tests on files from our corpus and our own, and a controlled experiment on 432 generated tables.
Short answer
Install the extra and convert:
pip install "markitdown[pdf]"markitdown pdf-text.pdf -o pdf-text.mdExpect clean text, no # headings, tables only when columns line up, and nothing from scanned pages.
Tested with markitdown 0.1.9 · Python 3.13 · markitdown[all] 0.1.9 (plus 0.1.5 and 0.1.6 for memory) · Linux lab; the PDF corpus also ran on Windows, macOS and Ubuntu runners (T03, T05) · 2026-11-15 · evidence: office-features.csv, pdf-table-detection.csv, pdf-table-rules.csv, pdf-table-matrix.csv
| Behaviour | Result | What came out | Note |
|---|---|---|---|
| Headings (large bold text) | lost | Main title of the report↵↵1. A section heading↵↵Body text line number 1 for the section above.↵Body text line number 2 for the section above.↵Body text line number 3 for the section above.↵Body text line number 4 for the section a | No # headings: font size is not analysed. |
| Bulleted and numbered lists | changed | (cid:127) first bullet↵(cid:127) second bullet↵1. numbered one↵2. numbered two↵↵ | Check bullets and numbers in the excerpt. |
| Two-column page | changed | LEFT1 text of the left column↵LEFT2 text of the left column↵LEFT3 text of the left column↵LEFT4 text of the left column↵LEFT5 text of the left column↵LEFT6 text of the left column↵LEFT7 text of the left column↵LEFT8 text of the le | Reading order in the output: L1 L2 L3 L4 L5 L6 L7 L8 … (columns kept apart); first left line present: True. |
| Header, footer and page numbers on every page | changed | RUNNING HEADER Field Station Report↵↵Page 1 body line 1.↵Page 1 body line 2.↵Page 1 body line 3.↵Page 1 body line 4.↵Page 1 body line 5.↵↵Page 1 of 3 RUNNING FOOTER↵↵RUNNING HEADER Field Station Report↵↵Page 2 body line 1.↵Page 2 | Header appears 3 times and footer 3 times in the output; page breaks: a form feed or marker is present. |
| Hyphenated line ends | changed | This sentence ends with a hyphen-↵ated word at the line end and continues.↵↵A second para-↵graph also breaks inside a word.↵↵ | Check whether the word is rejoined. |
| (cid:n) characters from bullets | changed | Pilot Report: Field Station Alpha↵↵1. Summary↵Rainfall across the three stations rose steadily through the spring. Sensors reported every ten↵minutes and the readings were averaged per day. Rainfall across the three stations rose | Glyphs without a Unicode mapping come out as (cid:127). |
| CJK text | kept | 试点报告:阿尔法观测站↵↵降雨量同比增长百分之十二。传感器正常运行时间达到百分之九十九。↵↵東京の観測所では雨量が増加しました。↵↵ | |
| Cyrillic, Greek and ligatures | kept | Привет, мир — кириллица в PDF↵↵Ελληνικά: Καλημέρα κόσμε↵↵Ligatures: office, fluffy, affinity (fi ffi fl)↵↵ | |
| Rotated page | lost | Normal page↵↵T↵↵h↵↵i↵↵s↵↵p↵↵a↵↵g↵↵e↵↵i↵↵s↵↵r↵↵o↵↵t↵↵a↵↵t↵↵e↵↵d↵↵9↵↵0↵↵d↵↵e↵↵g↵↵r↵↵e↵↵e↵↵s↵↵ | The rotated page comes out one letter per line. |
| Scanned page (image only) | lost | | Exit code 0 and nothing printed: there is no text layer and no OCR. |
| Mixed text and scanned pages | changed | Page one has real text.↵↵ | Only the pages with a text layer produce text. |
| Encrypted with a user password | lost | PDFPasswordIncorrect: | PDFPasswordIncorrect with an empty message; no password option. |
| Owner password only (opens without a password) | lost | error: 'L' format requires 0 <= number <= 4294967295 | Our test file raised a struct error while reading its permission flags; this is one file written by our generator, not a general statement about owner-password files. |
| Slightly damaged file | kept | Pilot Report: Field Station Alpha↵↵1. Summary↵Rainfall across the three stations rose steadily through the spring. Sensors reported every ten↵minutes and the readings were averaged per day. Rainfall across the three stations rose | Our damaged file (truncated trailer) was still read in full. |
| Zero-byte file | lost | PDFSyntaxError: No /Root object! - Is this really a PDF? | |
| Table with ruled borders | changed | Measurements (bordered table)↵Rainfall across the three stations rose steadily through the spring. Sensors reported every ten↵minutes and the readings were averaged per day.↵↵Station Rainfall (mm) Uptime Notes↵↵Alpha↵↵412.5↵↵99.2% | No pipe table was detected. |
| Table without borders | changed | Measurements (borderless table)↵Rainfall across the three stations rose steadily through the spring. Sensors reported every ten↵minutes and the readings were averaged per day.↵| Station | Rainfall (mm) | Uptime | Notes |↵| - | A pipe table was detected. |
| Table with merged cells | changed | Merged header↵↵a↵↵1↵↵b↵↵2↵↵c↵↵3↵↵ | No pipe table was detected. |
| Table spanning two pages | changed | Table across two pages↵↵Row Value Note↵↵1↵↵2↵↵3↵↵4↵↵5↵↵6↵↵7↵↵8↵↵9↵↵10↵↵11↵↵12↵↵13↵↵14↵↵15↵↵16↵↵17↵↵18↵↵19↵↵20↵↵21↵↵22↵↵23↵↵24↵↵25↵↵26↵↵27↵↵28↵↵29↵↵30↵↵31↵↵32↵↵33↵↵34↵↵35↵↵3.5↵↵7.0↵↵10.5↵↵14.0↵↵17.5↵↵21.0↵↵24.5↵↵28.0↵↵31.5↵↵35.0↵↵3 | No pipe table was detected. |
| Wide 12-column table | changed | Wide table↵| C0 C1 | C2 C3 | C4 C5 | C6 C7 | C8 C9 | C10 C11 |↵| --------- | --------- | --------- | --------- | --------- | ----------- |↵| r1c0 r1c1 | r1c2 r1c3 | r1c4 r1c5 | r1c6 r1c7 | r1c8 r1c9 | r1c10 | A pipe table was detected. |
| PDF exported from Word | changed | Pilot Report: Field Station Alpha↵1. Summary↵This report covers three sites during spring 2026 with underlined and struck text.↵1.1 Key findings↵ Rainfall rose 12% year on year↵ Sensor uptime reached 99.2%↵ Two stations need ne | A pipe table was detected. |
| Same document, PDF made by chromium | changed | Producer test↵↵1. Summary↵↵Rainfall rose steadily through spring.↵↵first bullet↵second bullet↵↵Station Rainfall Notes↵↵Alpha↵↵412.5↵↵Bravo↵↵388.0↵↵ok↵↵low↵↵ | headings: 0; table detected: no; bullets: 0 markers or cid; characters: 156 |
| Same document, PDF made by libreoffice | changed | Producer test↵1. Summary↵Rainfall rose steadily through spring.↵• first bullet↵• second bullet↵| Station | Rainfall | Notes |↵| ------- | -------- | ----- |↵| Alpha | 412.5 | ok |↵| Bravo | 388.0 | low | | headings: 0; table detected: yes; bullets: 2 markers or cid; characters: 218 |
| Same document, PDF made by reportlab | changed | Producer test↵1. Summary↵Rainfall rose steadily through spring.↵(cid:127) first bullet↵(cid:127) second bullet↵| Station | Rainfall | Notes |↵| ------- | -------- | ----- |↵| Alpha | 412.5 | ok |↵| Bravo | 388.0 | l | headings: 0; table detected: yes; bullets: 2 markers or cid; characters: 236 |
Our report as a PDF, then a page of a US federal regulation (public domain). Same command, and anyone can download the files:
2 headings → 2 changed · 1 paragraph → 1 kept · 1 list → 1 changed
Input · pdf-text.pdf
Output · markitdown pdf-text.pdf
Pilot Report: Field Station Alpha
1. Summary
Rainfall across the three stations rose steadily through the spring. Sensors reported every ten
minutes and the readings were averaged per day. Rainfall across the three stations rose steadily
through the spring. Sensors reported every ten minutes and the readings were averaged per day.
Rainfall across the three stations rose steadily through the spring. Sensors reported every ten
minutes and the readings were averaged per day.
1.1 Key findings
Rainfall rose 12% year on year
Sensor uptime reached 99.2%
Two stations need new batteries
2. Measurements
Rainfall across the three stations rose steadily through the spring. Sensors reported every ten
minutes and the readings were averaged per day. Rainfall across the three stations rose steadily
through the spring. Sensors reported every ten minutes and the readings were averaged per day.
(cid:127)
(cid:127)
(cid:127)
1 list → 1 changed · 1 paragraph → 1 kept
Input · real-pdf-cfr-21-sec-1-1.pdf
Output · markitdown real-pdf-cfr-21-sec-1-1.pdf
Food and Drug Administration, HHS
§ 1.3
WAIVERS
1.1405 Under what circumstances will FDA
waive one or more of the requirements of
this subpart for an individual entity or a
type of entity?
1.1410 When will FDA consider whether to
waive a requirement of this subpart?
1.1415 How may I request a waiver for an in-
dividual entity?
1.1420 What process applies to a request for
a waiver for an individual entity?
1.1425 What must be included in a petition
requesting a waiver for a type of entity?
1.1430 What information submitted in a pe-
tition requesting a waiver for a type of
entity, or information in comments on
such a petition, is publicly available?
1.1435 What process applies to a petition re-
questing a waiver for a type of entity?
1.1440 What process will FDA follow when
waiving a requirement of this subpart on
our own initiative?
1.1445 Under what circumstances may FDA
modify or revoke a waiver?
1.1450 What procedures apply if FDA ten-
tatively determines that a waiver should
be modified or revoked?
RECORDS MAINTENANCE AND AVAILABILITY
1.1455 How must records required by this
subpart be maintained and made avail-
able?
CONSEQUENCES OF FAILURE TO COMPLY
1.1460 What consequences could result from
failing to comply with the requirements
of this subpart?
UPDATING THE FOOD TRACEABILITY LIST
1.1465 How will FDA update the Food
Traceability List?
AUTHORITY: 15 U.S.C. 1333, 1453, 1454, 1455,
4402; 19 U.S.C. 1490, 1491; 21 U.S.C. 321, 331,
332, 333, 334, 335a, 342, 343, 350c, 350d, 350j, 352,
355, 360b, 360ccc, 360ccc–1, 360ccc–2, 362, 371,
374, 381, 382, 384a, 387, 387a, 387c, 393, and 2223;
42 U.S.C. 216, 241, 243, 262, 264, 271.
SOURCE: 42 FR 15553, Mar. 22, 1977, unless
otherwise noted.
Subpart A—General Provisions
§ 1.1 General.
(a) The provisions of regulations pro-
mulgated under the Federal Food,
Drug, and Cosmetic Act with respect to
the doing of any act shall be applicable
also to the causing of such act to be
done.
(b) The definitions and interpreta-
tions of terms contained in sections 201
and 900 of the Federal Food, Drug, and
Cosmetic Act (21 U.S.C. 321 and 387)
shall be applicable also to such terms
when used in regulations promulgated
under that act.
in
(c) The definition of package in § 1.20
and of principal display panel in §§ 101.1,
201.60, 501.1, 701.10 and 801.60 of this
chapter; and the requirements per-
taining to uniform location, lack of
qualification, and separation of the net
quantity declaration
§§ 101.7(f),
201.62(e), 501.105(f), 701.13(f) and 801.62(e)
of this chapter to type size require-
ments for net quantity declaration in
§§ 101.7(i), 201.62(h), 501.105(i), 701.13(i)
and 801.62(h) of this chapter, to initial
statement of ounces in the dual dec-
laration of net quantity in §§ 101.7(j)
and (m), 201.62(i) and (k), 501.105(j) and
(m), 701.13(j) and (m) and 801.62(i) and
(k) of this chapter, to initial statement
of inches in declaration of net quantity
in §§ 201.62(m), 701.13(o) and 801.62(m) of
this chapter, to initial statement of
square inches in declaration of net
quantity in §§ 201.62(n), 701.13(p) and
801.62(n) of this chapter, to prohibition
of certain supplemental net quantity
statements
201.62(o),
501.105(o), 701.13(q) and 801.62(o) of this
chapter, and to servings representa-
tions in § 501.8 of this chapter are pro-
vided for solely by the Fair Packaging
and Labeling Act. The other require-
ments part of this part are issued
under both the Fair Packaging and La-
beling Act and the Federal Food, Drug,
and Cosmetic Act, or by the latter act
solely, and are not limited in their ap-
plication by section 10 of the Fair
Packaging and Labeling Act.
§§ 101.7(o),
in
[42 FR 15553, Mar. 22, 1977, as amended at 58
FR 17085, Apr. 1, 1993; 75 FR 73953, Nov. 30,
2010; 78 FR 69543, Nov. 20, 2013; 81 FR 59131,
Aug. 29, 2016]
§ 1.3 Definitions.
(a) Labeling includes all written,
printed, or graphic matter accom-
panying an article at any time while
such article is in interstate commerce
or held for sale after shipment or deliv-
ery in interstate commerce.
(b) Label means any display of writ-
ten, printed, or graphic matter on the
immediate container of any article, or
11
VerDate Sep<11>2014 14:33 Jun 27, 2023 Jkt 259071 PO 00000 Frm 00021 Fmt 8010 Sfmt 8010 Q:\21\21V1.TXT PC31
R
E
L
L
I
T
S
D
h
t
i
I
w
3
L
6
H
6
K
C
P
A
L
n
o
i
n
i
t
t
a
r
f
s
Big bold text in a PDF is only big bold text. The file records where each character goes, not "this is a heading".
It reads characters and positions with pdfminer.six and pdfplumber (documented at pdfplumber.dev, another site of ours) and writes lines of text. It does not analyse font sizes: our test page with a 24 pt title, a 16 pt heading and 11 pt body text came out as four plain lines:
Main title of the report
1. A section heading
Body text line number 1 for the section above.
Body text line number 2 for the section above.
Body text line number 3 for the section above.
Body text line number 4 for the section above.
Main title of the report
Body text line number 1 for the section above. Body text line number 2 for the section above. Body text line number 3 for the section above. Body text line number 4 for the section above.
Layout-model tools can (comparison); Azure Document Intelligence is described in the upstream documentation and we did not test it; or ask a language model to restore the structure from the text. We did not measure these routes here.
MarkItDown 0.1.5 and later detect a table from aligned words, not from drawn lines. We drew the same grid of words in 432 PDFs, with and without ruled borders, varying columns, rows, cell length and the amount of paragraph text above, and recorded which came out as a pipe table:
| Factor | Value | Detected | Of | Rate |
|---|---|---|---|---|
| Borders (ruled lines drawn or not) | unruled | 88 | 216 | 41% |
| Borders (ruled lines drawn or not) | ruled | 88 | 216 | 41% |
| Columns | 2 | 0 | 72 | 0% |
| Columns | 3 | 44 | 72 | 61% |
| Columns | 4 | 44 | 72 | 61% |
| Columns | 6 | 44 | 72 | 61% |
| Columns | 8 | 22 | 72 | 31% |
| Columns | 12 | 22 | 72 | 31% |
| Cell length (short 3 characters, medium 7 to 9, long up to 34) | short | 110 | 144 | 76% |
| Cell length (short 3 characters, medium 7 to 9, long up to 34) | medium | 66 | 144 | 46% |
| Cell length (short 3 characters, medium 7 to 9, long up to 34) | long | 0 | 144 | 0% |
| Rows | 2 | 32 | 108 | 30% |
| Rows | 5 | 48 | 108 | 44% |
| Rows | 10 | 48 | 108 | 44% |
| Rows | 30 | 48 | 108 | 44% |
| Lines of paragraph text above the table | 0 | 64 | 144 | 44% |
| Lines of paragraph text above the table | 5 | 64 | 144 | 44% |
| Lines of paragraph text above the table | 20 | 48 | 144 | 33% |
| Columns | Short cells (3 characters) | Medium (7 to 9) | Long (up to 34) |
|---|---|---|---|
| 2 | no | no | no |
| 3 | 22/24 | 22/24 | no |
| 4 | 22/24 | 22/24 | no |
| 6 | 22/24 | 22/24 | no |
| 8 | 22/24 | no | no |
| 12 | 22/24 | no | no |
When a table was detected it was correct in 154 of 176 cases; the 22 wrong ones are all the 12-column tables, which came out with six columns because pairs of columns were merged.
Measurements (borderless table)
Rainfall across the three stations rose steadily through the spring. Sensors reported every ten
minutes and the readings were averaged per day.
| Station | Rainfall (mm) | Uptime | Notes |
| ------- | ------------- | ------ | ----------- |
| Alpha | 412.5 | 99.2% | Battery low |
| Bravo | 388.0 | 97.8% | OK stable |
| Charlie | 451.3 | 99.9% | New sensor |
Text after the table.Measurements (borderless table) Rainfall across the three stations rose steadily through the spring. Sensors reported every ten minutes and the readings were averaged per day.
| Station | Rainfall (mm) | Uptime | Notes |
|---|---|---|---|
| Alpha | 412.5 | 99.2% | Battery low |
| Bravo | 388.0 | 97.8% | OK stable |
| Charlie | 451.3 | 99.9% | New sensor |
| Text after the table. |
One cell per line, like our merged-cell table (our ruled table with long cells was not detected either):
Merged header
a
1
b
2
c
3
Merged header
a
1
b
2
c
3
A table that spans two pages was not detected either, and a wide table came out with columns paired:
Wide table
| C0 C1 | C2 C3 | C4 C5 | C6 C7 | C8 C9 | C10 C11 |
| --------- | --------- | --------- | --------- | --------- | ----------- |
| r1c0 r1c1 | r1c2 r1c3 | r1c4 r1c5 | r1c6 r1c7 | r1c8 r1c9 | r1c10 r1c11 |
| r2c0 r2c1 | r2c2 r2c3 | r2c4 r2c5 | r2c6 r2c7 | r2c8 r2c9 | r2c10 r2c11 |
| r3c0 r3c1 | r3c2 r3c3 | r3c4 r3c5 | r3c6 r3c7 | r3c8 r3c9 | r3c10 r3c11 |
| r4c0 r4c1 | r4c2 r4c3 | r4c4 r4c5 | r4c6 r4c7 | r4c8 r4c9 | r4c10 r4c11 |
| r5c0 r5c1 | r5c2 r5c3 | r5c4 r5c5 | r5c6 r5c7 | r5c8 r5c9 | r5c10 r5c11 |
| r6c0 r6c1 | r6c2 r6c3 | r6c4 r6c5 | r6c6 r6c7 | r6c8 r6c9 | r6c10 r6c11 |
| r7c0 r7c1 | r7c2 r7c3 | r7c4 r7c5 | r7c6 r7c7 | r7c8 r7c9 | r7c10 r7c11 |
| r8c0 r8c1 | r8c2 r8c3 | r8c4 r8c5 | r8c6 r8c7 | r8c8 r8c9 | r8c10 r8c11 |Wide table
| C0 C1 | C2 C3 | C4 C5 | C6 C7 | C8 C9 | C10 C11 |
|---|---|---|---|---|---|
| r1c0 r1c1 | r1c2 r1c3 | r1c4 r1c5 | r1c6 r1c7 | r1c8 r1c9 | r1c10 r1c11 |
| r2c0 r2c1 | r2c2 r2c3 | r2c4 r2c5 | r2c6 r2c7 | r2c8 r2c9 | r2c10 r2c11 |
| r3c0 r3c1 | r3c2 r3c3 | r3c4 r3c5 | r3c6 r3c7 | r3c8 r3c9 | r3c10 r3c11 |
| r4c0 r4c1 | r4c2 r4c3 | r4c4 r4c5 | r4c6 r4c7 | r4c8 r4c9 | r4c10 r4c11 |
| r5c0 r5c1 | r5c2 r5c3 | r5c4 r5c5 | r5c6 r5c7 | r5c8 r5c9 | r5c10 r5c11 |
| r6c0 r6c1 | r6c2 r6c3 | r6c4 r6c5 | r6c6 r6c7 | r6c8 r6c9 | r6c10 r6c11 |
| r7c0 r7c1 | r7c2 r7c3 | r7c4 r7c5 | r7c6 r7c7 | r7c8 r7c9 | r7c10 r7c11 |
| r8c0 r8c1 | r8c2 r8c3 | r8c4 r8c5 | r8c6 r8c7 | r8c8 r8c9 | r8c10 r8c11 |
Use a tool built for tables (comparison) or read the PDF with a layout-aware library yourself. We did not measure table-cell accuracy for those routes on this page.
Two text columns stayed apart: all left-column lines came before the right column, and the first left line was present. The page header and footer are not removed; they appear in the text once per page, with no page marker:
RUNNING HEADER Field Station Report
Page 1 body line 1.
Page 1 body line 2.
Page 1 body line 3.
Page 1 body line 4.
Page 1 body line 5.
Page 1 of 3 RUNNING FOOTER
RUNNING HEADER Field Station Report
Page 2 body line 1.
Page 2 body line 2.
Page 2 body line 3.
Page 2 body line 4.
Page 2 body line 5.
Page 2 of 3 RUNNING FOOTER
RUNNING HEADER Field Station Report
Page 3 body line 1.
Page 3 body line 2.
Page 3 body line 3.
Page 3 body line 4.
Page 3 body line 5.
Page 3 of 3 RUNNING FOOTER
RUNNING HEADER Field Station Report
Page 1 body line 1. Page 1 body line 2. Page 1 body line 3. Page 1 body line 4. Page 1 body line 5.
Page 1 of 3 RUNNING FOOTER
RUNNING HEADER Field Station Report
Page 2 body line 1. Page 2 body line 2. Page 2 body line 3. Page 2 body line 4. Page 2 body line 5.
Page 2 of 3 RUNNING FOOTER
RUNNING HEADER Field Station Report
Page 3 body line 1. Page 3 body line 2. Page 3 body line 3. Page 3 body line 4. Page 3 body line 5.
Page 3 of 3 RUNNING FOOTER
Hyphenated line ends are not rejoined (hyphen- and ated stay on two lines). A page rotated by 90 degrees comes out one letter per line.
(cid:127), missing bullets(cid:n) means a glyph with no Unicode mapping in the font; we saw it for bullets drawn in a symbol font. You cannot fix it in MarkItDown; replace the marker afterwards.
(cid:127) first bullet
(cid:127) second bullet
1. numbered one
2. numbered two
(cid:127) first bullet (cid:127) second bullet
CJK, Cyrillic, Greek and common ligatures came out correctly in our test files.
A page that is only an image has no text layer. MarkItDown exits with code 0 and prints nothing, with no warning. In a mixed file only the pages with text produce output. To check for a text layer, try to select text in a viewer; then see OCR.
A file with a user password fails with an empty message and there is no password option:
Reproduced by us
The PDF is encrypted with a user password and the CLI and API have no password option.
Affected: all 0.1.x · last reproduced 2026-11-15
Remove the password with another tool first. A file with only an owner password raised a struct error in our test; that is a single file written by our generator, so we do not generalise it.
Images are not in PDF output (image page). We did not test link targets or footnotes.
| Pages | Release | Seconds | Peak memory (MB) |
|---|---|---|---|
| 1 | 0.1.5 | 0.2 | 111 |
| 1 | 0.1.6 | 0.2 | 110 |
| 1 | 0.1.9 | 0.2 | 108 |
| 10 | 0.1.5 | 1.4 | 183 |
| 10 | 0.1.6 | 1.4 | 108 |
| 10 | 0.1.9 | 1.3 | 107 |
| 100 | 0.1.5 | 15.5 | 930 |
| 100 | 0.1.6 | 12.4 | 110 |
| 100 | 0.1.9 | 12.5 | 110 |
| 500 | 0.1.5 | 75.5 | 4285 |
| 500 | 0.1.6 | 63.4 | 123 |
| 500 | 0.1.9 | 65.4 | 123 |
| 1000 | 0.1.5 | 157.1 | 8467 |
| 1000 | 0.1.6 | 128.5 | 143 |
| 1000 | 0.1.9 | 127.5 | 143 |
Release 0.1.5 needed 8.5 GB for a 1,000-page PDF; 0.1.6 and later need 143 MB
Peak memory converting the same 1,000-page text PDF (0.88 MB), one run each
| Item | MB peak memory | Note |
|---|---|---|
| markitdown 0.1.5 | 8,467 | 157.1 seconds |
| markitdown 0.1.6 | 143 | 128.5 seconds |
| markitdown 0.1.9 | 143 | 127.5 seconds |
Test T15 · cloud lab container · Python 3.13 · 2026-11-15 · pdf-scale.csv
Time grows linearly: about 0.13 seconds per page on our machine. Release 0.1.5 held every page in memory, so a 1,000-page file needed 8.5 GB; 0.1.6 fixed it and later releases need 143 MB. If you see Killed on a large PDF, check your version (error index).
| Your situation | Route |
|---|---|
| You need tables kept | A table-aware tool: comparison |
| Scanned pages | OCR |
| You need headings | A layout-model tool or an LLM pass: comparison |
| You need the images | images |
| You have the original Word or PowerPoint file | Convert that instead: Word, PowerPoint |
The same document (title, heading, paragraph, two bullets, a 3x3 table) made by three producers gave three results: the Chromium print had no table and no bullet markers; the LibreOffice PDF had the table and the bullets; the PDF drawn by a library had the table and its bullets as (cid:127). None had headings. See the last rows of the table above.
Reproduced by us
A PDF whose form object has a malformed bounding box (two numbers instead of four) crashes the PDF reader.
Affected: 0.1.6, 0.1.8, 0.1.9 (tested) · last reproduced 2026-11-15 · Upstream report
PdfConverter threw MissingDependencyException: the pdf extra is missing (missing dependency).PDFSyntaxError: No /Root object!: an empty or truncated file; our zero-byte file produced it.