Home › Guides › XLSX vs CSV

XLSX vs CSV: what's the difference?

XLSX is Excel's full workbook format; CSV is plain text. Compare sheets, formatting, formulas, size limits and compatibility, and learn when to use each.

XLSX and CSV both hold tables of data, but they're very different files. XLSX is Excel's full workbook format. CSV is plain text with commas between the values. Here's how they compare and when to use each.

XLSX vs CSV at a glance

FeatureXLSXCSV
What it isA zip file of XML documents (Office Open XML)Plain text: one line per row, values separated by commas
SheetsMany sheets in one fileOne table per file
FormattingFonts, colors, borders, column widths, number formatsNone
FormulasKept and recalculatedOnly the results
Charts, images, commentsYesNo
Data typesNumbers, dates, text and booleans are stored as typesEverything is text; the program opening it guesses
Size limit1,048,576 rows × 16,384 columns per sheetNo limit in the format (Excel opens the first 1,048,576 rows)
Opens inExcel, Google Sheets, Numbers, LibreOfficeAlmost anything: spreadsheets, databases, text editors, code
Readable by peopleOnly in a spreadsheet appYes, in any text editor
File sizeCompressed, usually smallerOften larger for the same data

When to use XLSX

When to use CSV

What about XLSM, XLS and XLSB?

Converting between them

To go from XLSX to CSV, use the converter on our home page, which can do every sheet at once, or Excel's Save As (one sheet at a time). To go from CSV back to XLSX, open the CSV in Excel and save it as an Excel Workbook (*.xlsx). Use Data › From Text/CSV if you need to keep leading zeros or accents. Here's why.

Skip the steps: convert every sheet to CSV in your browser, free.

Convert XLSX to CSV