PDF to HTML / Command Line Examples
This page contains various examples of using the PDF to HTML API in Command Line. The examples are complete and fully functional. Read more about how to convert PDF to HTML in Command Line.
Basic examples
Basic examples
PDF file to HTML file
pdf2html -user-name "demo" -api-key "demo" \ "/path/to/logo.pdf" > "logo.html"
PDF url to HTML file
pdf2html -user-name "demo" -api-key "demo" \ "https://pdfcrowd.com/static/pdf/apisamples/invoice.pdf" > "invoice.html"