Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a way to convert HTML to DOCX file on linux. I tried Converting HTML to odt, doc, docx, but did not find the right way to handle CSS while converting to DOCX.

share|improve this question

migrated from May 15 '12 at 10:23

This question came from our site for professional and enthusiast programmers.

1 Answer 1

If you are happy to use Java, you can convert your HTML to XHTML, and then use docx4j to import it. The import is CSS aware.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.