# pdfplumber Python PDF Text and Table Extraction Library

> pdfplumber is a Python library for extracting detailed information from PDFs — text, tables, lines, rectangles, and curves — with visual debugging support. Built on pdfminer.six, it excels at structured table extraction from machine-generated PDFs and includes both a Python API and CLI.

- Skill: `agentskillexchange/pdfplumber-python-pdf-text-and-table-extraction-library` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/pdfplumber-python-pdf-text-and-table-extraction-library`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/pdfplumber-python-pdf-text-and-table-extraction-library/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/pdfplumber-python-pdf-text-and-table-extraction-library

---


# pdfplumber Python PDF Text and Table Extraction Library

pdfplumber is a Python library for extracting detailed information from PDFs — text, tables, lines, rectangles, and curves — with visual debugging support. Built on pdfminer.six, it excels at structured table extraction from machine-generated PDFs and includes both a Python API and CLI.

## Installation

Use the upstream install or setup path that matches your environment:
- pip install pdfplumber

Requirements and caveats from upstream:
- [![Version](https://img.shields.io/pypi/v/pdfplumber.svg)](https://pypi.python.org/pypi/pdfplumber) ![Tests](https://github.com/jsvine/pdfplumber/workflows/Tests/badge.svg) [![Code coverage](https://codecov.io/gh/jsvi...
- Currently [tested](tests/) on [Python 3.10, 3.11, 3.12, 3.13, 3.14](.github/workflows/tests.yml).
- [Python library](#python-library)

Basic usage or getting-started notes:
- sh
- ## Command line interface
- ### Basic example

- Source: https://github.com/jsvine/pdfplumber
- Extracted from upstream docs: https://raw.githubusercontent.com/jsvine/pdfplumber/HEAD/README.md

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/pdfplumber-python-pdf-text-table-extraction/)

