--- license: other license_name: public-domain-and-ietf-trust language: - en pretty_name: PDF text extraction sample (IRS forms and IETF RFCs) size_categories: - n<1K task_categories: - text-retrieval tags: - pdf - text-extraction - rag - apify --- # PDF text extraction sample Six rows of real output from the Keel Data "PDF to Text API" Apify Actor, collected 2026-11-25 from a platform run. Each row has the extracted text of the first pages of one PDF plus file metadata (title, subject, page count, size, word count, scanned-page flag). ## Sources and license note - IRS forms (fw9, fw4, f1040es, f8822) from www.irs.gov/pub/irs-pdf: US federal government publications, public domain. - RFC 9083 and RFC 9110 from www.rfc-editor.org: freely redistributable under the IETF Trust legal provisions. Source URLs are in the `url` field. Text was cut to 3,000 characters and at most 3 pages per file for this sample. ## Fields `url`, `finalUrl`, `status`, `error`, `fileName`, `fileSizeBytes`, `pageCount`, `pagesExtracted`, `emptyPages`, `likelyScanned`, `title`, `subject`, `keywords`, `creatorTool`, `producer`, `pdfVersion`, `createdAt`, `modifiedAt`, `isEncrypted`, `charCount`, `wordCount`, `text`, `textTruncated`, `scrapedAt`. ## Get your own PDFs as text Search phrase: "pdf to text api". Built by Keel Data. Fresh or full data: https://apify.com/loamy_barista/pdf-text-extractor Code examples: https://github.com/keel-data/actor-examples