How do you batch convert CSV files to XLSX on a Mac?

By Kayabyte · Last updated 31 October 2026

To convert one CSV to XLSX on a Mac, open it in Excel and choose File, Save As, Excel Workbook. For many files there is no batch command in Excel for Mac; free options are LibreOffice in Terminal or a script, and Gridhand converts a whole folder in one run, with encoding and delimiter detection and leading zeros kept.

One file, in Excel

  1. Open the CSV in Excel, or use Data, Get Data, From Text/CSV to choose the file origin (encoding) and delimiter.
  2. Check that accented characters look right and that long numbers and IDs are not shown as 1.23E+15 or lost their leading zeros.
  3. File, Save As, and choose Excel Workbook (.xlsx).

Many files, free

What goes wrong

With Gridhand

Gridhand Convert reads CSV, TSV and delimited text. It detects the encoding (BOM, UTF-8 validity, UTF-16, Windows-1252 as a fallback) and the delimiter (comma, semicolon, tab or pipe, by consistency over the first rows), handles quoted line breaks and ragged rows, and only turns text into numbers or dates when the whole column agrees, so IDs with leading zeros stay text. You can override the encoding and delimiter, set the decimal mark, choose header options, and put everything into one workbook. Outputs are formatted .xlsx files, written to a folder you choose; originals are never modified.

Steps with Gridhand

  1. Drop the CSV files, or a folder, into Gridhand and choose Convert.
  2. Choose “CSV, TSV or text to XLSX”. Look at the preview; if the text looks wrong or everything is in one column, change the encoding or delimiter.
  3. Choose an output folder and press Run.

Free for up to 3 files per run; Gridhand Pro is USD 49 once. Download Gridhand

Questions

Can it convert a whole folder? Yes. Add the folder, with or without subfolders, and filter by file type or name.

Why does my CSV open in one column? The delimiter is not a comma. Gridhand detects semicolon, tab and pipe, or you can pick one.

Will leading zeros survive? Yes, in Gridhand’s conversion: a column becomes numbers only when every value is a plain number.

Does it need Excel? No.

Microsoft and Excel are trademarks of the Microsoft group of companies. Gridhand is made by Kayabyte and is not affiliated with or endorsed by Microsoft.