Free Support Forum -

How to convert HTML to a DOCX file in C#

I am converting a very simple html document to docx and the result does not look very good.

At least not on Word 2016.

Both files are attached to this message.

I am using Groupdocs Conversion and running the example project.

Headings are on same row as text, no support for ul-lists etc.
Is there something to be done about this?


Thank you for giving a try to the new GroupDocs.Conversion API.

We have tested this scenario and found issues with headings.

We have shared all details with our Product team; once we have any update from them we will inform you here.

Please find below some useful resources for GroupDocs.Conversion API.

Thank you for your patience.

If you will need any help or you will have any other questions please feel free to ask.

Warm Regards

The issues you have found earlier (filed as CONVERSIONNET-740) have been fixed in this update.

This message was posted using Notification2Forum from Downloads module by groupdocs.notifier.


We’d recommend you to migrate to API version 20.x (20.6 more preferably). Have a look at the migration and release notes.
We’ve simplified the document conversion process:

using (Converter converter = new Converter(source document path))
    PdfConvertOptions convertOptions = new PdfConvertOptions();
    converter.Convert(outputPath, convertOptions);