PDF to Text
/install pdf-to-txt
PDF to Text
What It Does
Extracts plain text from all or selected pages of a PDF.
When to Use
- Extract readable text from a PDF for processing or analysis
- Get raw text content from PDF documents
Required Inputs
Provide one of:
url— public URL to a PDFfile— base64-encoded PDF- Multipart upload with
filefield
Authentication
Send your API key in the CLIENT-API-KEY header.
Get your free API key at https://pdfapihub.com. Full API documentation is available at https://pdfapihub.com/docs.
Use Cases
- Full-Text Search Indexing — Extract text from PDFs to build searchable indexes
- AI/LLM Processing — Extract PDF text for feeding into language models or chatbots
- Content Migration — Pull text from legacy PDF documents for migration to new systems
- Plagiarism Detection — Extract text for comparison and duplicate detection
- Accessibility — Extract text from PDFs for screen readers or text-to-speech
Aliases
/v1/convert/pdf/textis an alias
Example Usage
curl -X POST https://pdfapihub.com/api/v1/convert/pdf/txt \
-H "CLIENT-API-KEY: your_api_key" \
-H "Content-Type: application/json" \
-d '{ "url": "https://pdfapihub.com/sample-pdfapi-intro.pdf", "output": "url" }'
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install pdf-to-txt - After installation, invoke the skill by name or use
/pdf-to-txt - Provide required inputs per the skill's parameter spec and get structured output
What is PDF to Text?
Extract plain text from all or selected pages of a PDF. It is an AI Agent Skill for Claude Code / OpenClaw, with 73 downloads so far.
How do I install PDF to Text?
Run "/install pdf-to-txt" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is PDF to Text free?
Yes, PDF to Text is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does PDF to Text support?
PDF to Text is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created PDF to Text?
It is built and maintained by Rishabh Dugar (@rishabhdugar); the current version is v1.0.0.