PDF Text & Metadata Extractor avatar

PDF Text & Metadata Extractor

Pricing

$4.90 / 1,000 pdf extracteds

Go to Apify Store
PDF Text & Metadata Extractor

PDF Text & Metadata Extractor

Download PDFs from URLs and extract plain text, per-page text, document metadata (title, author, dates, page count), outlines and a scanned-PDF flag. No OCR. $0.0049 per PDF.

Pricing

$4.90 / 1,000 pdf extracteds

Rating

0.0

(0)

Developer

Niklas Bergström

Niklas Bergström

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

11 days ago

Last modified

Categories

Features

Limited permissions

Share

Turn PDF files at a URL into clean JSON: the full plain text, optional per-page text, document metadata (title, author, subject, creator, producer, creation and modification dates), page count, outline/bookmarks and a flag when the file looks like a scanned (image-only) PDF.

$0.0049 per PDF opened. Failed downloads, non-PDF responses, encrypted files we cannot open, files over the size limit, invalid inputs and duplicates are free.

This Actor does not run OCR. If a PDF is a scan of a paper page you will get metadata and page count, an empty (or nearly empty) text field, and isLikelyScanned: true.

What you get

FieldMeaning
fileName, finalUrl, fileSizeBytes, contentTypeThe file that was fetched
title, author, subject, creator, producer, creationDate, modificationDatePDF document info
pageCount, pagesExtractedTotal pages vs how many we took text from
text, charCountCombined plain text from the extracted pages
pageTextsOptional {page, text, charCount} array
outlineBookmark titles (flattened)
isEncrypted, isLikelyScanned, truncatedFlags
problemslikely-scanned, partial-extract, empty-text

Use cases

  • Knowledge bases and RAG: turn public reports, filings and manuals into text before embedding.
  • Document pipelines: pull title, author, dates and page count from a list of PDF links.
  • Compliance and research: extract the first N pages of many official PDFs in one run.
  • Scan detection: find image-only PDFs that need a separate OCR step.

Input example

{
"pdfUrls": [
"https://www.irs.gov/pub/irs-pdf/fw9.pdf",
"https://www.irs.gov/pub/irs-pdf/fw8ben.pdf"
],
"maxPages": 100,
"includePageTexts": true,
"maxFileMb": 20,
"maxConcurrency": 4
}

Output example

{
"recordType": "pdf",
"url": "https://www.irs.gov/pub/irs-pdf/fw9.pdf",
"fileName": "fw9.pdf",
"pageCount": 6,
"pagesExtracted": 6,
"title": "Form W-9 (Rev. March 2024)",
"author": null,
"charCount": 18420,
"isLikelyScanned": false,
"isEncrypted": false,
"checkedAt": "2026-11-12T09:00:00Z"
}

(Example values.)

How it works

Each URL is downloaded (with a size cap) and opened with the open-source pypdf library. Text is read from the PDF's text layer only — no OCR, no third-party extraction API, no login. Only the URLs you supply are requested.