PDF to Text Extractor (Per-Page Text + Metadata) avatar

PDF to Text Extractor (Per-Page Text + Metadata)

Pricing

from $2.00 / 1,000 pdf processeds

Go to Apify Store
PDF to Text Extractor (Per-Page Text + Metadata)

PDF to Text Extractor (Per-Page Text + Metadata)

Extract clean text from PDF URLs page by page, with metadata, word counts and Markdown-ready output for LLM, RAG and search pipelines.

Pricing

from $2.00 / 1,000 pdf processeds

Rating

0.0

(0)

Developer

age break

age break

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

16 hours ago

Last modified

Categories

Features

Limited permissions

Share

PDF to Text Extractor

Turn PDF links into clean text, page by page, with document metadata and word counts. It is made for LLM, RAG and search pipelines, data entry automation and document monitoring. Give it a list of PDF URLs and get one row per PDF (with a pages array) or one row per page.

Why use this actor

  • Per-page text with line breaks preserved, so you can cite pages in RAG answers.
  • Metadata: title, author, creator, producer, creation and modification dates.
  • Scanned PDF detection: the flag likelyScannedImagePdf tells you when a PDF has no text layer (OCR is needed).
  • Pure JavaScript (Mozilla pdf.js): no browser, low memory, fast.
  • Robust: timeouts, retries, size cap and a clear error field for each failed URL. One bad link never kills the run.

Use cases

  • Build a knowledge base from public reports, papers, manuals and policies.
  • Extract text from invoices, price lists or tenders published as PDF.
  • Monitor government or company PDFs for changes (schedule plus compare).
  • Feed research papers (e.g. arXiv) into summarisation.

How to use

  1. Click Try for free and fill in the input (or paste the JSON below into the JSON tab).
  2. Click Start. Small runs finish in seconds.
  3. Download the results as JSON, CSV, Excel or HTML, or get them through the Apify API, webhooks, Make, Zapier, n8n or the Apify MCP server for AI agents.
  4. Optional: schedule the actor to run daily or weekly for monitoring.

Input example

{
"pdfUrls": [
{
"url": "https://arxiv.org/pdf/1706.03762"
}
],
"outputMode": "perDocument",
"maxPagesPerPdf": 0,
"includeMetadata": true
}

Output example

{
"url": "https://arxiv.org/pdf/1706.03762",
"totalPages": 15,
"pagesExtracted": 15,
"wordCount": 6100,
"likelyScannedImagePdf": false,
"metadata": {
"title": null,
"creator": "LaTeX with hyperref",
"producer": "pdfTeX-1.40.25"
},
"text": "Attention Is All You Need ...",
"pages": [
{
"pageNumber": 1,
"text": "...",
"wordCount": 420
}
]
}

Limits

Text-only extraction: scanned images are flagged, not OCR'd. Password-protected PDFs fail with a clear error. The default size cap is 50 MB per file (adjustable up to 300 MB).

Pricing

Pay per event: $2.00 per 1,000 PDFs plus $0.10 per 1,000 pages. A 20-page PDF costs about $0.004. Failed downloads are not charged.

Apify's free plan includes monthly platform credit, which is enough to try this actor at no cost.

This actor only reads publicly available data, without logging in. Only process PDFs you are allowed to access and reuse. It does not collect personal data by default. You are responsible for using the results in line with the source's terms and with laws such as the GDPR.

Built with AI assistance

This actor was built with AI assistance (Claude by Anthropic). A human operator reviews and publishes it. It was tested with real inputs before release. If something breaks or you need a feature, please open an issue on the Issues tab.

pdf to text, pdf text extraction api, pdf parser, pdf to markdown for llm, extract text from pdf url, document ai, rag ingestion