PDF Text Extractor - Bulk PDF URLs to Text, Pages & Metadata avatar

PDF Text Extractor - Bulk PDF URLs to Text, Pages & Metadata

Pricing

Pay per event

Go to Apify Store
PDF Text Extractor - Bulk PDF URLs to Text, Pages & Metadata

PDF Text Extractor - Bulk PDF URLs to Text, Pages & Metadata

Returns the text of each PDF (whole document or one row per page), plus page count, title, author, dates and a flag for scanned PDFs without a text layer. Input: a list of PDF URLs. Built for RAG, AI agents and document pipelines. Pay per PDF and per page.

Pricing

Pay per event

Rating

0.0

(0)

Developer

Blue Moon

Blue Moon

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

PDF Text Extractor

Give it a list of PDF URLs, get back clean text plus metadata, as one row per PDF or one row per page (ideal for RAG chunking, citations and AI agents).

What you get

FieldExample
url, finalUrllink to the PDF
textextracted text (whole document, or one page in page mode)
pageNumberpage mode only
pageCount, pagesExtracted, charCount, fileSizeBytessize info
title, subject, keywords, producer, createdAt, modifiedAtdocument metadata
hasTextLayer, notefalse means a scanned PDF that needs OCR
errorwhy a file failed (not_a_pdf, http_404, file_too_large...)

Features

  • Bulk: many PDFs in parallel.
  • Whitespace clean-up and re-joined hyphenated words.
  • Limit pages per PDF and maximum file size.
  • Detects scanned PDFs without a text layer and does not charge their pages.
  • No API keys, no setup.

Pricing

  • $0.002 per PDF processed
  • $0.0005 per page of text extracted

A 10-page PDF costs $0.007. Failed downloads, non-PDF links and pages of scanned PDFs are free. Set a maximum cost per run in Apify and the Actor stops there.

Example input

{
"pdfUrls": ["https://www.irs.gov/pub/irs-pdf/fw8ben.pdf"],
"outputMode": "pages",
"maxPages": 100
}

Notes

  • Text is read from the PDF's text layer; scanned images are not OCR'd.
  • Author and creator metadata fields are intentionally not returned.
  • The Actor obeys robots.txt (disallowed links return error: "skipped_robots_txt", free) and does not log in or bypass access controls.

How to use it

  1. Click Try for free (an Apify account is free).
  2. Fill in the input, or paste the JSON example below.
  3. Click Start and wait for the run to finish.
  4. Download the results as JSON, CSV, Excel or HTML, or get them by API, webhook or an integration (Google Sheets, Zapier, Make, n8n, Slack).

Run it by API

Run the Actor and get the results in one call:

curl -X POST 'https://api.apify.com/v2/acts/bluemoonstone~pdf-text-extractor/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN' \
-H 'Content-Type: application/json' \
-d '{"pdfUrls": ["https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf"], "outputMode": "pages"}'

Or use the official JavaScript and Python clients.

Use it from AI agents (MCP)

This Actor works as a tool for Claude, ChatGPT, Cursor, VS Code and other MCP clients through the Apify MCP server. Add this server URL to your client:

https://mcp.apify.com?tools=bluemoonstone/pdf-text-extractor

Then ask, for example: "Extract the text of these 30 PDF reports and summarize each one in three bullet points."

It also works with LangChain, LlamaIndex, CrewAI and the OpenAI Agents SDK through the Apify integrations.

FAQ

Does it do OCR on scanned PDFs?

No. It extracts the text layer. Scanned pages without a text layer are flagged and are free.

Can I feed the output to an LLM or RAG pipeline?

Yes. Use outputMode: pages to get one row per page, ready for chunking and embeddings.

What are the limits?

Up to 500 pages and 50 MB per PDF by default; both are configurable.

Something not working, or need a feature?

Open an issue in the Issues tab. Feature requests are welcome and shape what gets built next.

Responsible use

  • Process only PDFs you have the right to access and use, and follow each site's terms of service and all applicable laws (copyright, privacy and data-protection laws such as GDPR).
  • Extracted text may be copyrighted; use it for your own analysis, search or AI workflows, not to republish other people's work.
  • Do not use it to collect personal data.
  • Not affiliated with, endorsed by or sponsored by Adobe or any other company or website.

Compliance

2026-11-29: checked against the project compliance checklist. User-directed tool (user supplies the URLs), obeys robots.txt, no login or access-control bypass, outputs no personal data (PDF author/creator fields dropped). Decision: publish.