extract-pdf-text

hairihou's avatarfrom hairihou

Extract text content from PDF files using pdfplumber

⭐0stars🔀0forks📁View on GitHub🕐Updated Jan 3, 2026

When & Why to Use This Skill

This Claude skill enables seamless text extraction from PDF files using the high-precision pdfplumber library. It allows for automated retrieval of text content from entire documents or specific pages, transforming static PDF data into machine-readable text for enhanced searchability, analysis, and workflow integration.

Use Cases

  • Automated Data Entry: Extracting text from PDF invoices, purchase orders, or financial statements to streamline accounting workflows.
  • Research and Analysis: Converting academic papers, legal documents, or industry reports into plain text for quick summarization and keyword indexing.
  • Content Migration: Batch processing legacy PDF archives to migrate text content into modern CMS or knowledge management systems.
  • Targeted Information Retrieval: Using page-specific extraction to pull data from specific sections of large technical manuals or documentation.
nameextract-pdf-text
descriptionExtract text content from PDF files using pdfplumber. Use when asked to "extract text from PDF", "read PDF contents", or "get text from this PDF file".

Extract PDF text

Usage

./scripts/extract.py <path-to-pdf>
./scripts/extract.py <path-to-pdf> --page 0  # specific page (0-indexed)

Dependencies are resolved automatically via PEP 723 inline metadata.