Convert to HTML

Convert to HTML in Java

The GroupDocs.Conversion (which is a part of Conholdate.Total for Java) allows converting your files to HTML format is also an easy and natural way.

Here for an instance, the example below shows that how to convert PDF document to HTML in Java using GroupDocs.Conversion:

// Load the source PDF file
Converter converter = new Converter("sample.pdf");
// Set the convert options for HTML format
MarkupConvertOptions options = new MarkupConvertOptions();
// Convert to HTML format
converter.convert("converted.html", options);