Libreoffice - Convert ODT to MS Word

By xngo on February 21, 2019

Beside using Libreoffice through its user interface, you can use it from the command line too. This feature is useful when you want to convert a lot of documents to different formats. Here is an example on how to convert from ODT to DOCX.

libreoffice --headless --convert-to docx:"MS Word 2007 XML" your_filename.odt

Use MS Word 2007 XML filter so that long link will not be broken.

About the author

Xuan Ngo is the founder of OpenWritings.net. He currently lives in Montreal, Canada. He loves to write about programming and open source subjects.