PDF to HTML Command line Examples

These examples demonstrate common PDF to HTML API workflows in Command line.


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"