PDF to TXT file Convert raster PDFs to text files. Run this script in a folder and it will find and process all PDF files. Installation pip3 install pytesseract wand Usage Put the script into the same folder with the PDFs you want to process. Run it: python3 pdf-to-txt.py