Convert CSV to XLS

Turn CSV files into XLS. One sheet named after the file, cut to 31 characters.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop CSV files on the dialor turn it to pick what to do

A CSV table as an Excel 97-2003 workbook.One sheet holds your rows. Rows and columns past the old format's limits are dropped.

  1. What you get

    One XLS file with one sheet. The sheet is named after the file and cut to 31 characters.

    Each row of the CSV becomes a row on the sheet. The file opens in Excel 97 through 2003 and in programs that read that workbook format.

  2. What gets dropped

    The Excel 97-2003 format has fixed limits. Rows past 65,536 and columns past 256 do not fit, so they are dropped without a warning.

    If your CSV is larger than that, check the row and column counts before you rely on the workbook.

  3. Delimiter and header

    Delimiter sets the character between fields: comma, semicolon, tab or pipe. When you leave it out, it is guessed from the rows. Set it to semicolon if your file comes from a spreadsheet in a European locale.

    Turn on Header row when the first row holds column names. With it on, the first row stays text. It is off by default.

CSV and XLS.What each format is, and the options this conversion takes.

  1. 01 · delimiter

    Delimiter

    The character between fields. It is guessed from the rows when left out. Spreadsheets in many European locales use semicolons.

    • comma A comma.
    • semicolon A semicolon.
    • tab A tab.
    • pipe A vertical bar.
    comma · semicolon · tab · pipe
  2. 02 · header

    Header row

    Whether the first row holds the column names rather than data.

    default false

The formats

From · CSV

CSV

Rows of comma-separated values. The plainest way to move a table between programs.

Extensions
.csv
MIME type
text/csv
Kind
Text and data
To · XLS

Excel 97-2003 Workbook

The binary Excel workbook format from Excel 97 through 2003, and its templates (.xlt). WPS Spreadsheets saves the same format as .et and .ett.

Extensions
.xls .xlt .et .ett
MIME type
application/vnd.ms-excel
Kind
Documents

In your code.The same CSV to XLS conversion through the API, for your app or your agent.

terminal
$ cv convert sheet.csv sheet.xls
$ cv convert sheet.csv sheet.xls

Questions.What people ask about CSV to XLS.

01OF 04

The sheet takes the name of the file, cut to 31 characters. The workbook has one sheet.

They are dropped without a warning. Columns past 256 are dropped the same way, because the Excel 97-2003 format cannot hold them.

No. If you leave Delimiter out, it is guessed from the rows. You can set it to comma, semicolon, tab or pipe.

Yes. XLS to CSV converts a workbook back into CSV.

More conversions.Other ways in and out of CSV and XLS.