PDF to Text: Extract Text and Metadata from PDF URLs avatar

PDF to Text: Extract Text and Metadata from PDF URLs

Pricing

Pay per event

Go to Apify Store
PDF to Text: Extract Text and Metadata from PDF URLs

PDF to Text: Extract Text and Metadata from PDF URLs

Turn PDF links into plain text with title, author and page counts, for LLMs, RAG and document pipelines. Flat price per file, optional per-page output, flags scanned PDFs.

Pricing

Pay per event

Rating

0.0

(0)

Developer

Damian Obernikowicz

Damian Obernikowicz

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

16 days ago

Last modified

Features

Limited permissions

Share

PDF to Text

Give it links to PDF files and get their text and metadata, without running a PDF library yourself.

What it does

  • Flat price per file, whatever the page count.
  • Page-by-page option for citations and RAG chunking.
  • Honest about scans: files without a text layer get likelyScanned: true rather than quietly returning nothing useful.
  • Bad inputs don't fail the run: each input's status is listed in SUMMARY in the key-value store, and failed inputs produce no charged results.

Input

{
"urls": [
"https://www.rfc-editor.org/rfc/rfc9110.pdf"
]
}

All options are described on the Input tab.

Output

Each result has these fields, plus fetchedAt. Fields without a value are null.

  • url: Requested URL.
  • finalUrl: URL after redirects.
  • title: Title from the file's metadata.
  • author: Author from the file's metadata.
  • createdAt: Creation date from the file's metadata, as written in the file.
  • pageCount: Pages in the file.
  • pagesRead: Pages read.
  • truncated: True if Max pages cut the document short.
  • characterCount: Characters of text.
  • wordCount: Words of text.
  • sizeBytes: File size.
  • likelyScanned: True if there is almost no text layer, as with scanned files.
  • text: Text of the pages read.
  • pages: Text per page, if requested.

Pricing

$0.002 per PDF processed, plus $0.001 per run. If you set a maximum cost per run, the Actor stops at that limit.

Limits

  • No OCR. Scanned PDFs return little or no text. You're charged for those files because they were processed, so check likelyScanned.
  • Reading order follows the file and can be mixed up in multi-column layouts. Tables come out as plain text.
  • Files of about 8 MB and over, password-protected files and non-PDF links are listed as failed in SUMMARY and not charged.
  • It takes direct links only. It doesn't log in, and it respects robots.txt and doesn't use proxies.

Issues

Open an issue on the Issues tab with your input and run ID. This Actor isn't affiliated with or endorsed by the services it reads.