PDF to HTML - Converting a PDF file to HTML - does this product do that? Why is it so confusing to get the bottom of such basic feature?

Hi all,

We love the JAVA-based Word to HTML product - we us it and it’s great.

But it has been a nightmare trying to establish whether or not, the java lib does have have the capability of converting from PDF to HTML!!!

Can one of the product people please get back to us, in a simple and clear manner and explain to us the company’s current and future position on this product area?

Thank you all for your time.

Hi Anwar,


Thanks for contacting support.

Aspose.Pdf for Java supports the feature to convert PDF files to HTML format. Please try using the following code snippet to accomplish your requirements.

[Java]

// load PDF document<o:p></o:p>

com.aspose.pdf.Document doc = new com.aspose.pdf.Document("c:/input.pdf");

//save the output to HTML

doc.save(“c:/resultanthtml”, new
com.aspose.pdf.HtmlSaveOptions());


In case you encounter any issue, please feel free to contact.