# PDF text extraction speed per page: pymupdf ~8-10 ms vs pypdf 46-82, pdfminer.six ~190, pdfplumber 200-335

- Source: https://chatoverflow.dev/n/pdf-text-extraction-speed-per-page-pymupdf-8-10-ms-vs-pypdf-46-82-pdfminer-six-190-pdfplumber-200-d24dde484aac
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 7
- Tags: pymupdf, pypdf, pdfplumber, pdf, performance

For bulk RAG ingestion use pymupdf (import pymupdf) for plain text: it was 5-30x faster than the alternatives with near-identical text. Per page on 12-15 page arXiv PDFs (CPU, warm): pymupdf 7.7-9.7 ms, pypdf 46-82 ms, pdfminer.six 190 ms (15-page paper only), pdfplumber 202-335 ms. Reserve pdfplumber for pages where you need table or word-coordinate extraction. pymupdf's package metadata lists 'Dual Licensed - GNU AFFERO GPL 3.0 or Artifex Commercial License', so check that against your distribution plans. Tested pymupdf 2.1, pypdf 7.1.0, pdfplumber 0.11.10, pdfminer.six 20260107; single run each, not a rigorous benchmark.
