pdf

Extract text and tables from PDFs using Python libraries.

39|13|Updated Aug 8, 2025
One-click install
npx skills add https://github.com/levante-hub/levante --skill pdf-levante-hub
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/levante-hub/levante/tree/main/resources/default-skills/pdf
Command: npx skills add https://github.com/levante-hub/levante --skill pdf-levante-hub

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

PDFs are often static and difficult to extract structured data from, making routine text and table extraction slow and error-prone.

Core Features & Use Cases

  • Text and table extraction from PDFs, including OCR for scanned documents.
  • Merge, split, rotate, and watermark PDFs.
  • Fill forms and create new PDF documents.
  • OCR workflow and multi-tool support for archiving and data extraction.

Quick Start

Extract all text and tables from a sample PDF and save them to a structured CSV file.

Frequently Asked Questions about pdf

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract text and tables from a PDF into a structured CSV file?

To extract text and tables from a PDF into a structured CSV file, you can process the document using text extraction libraries like pdfplumber to pull structured data and export it directly to CSV format.

Can I perform OCR on scanned PDFs to extract text?

Yes, you can perform OCR on scanned PDFs to extract text. The workflow utilizes pdf2image to convert document pages into images, followed by OCR processing to digitize and extract the embedded text.

What is the best way to merge, split, or rotate PDF files programmatically?

The best way to merge, split, or rotate PDF files programmatically is using Python libraries like pypdf, which handle page manipulation, document merging, and file splitting for administrative workflows.

Does this PDF processing approach support filling forms and creating new documents?

Yes, this PDF processing approach supports filling forms and creating new documents. It handles form filling operations and document generation, making it applicable for digitization, archival, and reporting tasks.

Why does text extraction fail on some scanned documents and how do I fix it?

Text extraction fails on scanned documents because they contain images rather than embedded text data. You can fix this by implementing an OCR workflow using pdf2image and OCR tools to recognize and extract the text.

Do I need Python libraries like pypdf and pdfplumber to process PDF documents?

Yes, you need Python libraries like pypdf and pdfplumber to process PDF documents effectively. These dependencies provide the core functionality for text extraction, table parsing, and file manipulation.