Email PDF.co text for new Dropbox shared PDFs
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 code
- 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 code
- PdfCo.extractTextFromPdf.PageCount
- Type
- String
- Example
- 2
Pdf url The source PDF URL.
- Slug
- pdf_url
- Filter code
- PdfCo.extractTextFromPdf.PdfUrl
- Type
- Web URL
- Example
- https://example.com/invoice.pdf
