How it works
GustKit reads the text layer of the PDF with pdf.js (the engine inside Firefox) and rebuilds the lines in reading order. Each page is labelled so you can find your place.
Scanned PDFs
If the PDF is a scan, it only contains pictures of text. In that case convert the pages to JPG and run them through Image to text (OCR), which is also free and local.