PDF Text Extractor for Openclaw

A high-performance PDF text extraction and OCR tool designed for automated document digitization and data parsing.

michael-laffin
v1.0.0
Feb 4, 2026
20
12.5k
139

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install pdf-text-extractor

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install pdf-text-extractor using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is PDF Text Extractor?

PDF Text Extractor is a versatile utility for Openclaw Skills that enables seamless text recovery from both native text-based PDFs and scanned image documents. By leveraging integrated OCR technology via Tesseract.js, it transforms static files into actionable data without requiring external dependencies, making it an ideal choice for developers building document-heavy workflows.

This skill focuses on speed and accuracy, providing users with multiple output formats including Markdown, JSON, and HTML. It simplifies complex document processing tasks, such as handling password-protected files and preserving document structures, ensuring that your Openclaw Skills have access to the highest quality text data for content analysis or LLM processing.

PDF Text Extractor Use Cases

  • Automating the digitization of paper-based invoices, receipts, and legal contracts.
  • Preparing large-scale document datasets for LLM training or searchable content analysis.
  • Parsing structured data and tables from complex PDF-based financial reports.
  • Enhancing searchability within digital archives by converting scanned images into indexable text.

How PDF Text Extractor Works

  1. The skill receives a PDF file path and identifies if the document contains a native text layer or is image-only.
  2. For text-based PDFs, it uses a built-in engine to extract content directly in milliseconds.
  3. For scanned documents, it triggers the OCR engine with configurable quality and language settings (English, Spanish, French, German).
  4. The extracted content is structured according to the requested output format (Text, JSON, Markdown, or HTML).
  5. The final payload, including metadata like author and page count, is delivered back to the Openclaw Skills environment.

PDF Text Extractor Setup

Install the skill using the following command:

clawhub install pdf-text-extractor

You can then configure the extraction behavior in your config file:

{
  "ocr": {
    "enabled": true,
    "defaultLanguage": "eng",
    "quality": "medium"
  }
}

PDF Text Extractor Data Schema & Taxonomy

The skill returns a structured response object detailing the extraction results and file properties:

Property Type Description
text string The full extracted content of the document
pages number Total number of pages processed
wordCount number Total word count based on extraction
metadata object PDF properties including title, author, and creation date
method string Indicates whether 'text' or 'ocr' was used
language string The detected or specified language of the text

PDF Text Extractor Advanced Features

  • Batch processing capabilities allowing users to handle multiple PDF files simultaneously with built-in retry logic.
  • Intelligent language detection to automatically select the correct OCR library for diverse document sets.
  • Configurable OCR quality-to-speed ratios to optimize performance for high-volume Openclaw Skills workflows.
  • Stream-based processing to maintain low memory overhead even when analyzing exceptionally large documents.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*