PDF Text Extractor: PDF to Text, Metadata, Emails & Links avatar

PDF Text Extractor: PDF to Text, Metadata, Emails & Links

Pricing

from $15.00 / 1,000 results

Go to Apify Store
PDF Text Extractor: PDF to Text, Metadata, Emails & Links

PDF Text Extractor: PDF to Text, Metadata, Emails & Links

Extract text from PDF links or from every PDF linked on a web page. Get the full text per document or per page, page ranges, title, author, dates, page count, file size, plus emails and links found inside. Export to JSON, CSV or Excel.

Pricing

from $15.00 / 1,000 results

Rating

0.0

(0)

Developer

David Castro

David Castro

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

9 days ago

Last modified

Features

Limited permissions

Share

Turn PDF files into clean text you can search, analyze or feed to AI tools. Give it direct PDF links, or give it a web page such as a reports, filings or downloads page and it reads every PDF linked there. Each PDF comes back with its full text, the document metadata (title, author, subject, creation and modification dates, page count, file size) and the email addresses and links written inside it. You can also get one row per page, choose page ranges, and filter which links to follow.

What you get

FieldExample
url, fileNamehttps://www.irs.gov/pub/irs-pdf/fw9.pdf, fw9.pdf
title, subject, authorForm W-9 (Rev. March 2024), Request for Taxpayer Identification Number and Certification, SE:W:CAR:MP
creationDate, modificationDate2024-03-06T13:18:13.000Z
creator, producer, pdfVersionDesigner 6.5, Designer 6.5, 1.7
pageCount, pagesExtracted6, 6
fileSizeBytes140815
textthe full text, with line breaks kept
wordCount, charCount6306, 37723
emails, urls["phishing@irs.gov", "spam@uce.gov"], ["www.irs.gov/FormW9", "www.irs.gov/EIN"]
pagepage number, in per-page mode
pagesper-page text and word count, when requested
sourcePagethe web page where the PDF link was found

Inputs

  • PDF links: direct links to PDF files.
  • Web pages with PDF links: every PDF linked on each page is read, up to your limit per page. Keep only links containing a word, or only PDFs on the same website.
  • One row per: document (default) or page.
  • Pages: a range such as 1-5, 1,3,7 or 10-, and a maximum number of pages per PDF.
  • Emails and links: on by default.
  • Max file size: larger files are skipped and not charged.

Example input

{
"pdfUrls": ["https://www.irs.gov/pub/irs-pdf/fw9.pdf"],
"pageUrls": ["https://www.irs.gov/forms-instructions"],
"maxPdfsPerPage": 20,
"outputMode": "document",
"pageRange": "1-10"
}

Example output

{
"url": "https://www.irs.gov/pub/irs-pdf/fw9.pdf",
"fileName": "fw9.pdf",
"title": "Form W-9 (Rev. March 2024)",
"author": "SE:W:CAR:MP",
"subject": "Request for Taxpayer Identification Number and Certification",
"creationDate": "2024-03-06T13:18:13.000Z",
"pdfVersion": "1.7",
"pageCount": 6,
"pagesExtracted": 6,
"fileSizeBytes": 140815,
"wordCount": 6306,
"emails": ["phishing@irs.gov", "spam@uce.gov"],
"text": "Form W-9\n(Rev. March 2024)\nRequest for Taxpayer\nIdentification Number and Certification\n..."
}

Use cases

  • Load reports, papers, manuals and contracts into search indexes, chatbots and AI knowledge bases.
  • Collect every annual report, filing or price list published on a company or government page.
  • Find contact emails inside brochures, catalogs and directories.
  • Track when documents on a page change, using the modification date and word count.

Limits

Scanned PDFs that contain only images have no text to extract; they come back as a row with an error message and are not charged. Password-protected PDFs, files above the size limit and broken links are reported the same way. Text order follows the PDF layout, so multi-column pages read column by column as the PDF stores them.

Pricing

You pay per PDF delivered, or per page in per-page mode. Failed downloads, scanned PDFs, protected files and error rows are never charged. The run stops when it reaches your maximum results or your spend limit. Free Apify plans get up to 10 results per run.