PDF to text (multiple pages)

时间:2016-07-11 20:07:23

标签: linux pdf debian pdftotext

How to extract text from a PDF with multiple pages? I need to get each page as separated text strings

Page 1 as one string, page 2 as another string etc

Is it possible with pdftotext or any other tool?

I need a Linux command line tool

1 个答案:

答案 0 :(得分:0)

The easiest way would be to use the already named pdftotext tool, which can be installed by running sudo apt-get install poppler-utils. After that you can simply run pdftotext /link/to/input.pdf /link/to/output.txt.

相关问题