# PDF Processing

> Extract text and tables from PDFs; use when PDFs, forms, or document extraction are mentioned.

- Skill: `majiayu000/pdf-processing-4` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/pdf-processing-4`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/pdf-processing-4/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/majiayu000/pdf-processing-4

---


# PDF Processing
- Use pdfplumber to extract text.
- Install pdfplumber with `pip install pdfplumber`.
- Extract text per page:
  ```python
  import pdfplumber

  with pdfplumber.open("input.pdf") as pdf:
      text = "\n".join(page.extract_text() or "" for page in pdf.pages)
  ```
- For form filling, pair with your form template or validation steps.

