go-pdftohtml Package pdftohtml is a wrapper for Xpdf command line tool pdftohtml. What is pdftohtml? Pdftohtml converts Portable Document Format (PDF) files to HTML. Reference: https://www.xpdfreader.com/pdftohtml-man.html