There is a macro in the Alteryx Gallery that you can download and install to read PDF files. Follow the steps in the readme file.
https://gallery.alteryx.com/#!app/PDF-Input/5b685aff0462d710907f7a3b
The tool loads every row of the PDF file as a single string.
You can load both files with the macro and then compare each line.