Free Support Forum -

Reading Html


I am trying to use Aspose Word to read html document. Is it possible? Not writting to html or writting to Words. What will be returned in range.text? the content as displayed by the browser or including all the tag in some objects?

I try with some html. Some seems ok. But some thrown error.


Shu Yih


Thank you for considering Aspose.

Surely, HTML import is supported by Aspose.Word. Range.Text does not include HTML tags, it always contains just plain unformatted text of some node (including the whole document itself).

You can refer to this spreadsheet to obtain information about supported/unsupported HTML elements:

Please post or attach problematic HTML to let us reproduce the issues.