PDF2TXT icon indicating copy to clipboard operation
PDF2TXT copied to clipboard

It's a python script that convert PDF to txt using PDFMiner

PDF2TXT

It's a python script that convert PDF to TXT using PDFMiner.

There are two main functions that you can choose to use.

onePdfToTxt(filepath, outpath)
manyPdfToTxt(fileDir)

The first function will convert one PDF file to TXT file.

And the second function will convert all PDF files in the folder to TXT files

Example

onePdfToTxt('myPDF.pdf', 'myTXT.txt')

manyPdfToTxt('myPDFFolderPath')