CSV vs Excel: what is the difference?

Both hold tables. One is a file format, the other is an application — and the distinction decides which one you should hand to your colleague, your script or your accountant.

Last updated: December 1, 2026

The short answer

CSV (Comma-Separated Values) is a plain-text file: rows of values separated by commas, one line per row. It has no formulas, no formatting, no sheets — just data. Excel is the application; the format it saves is .xlsx, a compressed package that can hold formulas, multiple worksheets, charts, colours and cell formatting.

A CSV opens in Excel perfectly well. What you lose is everything Excel adds on top of the data — and what you gain is a file that any program on earth can read.

Side by side

CSVExcel (.xlsx)
What it storesRaw values onlyValues, formulas, formats, multiple sheets
File sizeTiny — plain textLarger — zipped XML package
FormulasNo (saved as results only)Yes
WorksheetsOne table per fileUnlimited
FormattingNone — no colours or widthsFull formatting
Opens inEverything: Excel, Sheets, scripts, databasesExcel, Sheets, LibreOffice, Numbers
Best forInterchange, imports, automation, archivesHuman review, reports, shared workbooks

When CSV is the right choice

When Excel (.xlsx) is the right choice

The gotchas people hit

A practical rule

Export CSV when a machine will read it next, export XLSX when a human will read it next. If you are not sure, produce both — the converter downloads either in one click, and keeping a CSV alongside an XLSX costs almost nothing in space.

Getting PDF data into either format

Picking the format only matters once you have the data. Drop a PDF into the converter and it detects the table structure, then hands you a CSV or an .xlsx with real rows and columns — no retyping. Start with the PDF-to-CSV walkthrough if you have never done it, or jump straight to PDF to Excel if you already know you need the workbook.

Related guides

← Back to the converter