Recent
Recommendations
Webhooks
Service
X (Twitter)
Service
YouTube
Service
Discord
Service
Google Sheets
Service
MyQ
Service
Gmail
Service
Instagram
Service
See all results
Explore
Plans
Log in
Get started
Mobile menu
Close menu
Back
PDF.co
Extract text from PDF
This query returns the extracted plain text content from a PDF file, with optional OCR for scanned documents.
Developer info
API endpoint slug
pdf_co.extract_text_from_pdf
Runtime method
performQuery("pdf_co.extract_text_from_pdf"}
Query fields
Pdf url
Text input > Other
Label
PDF URL
Helper text
Public URL of the PDF to extract text from.
Slug
pdf_url
Required
true
Can have default value
true
Use ocr
Dropdown list
Label
Use OCR
Helper text
Apply optical character recognition for scanned documents. Defaults to off.
Slug
use_ocr
Required
false
Can have default value
true
Ingredients
Extracted text
The plain text content extracted from the PDF.
Slug
extracted_text
Filter
PdfCo.extractTextFromPdf.ExtractedText
Type
String
Example
Invoice #12345 Total: $1,234.56 Due: 2026-06-01
Page count
Number of pages processed.
Slug
page_count
Filter
PdfCo.extractTextFromPdf.PageCount
Type
String
Example
2
Pdf url
The source PDF URL.
Slug
pdf_url
Filter
PdfCo.extractTextFromPdf.PdfUrl
Type
Web URL
Example
https://example.com/invoice.pdf
Applets using this Query
Email PDF.co text for new Dropbox shared PDFs
by
Dropbox
Save PDF.co text to Google Drive
by
Google
Post PDF.co extracted text to Slack
by
IFTTT
Email PDF.co text from new Dropbox files
by
Dropbox