How to convert PDF to HTML

How to convert PDF to HTML

You can now convert PDF to HTML with PDFTables! Use our Convert a PDF button on our website or our API to convert PDF to HTML with Python and more.

I will be converting a sample PDF invoice from a freight company which will convert into 1 page and download to HTML format. If you would like to convert only certain pages from a PDF document, see our tutorial on how to extract pages from a PDF document. Let's get started!

Step 1

Go to and click the Convert a PDF button to begin converting to HTML.

Convert a PDF button

Step 2

Find the PDF in your file finder and click Open.

Choose your file

Step 3

Once the conversion is complete, click the arrow next to the Download as Excel button and select HTML.

Download as HTML

Step 4

Once the download is complete, click the download to open the HTML file in your browser. You can also open the HTML file in a code editor to view the HTML script.

You have now successfully performed a PDF to HTML conversion!


It is also possible to use our API as a PDF to HTML converter. Why not try converting PDF to HTML with Python? See the choosing format section which explains how to specify a different format using cURL.

If you would like to convert multiple PDFs to HTML, see our blog post on converting multiple PDFs with our API.

Do you have more questions?

Check out our other blog posts here or our FAQ page. Also, feel free to contact us.

Love PDFTables? Leave us a review on our Trustpilot page!

Icons made by Smashicons from is licensed by CC 3.0 BY. uses cookies to provide a service and collect information about how you use our site. If you don't want us to collect information about your site behaviour, please go to our privacy page for more information. Read about our use of cookies.