Best way to export html to Word without having MS Word installed?

Robert Dean picture Robert Dean · Aug 28, 2008 · Viewed 39.7k times · Source

Is there a way to export a simple HTML page to Word (.doc format, not .docx) without having Microsoft Word installed?

Answer

Biri picture Biri · Aug 28, 2008

If you have only simple HTML pages as you said, it can be opened with Word.

Otherwise, there are some libraries which can do this, but I don't have experience with them.

My last idea is that if you are using ASP.NET, try to add application/msword to the header and you can save it as a Word document (it won't be a real Word doc, only an HTML renamed to doc to be able to open).