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

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to convert Microsoft Office Word .doc files into the new format (.docx) of Office 2007. I need it to be done via the command line since it's an application where people upload .doc files, and I want them automatically to be converted to .docx.

I can live with a link to a downloadable .exe file if you can provide one, and C++ code will be even better.

share|improve this question
never heard of this use case before... usually it's in the other direction :) – warren Apr 8 '10 at 14:41

This article describes a method using tools downloadable from Microsoft

share|improve this answer

If you want something like code, try the JODConverter Java library.

JODConverter automates all conversions supported by, including .doc and .docx files.

I used the library, and it does a good job.

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.