pdftohtml

Converts PDF files into HTML and XML formats

brewmacoslinux
Try with needOr install directly
Source

About

Utility which converts PDF files into HTML and XML formats

Commands

pdftohtml

Examples

Convert a PDF file to HTML$ pdftohtml document.pdf document.html
Convert PDF to HTML with XML output$ pdftohtml -xml document.pdf document.xml
Convert specific pages (1-5) of a PDF to HTML$ pdftohtml -f 1 -l 5 document.pdf output.html