Xpdf Tools Online

If you need to keep the visual structure of the document (like columns), use the -layout flag.

This will generate files like output_prefix-000.ppm , output_prefix-001.ppm , etc. xpdf tools

pdftoppm -png input.pdf output_prefix

pdftotext input.pdf output.txt