Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

html

ms-word

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

like image 409
Robert Dean Avatar asked Aug 28 '08 12:08

Robert Dean


People also ask

Can I save a HTML to Word?

Under Save As Type, select Webpage, HTML Only. Click Save. Launch MS Word, then open the HTML file you want to edit. The HTML file will open in Word.


1 Answers

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).

like image 166
Biri Avatar answered Sep 28 '22 15:09

Biri