PDF Text Extractor API — Full Text, Per-Page Text & Metadata
Pricing
$0.50 / 1,000 pdf page with text extracteds
PDF Text Extractor API — Full Text, Per-Page Text & Metadata
Extract text and metadata from PDF URLs: one row per document or one row per page for RAG chunking. Page ranges, encrypted PDFs without a password, clear skip messages. No browser, no proxy. Pay only for pages with text.
Pricing
$0.50 / 1,000 pdf page with text extracteds
Rating
0.0
(0)
Developer
Backyard Tools
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
5 days ago
Last modified
Categories
Features
Share
Give the actor PDF links, get back the text and the document metadata as clean structured data — one row per document, or one row per page for RAG / LLM chunking. Fast text-layer extraction with pypdfium2 (Google's PDFium, the PDF engine inside Chrome): no browser, no proxy, no OCR guesswork.
You only pay for pages that actually contained text — blank and scanned-image pages are free.
Pdf text extractor API — input
Each line of targets is one PDF URL, optionally with options in front:
| Line | Returns |
|---|---|
https://example.com/report.pdf | 1 row: the whole document's text (pages marked --- Page N ---) |
pages:1-5 https://example.com/report.pdf | only pages 1–5 (1-3,7 also works) |
perpage: https://example.com/report.pdf | 1 row per page (page_number set) |
perpage:pages:2-4 https://example.com/report.pdf | both |
{"targets": ["https://www.irs.gov/pub/irs-pdf/fw9.pdf","perpage:pages:1-2 https://www.irs.gov/pub/irs-pdf/fw9.pdf"],"maxItems": 100}
maxItems is the maximum number of rows (documents, or pages in perpage: mode).
Pdf text extractor API — output fields
| Field | |
|---|---|
url, file_name, file_size_bytes | the file you gave |
page_count | pages in the document |
page_number | page of this row (perpage: mode), otherwise empty |
pages_extracted | pages read for this row |
text | extracted text, whitespace tidied |
text_chars, word_count | size of the text |
has_text_layer | false means the pages are images (a scan) — this actor does not OCR |
title, author, subject, keywords, creator, producer | document metadata, when present |
creation_date, modification_date | ISO-style dates from the PDF metadata |
is_encrypted | the PDF was encrypted (only files that open without a password are read) |
text_truncated | text was cut at 4 MB for one row — use perpage: for very large files |
failed_pages | pages that could not be read (the rest of the document is still returned) |
Files that cannot be used (not a PDF, HTTP error, password-protected, damaged, over 100 MB) are skipped with a clear message in the log and are not charged.
Tested (2026-11-18)
| File | Result |
|---|---|
| IRS Form W-9 (6 pages) | 37,679 characters; pages:1-2 and perpage: modes return the same text per page |
| IRS Publication 17 (142 pages, 3.1 MB) | 952,773 characters, 0 failed pages, about 2 seconds including the download |
| IRS Form 1040 Instructions (126 pages, 4.4 MB) | 601,446 characters, 0 failed pages, about 2 seconds including the download |
| AES-256 encrypted PDF without a user password | read (is_encrypted: true) |
password-protected PDF / damaged PDF / HTML saved as .pdf / HTTP 404 | skipped with a message, 0 rows |
| two blank pages (no text layer) | has_text_layer: false, 0 pages charged |
Use cases
- RAG and LLM pipelines: per-page text ready for chunking and embedding
- Document processing: pull text out of reports, filings, manuals and papers in bulk
- Search and archiving: index the text and metadata of a PDF library
- Monitoring: re-read a published PDF on a schedule and compare the text
Limits
- No OCR: scanned PDFs return
has_text_layer: falseand empty text - Text-layer order follows the PDF itself; complex multi-column layouts may interleave
- Use files you have the right to process; the actor downloads exactly the URLs you give and nothing else
Pricing
Pay per event: $0.50 per 1,000 pages with text. Pages without text are free.