PDF Text Extractor – PDF to Text, Metadata & Pages avatar

PDF Text Extractor – PDF to Text, Metadata & Pages

Pricing

from $4.00 / 1,000 results

Go to Apify Store
PDF Text Extractor – PDF to Text, Metadata & Pages

PDF Text Extractor – PDF to Text, Metadata & Pages

Extract clean text and metadata from any PDF by URL: full text, per-page text, page count, title, author, dates and producer. No browser, no OCR needed for text PDFs. Ideal for AI/RAG, search and document data extraction. Export to JSON, CSV or Excel.

Pricing

from $4.00 / 1,000 results

Rating

0.0

(0)

Developer

Haketa

Haketa

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Share

PDF Text Extractor 📄

Platform What AI No code Export

Turn any PDF into clean, structured text and metadata.

Give it PDF URLs and get back the full text, per-page text, and document metadata (title, author, page count, dates, producer) — clean and ready for AI/RAG pipelines, search, and data extraction. Fast, serverless and no code required.


⚡ At a glance

📝 Full textClean plain text from the whole document
📑 Per-page textOptional page-by-page array for chunking
🏷️ MetadataTitle, author, page count, dates, producer
🤖 AI/RAG readyFeed text straight into LLMs & vector DBs
📦 BulkProcess one PDF or thousands from a list
FastPure code — no browser, no OCR needed
💾 ExportExcel, CSV, JSON or API

📌 Why this Actor?

  • 📝 Clean text extraction — the full document as readable plain text, with broken PDF spacing fixed.
  • 📑 Per-page output — an optional pages array so you can chunk documents page-by-page for embeddings and RAG.
  • 🏷️ Rich metadata — title, author, subject, keywords, creator, producer, creation & modification dates and page count.
  • 🤖 Built for AI — structured JSON output that drops straight into LLM, embedding and search workflows.
  • 📦 Bulk-friendly — pass a big list of PDF URLs and get one clean dataset back.

✨ What you get (data fields)

FieldDescription
textFull extracted text (plain)
pagesPer-page text array (optional)
pageCountNumber of pages
wordCountExtracted word count
titleDocument title
authorDocument author
subjectDocument subject
keywordsDocument keywords
creatorCreating application
producerPDF producer
creationDate / modificationDateDocument dates
fileNameFile name
fileSizeBytesFile size
urlSource URL
errorSet if extraction failed

🚀 Quick start

  1. Click Try for free / Start.
  2. Add your PDF URLs — one per line:
    https://arxiv.org/pdf/1706.03762
    https://example.com/report.pdf
  3. (Optional) Turn on Include per-page text for chunking, or set Max pages.
  4. Click Save & Start, then export from the Dataset tab.

💡 Tip: Have a big list? Use PDF URLs from file / list to load thousands of URLs from a CSV or Google Sheet.


🎯 Use cases

Use caseWhat it delivers
🤖 AI / RAG pipelinesClean, chunked text ready for LLMs, embeddings and vector databases.
🔎 Document searchIndex PDF content for full-text search.
📊 Data extractionPull text from reports, invoices, contracts and papers at scale.
📚 ResearchExtract text from academic papers and whitepapers.
🗂️ Content migrationConvert PDF libraries into structured text.
🧾 Compliance & archivingTurn document sets into searchable text records.

⚙️ Input reference

InputTypeDefaultDescription
PDF URLslistsamplePDF URLs to extract.
PDF URLs from file / listlistBulk-load URLs from a file or sheet.
Include per-page textbooleanfalseAdd a pages array.
Include document metadatabooleantrueExtract title, author, dates, etc.
Max pages per PDFnumber00 = all pages.
Download timeout (seconds)number60Per-PDF download timeout.
Proxy / concurrencyDatacenter / 5Sensible defaults.

📥 Example input

{
"pdfUrls": ["https://arxiv.org/pdf/1706.03762"],
"splitPages": true,
"includeMetadata": true,
"maxPages": 0
}

📤 Example output

{
"url": "https://arxiv.org/pdf/1706.03762",
"fileName": "1706.03762",
"fileSizeBytes": 2215244,
"pageCount": 15,
"wordCount": 8231,
"title": "Attention Is All You Need",
"author": "",
"producer": "pdfTeX-1.40.25",
"creationDate": "2024-04-10T21:11:43.000Z",
"text": "Provided proper attribution is provided, Google hereby grants permission to reproduce…",
"pages": ["…page 1 text…", "…page 2 text…"],
"scrapedAt": "2026-07-25T10:00:00.000Z"
}

💡 Tips & best practices

  • Use splitPages for AI/RAG — page-by-page text is easy to chunk and embed.
  • Cap maxPages for very large documents when you only need the first pages.
  • Bulk-load URLs from a file to process large libraries.
  • Check the error field to spot any URLs that weren't valid PDFs.
  • Scale concurrency for big batches.

❓ FAQ

What kinds of PDF work? Text-based (digitally created) PDFs. Scanned/image-only PDFs have no embedded text layer, so they return no text (OCR is not performed).

Can I get per-page text? Yes — turn on Include per-page text to add a pages array.

Can I extract metadata? Yes — title, author, subject, keywords, creator, producer and dates are included by default.

Do I need to code? No. Add PDF URLs, click Start, export.

In what format is the data? Structured JSON by default, exportable to CSV, Excel, HTML or via API.


📊 Output & integrations

Results are stored in a standard Apify dataset — preview as a table, export to JSON, CSV, Excel, HTML, pull via the API, or push to Google Sheets, Make, Zapier and more.


This Actor extracts text from PDFs you provide.

  • Ensure you have the right to download and process each document.
  • Respect copyright and the terms under which documents are published.
  • You are responsible for how you use the extracted data.

🛟 Support

Found a bug, need an extra field, or want a tweak? Open an issue on the Actor's Issues tab.

Happy extracting! 📄