PDFExtract Pull Text from PDFs

Extract clean readable text from PDF files into agent-ready markdown. Multi-page, tables, headers. No external services.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "PDFExtract Pull Text from PDFs" with this command: npx skills add TheShadowRose/pdf-extract-sr

PDFExtract Pull Text from PDFs

Extract clean readable text from PDF files into agent-ready markdown. Multi-page, tables, headers. No external services.


Every agent needs to read PDFs. This does it cleanly.

Usage

const { PDFExtract } = require('./src/pdf-extract');
const pdf = new PDFExtract();

const text = await pdf.extract('document.pdf');
console.log(text);

const structured = await pdf.extractStructured('document.pdf');
console.log(structured.pages);    // Array of page texts
console.log(structured.metadata); // Title, author, page count
console.log(structured.headings); // Detected headings

Features

  • Clean text extraction — strips headers/footers, page numbers, watermarks
  • Page-by-page — access individual pages or full document
  • Heading detection — identifies structure from font sizes
  • Table extraction — basic table detection and formatting
  • Metadata — title, author, creation date, page count
  • Batch processing — extract multiple PDFs at once
  • Markdown output — formatted with headings and structure preserved

Supported PDF Types

TypeSupport
Text PDFsFull support
Scanned/Image PDFsBasic (needs OCR)
FormsText fields extracted
Password-protectedSupported (provide password)

⚠️ Disclaimer

This software is provided "AS IS", without warranty of any kind, express or implied.

USE AT YOUR OWN RISK.

  • The author(s) are NOT liable for any damages, losses, or consequences arising from the use or misuse of this software — including but not limited to financial loss, data loss, security breaches, business interruption, or any indirect/consequential damages.
  • This software does NOT constitute financial, legal, trading, or professional advice.
  • Users are solely responsible for evaluating whether this software is suitable for their use case, environment, and risk tolerance.
  • No guarantee is made regarding accuracy, reliability, completeness, or fitness for any particular purpose.
  • The author(s) are not responsible for how third parties use, modify, or distribute this software after purchase.

By downloading, installing, or using this software, you acknowledge that you have read this disclaimer and agree to use the software entirely at your own risk.

DATA DISCLAIMER: This software processes and stores data locally on your system. The author(s) are not responsible for data loss, corruption, or unauthorized access resulting from software bugs, system failures, or user error. Always maintain independent backups of important data. This software does not transmit data externally unless explicitly configured by the user.


Support & Links

Built with OpenClaw — thank you for making this possible.


🛠️ Need something custom? Custom OpenClaw agents & skills starting at $500. If you can describe it, I can build it. → Hire me on Fiverr

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Data Extractor

Extract structured data from unstructured sources. Parse JSON, CSV, logs, and mixed formats into clean, usable data. Handle malformed data, nested structures...

Registry SourceRecently Updated
00Profile unavailable
General

Url Images To Pdf

从URL提取图片并生成PDF(保持原文顺序,不排序)

Registry SourceRecently Updated
2310Profile unavailable
General

File to Markdown Converter

Convert documents, spreadsheets, images, and structured files into clean, structured Markdown optimized for AI processing without authentication.

Registry SourceRecently Updated
3620Profile unavailable
Research

Boof

Convert PDFs and documents to markdown, index them locally for RAG retrieval, and analyze them token-efficiently. Use when asked to: read/analyze/summarize a PDF, process a document, boof a file, extract information from papers/decks/NOFOs, or when you need to work with large documents without filling the context window. Supports batch processing and cross-document queries.

Registry SourceRecently Updated
5850Profile unavailable