Ade Malsasa Akbar contact
Senior author, Open Source enthusiast.
Monday, August 22, 2016 at 14:05


XLS is a Microsoft Office proprietary binary document format, along with DOC and PPT. With a command line below, we can convert multiple XLS files into ODS files. This conversion can be considered as Excel to Calc documents conversion. Here, we use XLS files from some freely available internet sources (we don't create the XLS files).



soffice --headless --convert-to ods *.xls

Important note: close any running LibreOffice window before running this command, otherwise it won't work.


And the result is like this (left = XLS, right = ODS):



And our sources of the XLS files are these: