Convert Excel files to ODS in Java

The following example demonstrates how to convert Excel files from one format to another in Java.

You can load any Excel file format (XLS, XLSX, ODS, HTML, CSV, TAB, or TXT) and convert it into any other Excel file format (XLS, XLSX, ODS, HTML, CSV, TAB, or TXT). You can also convert it to HTML.

Note that below you have Run options with which you can upload your own input Excel file or download the current input file and verify if the conversion to output file is satisfactory.

Convert Excel to HTML Screenshot
Upload your file (Drag file here)
import com.gembox.spreadsheet.*;

class Program {

    public static void main(String[] args) throws {
        // If using Professional version, put your serial key below.

        ExcelFile ef = ExcelFile.load("%InputFileName%");

        // In order to achieve the conversion of a loaded Excel file to ODS,
        // or to some other Excel format,
        // we just need to save an ExcelFile object to desired output file format."Convert.%OutputFileType%");

Check next example or download examples from GitHub.