pdftohtml
Convert PDF files into HTML, XML, and PNG images. tldr-pages
On Linux
Linux
Convert a PDF file to an HTML file
pdftohtml path/to/file.pdf path/to/output_file.htmlIdentifyIgnore images in the PDF file
pdftohtml -i path/to/file.pdf path/to/output_file.htmlIdentifyGenerate a single HTML file that includes all PDF pages
pdftohtml -s path/to/file.pdf path/to/output_file.htmlIdentifyConvert a PDF file to an XML file
pdftohtml -xml path/to/file.pdf path/to/output_file.xmlIdentify