Skip to content
Back to blog
News

Why Reading PDFs is Hard

Kacper Włodarczyk · · 1 min read · Updated on March 22, 2026
llm pdf-parsing rag llamaindex document-processing

This LlamaIndex article explains why PDF parsing remains fundamentally difficult: PDFs store drawing instructions for glyph shapes at coordinates rather than semantic text, meaning there is no inherent concept of characters, words, tables, or reading order. The article details three core problems — text is glyph shapes mapped through font-specific encodings (not Unicode), tables are just independent line drawings and text coordinates with no semantic connection, and reading order in the content stream is arbitrary and must be heuristically reconstructed. It traces the history of document parsing from 1950s OCR through pipeline-based approaches (Tesseract, cloud APIs) to the current model era of VLMs, arguing that “just screenshot it and send to a VLM” doesn’t scale due to token costs, hallucinations, and lack of metadata. The recommended architecture combines text extraction from the PDF binary for standard content with VLMs for visually complex regions like tables and charts — the approach behind LlamaParse.

Source: Why Reading PDFs is Hard

Share this article

Ready to ship your AI app?

Pick your frameworks, generate a production-ready project, and deploy. 75+ options, one command, zero config debt.

Need help building production AI agents?