Workflow Icon

PDF to Text

Extract plain text from PDF documents

Version 1.0.0 by Patrick Sy

This workflow requires poppler.

Alfred can help manage Homebrew dependencies once the workflow is installed.

Usage

Extract the entire text from one or more PDFs via the Universal Action.

Universal action to extract text from PDF

Alternatively, find PDFs via the pdftotext keyword.

File Filter searching for PDFs

  • Proceed to extract the entire text.
  • Proceed by specifing the pages to extract (single file only).
  • Proceed, push the result to the File Buffer and open the Universal Actions panel.

Specifying the Pages

Specifying page numbers

  • Proceed to extract text from the specified pages.
  • Preview the first and last PDF pages with Alfred’s PDF View.
  • Preview the contents of the first and last page with Alfred’s Text View.
  • Proceed, push the result to the File Buffer and open the Universal Actions panel.

PDF View

Text View

  • Return to the view where you can set the start and end pages.