Convert to Html

GroupDocs.Conversion can convert any source document to a markup format which in general is a HTML conformable format. You can control either to generate fixed positioned DOM elements or flow positioned DOM elements.

Conversion to markup format could be triggered by following below steps:

The following code show how to convert any document to HTML. 

using (Converter converter = new Converter("sample.docx"))
    MarkupConvertOptions options = new MarkupConvertOptions();
    converter.Convert("converted.html", options);

More resources

Advanced Usage Topics

To learn more about convert file features, please refer to the advanced usage section.

Examples and Demos

Please find more use-cases and complete C# sources of our backend and frontend examples and try them for free!