Thank you for suggesting this. I never knew about this. I learnt that it is from/ part of Imagemagick [1].
Unoconv tool [2], recommended in another comment here, is also great to convert documents to and from formats that are supported by OpenOffice (LibreOffice?).
Pandoc [3] is also a worthy option to convert between document formats.