Skip to content
Back to skills

Pdf Data Extractor

ASecurity

Extract structured data from PDF documents using OCR and pattern matching.

  • 7 stars
  • 0 votes
  • 0 copies
  • 10 views
  • Added September 3, 2026
designgo

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 3, 2026

npx -y skills add mediar-ai/skillhubz --skill pdf-data-extractor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pdf Data Extractor?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pdf Data Extractor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mediar-ai-pdf-data-extractor/badge)](https://www.skillsdirectory.com/skills/mediar-ai-pdf-data-extractor)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# PDF Data Extractor

Extract structured data from PDF documents using OCR and pattern matching.

## Prerequisites

- Chrome browser installed
- PDF file accessible locally or via URL

## Instructions

1. Open Chrome and navigate to the PDF file:
   - If local file: use `file:///path/to/document.pdf`
   - If URL: navigate directly to the PDF URL

2. Wait for the PDF to fully load in Chrome's PDF viewer:
   - Confirm the page count is visible
   - Confirm text is selectable (if not scanned)

3. Use Chrome DevTools to extract text content:
   - Press F12 to open DevTools
   - Go to Console tab
   - For each page, extract visible text

4. For scanned PDFs without selectable text:
   - Take a screenshot of each page
   - Use OCR to extract text from screenshots
   - Clean up OCR results for accuracy

5. Parse extracted text for structured data:
   - Look for key-value patterns (e.g., "Name: John Doe")
   - Identify tables by detecting aligned columns
   - Extract dates, amounts, and other formatted data

6. Output the extracted data in requested format:
   - JSON for structured data
   - CSV for tabular data
   - Plain text for unstructured content

## Error Handling

- If PDF is password protected, inform user and request password
- If OCR quality is poor, suggest higher resolution scan
- If PDF has complex layouts, process page by page manually

## Notes

- Works best with text-based PDFs
- Scanned documents require OCR and may have lower accuracy
- For invoices and receipts, consider the `invoice-parser` skill

Files in this skill

  • manifest.json276 B
  • skill.md1.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in design →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.