可以使用Java的Apache POI库来实现:
InputStream inp = new FileInputStream("workbook.xlsx"); XSSFWorkbook wb = new XSSFWorkbook(inp); XSSFSheet sheet = wb.getSheetAt(0); FileOutputStream fileOut = new FileOutputStream("workbook.csv"); Writer w = new OutputStreamWriter(fileOut, "UTF-8"); CSVPrinter csvFilePrin