There are different ways to convert pdf to text file, such as using python, some OCR software, or linux commands and etc. Here I will show you two methods to do the pdf converstions.
- Use a Python package called pdfminer to convert a pdf file to text file
- Use linux commands to perform this work