# PDF Parsing Utils

> Extracting structured text tables and content blocks from PDF files using PyPDF or pdfplumber.

- Skill: `lord1egypt/pdf-parsing-utils` (Agent Skill)
- Install (CLI): `npx skillmds@latest add lord1egypt/pdf-parsing-utils`
- Raw SKILL.md: https://api.skillmd.com/api/skills/lord1egypt/pdf-parsing-utils/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- License: MIT license
- Author: Lord1Egypt (https://skillmd.com/u/lord1egypt)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/lord1egypt/pdf-parsing-utils

---


# Pdf Parsing Utils

## Overview
PDF parsing translates visual PDF files into machine-readable text and clean data structures.

## When to Use This Skill
Use to parse text parameters out of uploaded financial statements or text reports.

## Quick Start (with runnable code examples)

```python
import pypdf

def extract_pdf_text(pdf_path):
    reader = pypdf.PdfReader(pdf_path)
    text = ""
    for page in reader.pages:
        text += page.extract_text() + "\n"
    return text
```

## Advanced Usage
Extract tabular tables using pdfplumber, extract metadata headers, decrypt passwords, and manage page rotations.

## Key References
- [PyPDF Documentation](https://pypdf.readthedocs.io/)

## Dependencies
- pypdf>=3.0.0

