# pdfplumber

> Plumb a PDF for detailed information about each char, rectangle, line, et cetera — and easily extract text and tables.

Source: https://talira.ai/catalog/pdfplumber-phcpd0sv
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Command-line tool
- Categories: [documents / pdf / extraction](https://talira.ai/categories/documents/pdf/extraction), [data / scraping](https://talira.ai/categories/data/scraping), [languages / python](https://talira.ai/categories/languages/python)
- Platforms: linux, macos, windows, cli[^1][^2]
- Licence: MIT[^1][^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Self-hostable: yes[^1]
- Creator: Jeremy Singer-Vine (jsvine)

pdfplumber is an MIT-licensed Python library built on pdfminer.six that exposes every character, line, rectangle and curve on a PDF page with its exact coordinates and font, and provides customizable table extraction and layout-aware text extraction on top. Its visual debugging draws what it found onto a page image (handy in Jupyter) so you can tune table settings. It works best on machine-generated PDFs; it does not OCR, generate or modify PDFs.

## Links

- GitHub: https://github.com/jsvine/pdfplumber

## Problems it solves

- get the table on page 4 of a government report into a pandas DataFrame
- copy-pasting tables out of PDFs into Excel breaks every column
- I need the exact position and font size of each character on a PDF page
- find the bounding box of the text 'Total due' so I can read the number to its right
- crop a region of a PDF page and only extract the text inside it
- see visually which lines and cells the table detector picked up so I can tune it
- scrape hundreds of machine-generated bank statements into rows of transactions
- extract text while keeping the page layout and column spacing
- detect the ruling lines and rectangles that make up a form's boxes
- dump every object on a PDF page to CSV or JSON from the command line

## Features

- per-character, line, rectangle and curve objects with coordinates
- customizable table detection and extraction
- layout-aware text extraction
- visual debugging with page images (.to_image())
- crop and filter objects by region
- form field value extraction
- CLI that outputs CSV, JSON or text
- password-protected PDFs

## Capabilities

- Has a command line tool: plan not known
- Has official SDKs: plan not known

## Trust

Overall: 0.49 out of 1.
Signals: maintenance 0.45, adoption 0.81, momentum 0.58, community 0.65, backing 0.20, extensibility 0.20.

- last commit 40 days ago
- latest release v0.11.10 5 months ago
- 10.9k GitHub stars
- 42 contributors
- created by Jeremy Singer-Vine (jsvine)

## Alternatives

- [PyMuPDF](https://talira.ai/catalog/pymupdf-xw9pb5xf.md): A high performance Python library for data extraction, analysis, conversion & manipulation of PDF (and other) documents.
- [Docling](https://talira.ai/catalog/docling-7gb20naa.md): Get your documents ready for gen AI
- [Unstructured](https://talira.ai/catalog/unstructured-z2qgvev8.md): Converts PDFs, Office files, HTML and email into structured data for LLM pipelines
- [pdf-reader](https://talira.ai/catalog/pdf-reader-4twjxc38.md): A PDF parser conforming as much as possible to the PDF specification from Adobe
- [Apache PDFBox](https://talira.ai/catalog/apache-pdfbox-79k8kxaj.md): The Apache PDFBox library is an open source Java tool for working with PDF documents.
- [pypdfium2](https://talira.ai/catalog/pypdfium2-2qb89jmf.md): Python bindings to PDFium, reasonably cross-platform

## Sources

[^1]: https://github.com/jsvine/pdfplumber (checked 17 Nov 2026)
[^2]: https://pypi.org/project/pdfplumber/ (checked 17 Nov 2026)
