AI & XML / Comparative study of PDF-to-AI converters / Brief description of the study 1 Brief description of this study

This comparative study examines how well different tools convert PDFs into structured target formats such as Markdown, XML or EXHTML. It asks more than whether visible text is extracted: preserving the original document structure is decisive. This includes headings, paragraphs, tables, lists, footnotes, bibliographic references, images, multilingual content, mathematical formulas, text boxes and index entries.

This is especially important for RAG systems. They can provide sound, reliable answers only when underlying document data are complete, correct and meaningfully structured. Conversion errors enter the knowledge base directly. Broken tables, misassigned footnotes or shifted heading hierarchies can significantly impair answer quality and traceability.

1.1 Results at a glance

Table 1.1 Overall ranking of the tools examined, with weighted scores across all chapters

Chapter

Oct

Mi

GeM

Pop

ChM

Op

GeX

ChX

Headings, document structure and page layout

123

69

100

43

131

59

133

25

Text emphasis and inline formatting

35

23

20,05

24,2

37,55

18,6

23

1,15

Special characters, numbers and fonts

14,58

15,6

11,8

14,1

15,8

14

6,8

0,5

Multiple columns

31,8

32,8

32,9

31

32,9

32,6

31

0

Footnotes, endnotes and bibliographic references

70

17

28

20

80

20

29

0

Multilingual content

10

10

10

6,8

10

6,8

2,5

1

Images, illustrations and diagrams

70

37,5

4,5

1,5

100

8,75

10

2,25

Tables

119

91,5

93

6

120

86

41,5

20

Lists and enumerations

35,9

37,5

43

36,5

43

33,4

11,5

4

Mathematical content and formulas

6,25

19,5

19

6

19,75

6

5

0,25

Text boxes

5

5

5

5

10

5

0

0

Bibliography

30

30

30

30

30

10

32

6,5

Index

7

7

7

7

7

5

5,5

0

Maximum points across all chapters

712

712

712

712

712

712

712

712

Points achieved across all chapters

557,53

395,4

404,25

231,1

637

305,15

330,8

60,65

Percentage achieved

78%

56%

57%

32%

89%

43%

46%

9%

Tool abbreviation key:

  • Oct = Octopus

  • Mi = Mistral

  • GeM = Gemini Markdown

  • Pop = Poppler/Pandoc

  • ChM = ChatGPT Markdown

  • Op = OpenDataLoader

  • GeX = Gemini XML

  • ChX = ChatGPT XML

1.2 Other decisive factors in tool selection

Overall ranking based on the criteria weighting selected for this scenario alone does not provide a differentiated evaluation of the tool configurations examined.

The specific use case is decisive. Different publication types and downstream workflows prioritize different requirements. Mathematical formulas, tables, references and footnotes may be crucial in certain scholarly publications, whereas running text, chapter structure and typographic emphasis may matter more in other publications.

A tool may therefore rank well overall yet be less suitable for a particular publisher or publication type if it handles their key structures unreliably.

The study therefore developed a dynamic weighting system to adapt evaluation to different requirements. It enables a differentiated assessment rather than a rigid ranking.

1.3 Quality is not the only factor

Table 1.2 Assessment of tools by criteria such as processing time, reproducibility and privacy

Tools

Reproducibility

Processing time

Privacy

Octopus

yes

fast

yes (local execution)

ChatGPT

no

very slow**

no (cloud)

Mistral

no

fast

no (cloud)***

Gemini

no

fast

no (cloud)

OpenDataLoader

yes*

fast

yes (local execution)

Poppler/Pandoc

yes

fast

yes (local execution)

* in standard mode
** in reasoning mode
*** Self-hosting options are also available for Mistral Document AI / Mistral OCR 3

Runtime, reproducibility and privacy also matter alongside conversion quality. Most tools processed the document in about one minute. ChatGPT Markdown was a clear exception: processing took 81 minutes and 32 seconds. Another attempt was aborted without results after a long runtime.

Reproducibility is also limited for LLM-based tools. The same document and prompt can yield different results because language models interpret content rather than merely extract it. Traditional or rule-based tools such as Octopus, Poppler/Pandoc and local pipelines are more stable because they use fixed processing steps.

Local solutions also offer privacy advantages. Cloud tools such as ChatGPT, Gemini, Mistral and online services send documents to external servers, which can be problematic for confidential, personal or business-critical content. Locally executed tools keep data within one’s infrastructure, providing more control.

1.4 Central conclusion

PDF conversion is far more than text extraction: RAG systems and structured publishing require complete content, correct structures and traceable sources. Only reliable, structured document preparation creates a sound data foundation for AI-assisted applications and further digital workflows.

Overall ranking identifies no universally "best tool", since requirements vary by use case. Conversion quality must be considered alongside runtime, reproducibility and privacy.

back to top