Software & Apps / Excel file formats / Practical comparison
Choose XLSX for an editable Excel workbook with worksheets, formulas, and presentation. Choose CSV when another system needs a flat table of text values. For many workflows, the right answer is to keep the workbook as your master and create a separate CSV for delivery.
The extension matters even when both files open in Excel and look similar on screen. A CSV can display in a grid without storing the workbook features you add during that editing session. Decide what the next person or application needs before changing formats.
Sending someone a working report? Start with XLSX. Uploading records to a service that explicitly requires CSV? Follow that service’s template and export only the intended table. Keeping VBA automation? Check whether the master needs XLSM instead.
01 / A table of values and a workbook serve different jobs
CSV: a portable text table
CSV means comma-separated values. The informational RFC 4180 describes a common representation of records and fields, with an optional header row and quoting rules for fields containing commas, quotes, or line breaks. It documents a common format rather than establishing a universal spreadsheet standard.
Think of CSV as the handoff layer between systems: a recipient needs to know what each column means and how to interpret its text. A column headed Account ID does not, by itself, force every importing application to treat its contents as identifiers rather than numbers.
XLSX: an Excel workbook
Microsoft identifies XLSX as an XML-based Excel workbook format. Use it for continued spreadsheet work. It retains a workbook’s structure rather than flattening everything into a text export. Office Open XML’s document representation and packaging are defined in ECMA-376.
The practical question is whether the recipient needs your model or its output. Someone adjusting assumptions in a planning workbook needs a different deliverable from an application ingesting a list of approved records.
02 / Check what survives the save
Microsoft’s feature-loss guidance explains that CSV saves displayed text and values from the active worksheet and loses formatting, graphics, and other worksheet features. Normally displayed formula results become exported values; CSV does not preserve an Excel calculation model.
| Requirement | CSV delivery | XLSX workbook |
|---|---|---|
| Several worksheet tabs | Export the required sheet separately. | Keep the related sheets together. |
| Editable calculations | Deliver the required output values. | Keep formulas for continued work. |
| Colors, charts, and layout | These are not the CSV deliverable. | Use the workbook for spreadsheet presentation. |
| Automated import | Useful when the importer specifies CSV. | Use only if the importer accepts it. |
| VBA macros | Not a macro-preserving format. | XLSX also cannot store VBA; consider XLSM. |
Microsoft’s format reference distinguishes XLSM, which supports VBA macro code, from XLSX, which does not. If a working file already contains automation, preserve an appropriate master before making a different delivery version. Changing the extension in a filename is not a conversion.
If the only remaining file is a CSV, a later XLSX save can provide a workbook for future editing. It cannot reconstruct worksheets, charts, or formulas that were never retained in that CSV. Look for the earlier workbook or a usable backup.
03 / Match the format to the recipient’s next action
Ask what happens immediately after delivery. Does a person review assumptions, or does software map columns into database fields? An attractive workbook can be the wrong upload file, while a technically valid CSV can be the wrong editable report.
- Ongoing analysis: keep a workbook with clearly labeled inputs, calculations, and outputs.
- System upload: obtain the current import template and follow its accepted file types.
- Data handoff: agree on column meanings and include a short explanation of units and identifiers.
- Human review: provide enough context to understand totals, filters, and exclusions.
Hypothetical example: a small team keeps product assumptions, supplier notes, and a publish-ready catalog on separate tabs. The shop’s importer requests a CSV containing SKU, name, and price. Keep the working workbook and export the catalog table as a separate delivery file. Sending the workbook instead does not satisfy a CSV-only importer, and replacing the master with the export loses useful working context.
A useful handoff note says which file is authoritative. For example: “Use the workbook for revisions; use the dated CSV only for this upload.” That prevents an exported snapshot from silently becoming the team’s editing master.
04 / Create a separate delivery copy
Save the master in its intended workbook format first. Then create an export with a distinct name and location. Microsoft’s text-format saving instructions use File’s Save As or Save a Copy options, followed by the required file type. Available options vary with the active sheet and Excel environment.
- Identify the table the recipient requested and confirm the appropriate worksheet is active.
- Review headers, included records, and calculated outputs before exporting.
- Save a separate file using the recipient’s required CSV variant.
- Read any compatibility warning and confirm that a values-only delivery is intentional.
- Verify the saved export before sending or uploading it.
Use filenames that reveal purpose, such as catalog-master.xlsx and catalog-upload-2026-10-25.csv. These names are examples, not required conventions. If the master uses macros, preserve its appropriate extension instead.
After exporting, check which file is currently open before making more edits. Keeping the master and delivery file in separate folders can reduce confusion, especially when a team receives several revisions in one day.
05 / Agree on columns, encoding, and separators
The receiving application’s requirements are part of the deliverable. Record the expected header names, column order if required, mandatory fields, date convention, decimal convention, and treatment of blank values. Ask whether an empty field means unknown, clear an existing value, or leave it unchanged; those outcomes belong to the importer’s rules.
CSV also needs an agreed delimiter and encoding. Microsoft’s text import/export documentation explains that separators can vary and that opening CSV uses Excel’s default interpretation settings. A file that splits correctly on one computer may need explicit import settings elsewhere.
For international text, check the receiver’s encoding requirement rather than assuming the filename tells you. Microsoft’s UTF-8 guidance explains that Excel can open UTF-8 CSV normally when a byte-order mark is present; its import tools provide an alternative when it is absent. That Excel behavior does not establish what a separate upload service accepts.
Choose a small set of representative records for checking: an identifier with a leading zero, an accented name, a decimal value, a date, an empty field, and a description containing punctuation. Use approved sample data where the real records are sensitive.
06 / Verify the saved output, not just the open workbook
Review the actual export through a controlled import preview or the receiving application’s validation step. Do not rely solely on the worksheet that was visible before saving.
- Confirm the header row, expected number of records, and required columns.
- Compare several identifiers character by character.
- Check dates and decimal values against their agreed meanings.
- Inspect non-English characters, punctuation, and multi-line descriptions.
- Compare a useful total or record count with the approved source.
- Review the importer’s rejected-row report before accepting the transfer.
If Excel changes identifiers when reopening a CSV, separate export quality from import interpretation. Our guide to importing CSV without losing leading zeros covers that specific problem. Inspecting a file should not accidentally become an unreviewed edit-and-save cycle.
Where an upload creates or updates real records, use its preview, test environment, or a small authorized sample when available. Define how you will identify duplicates and correct an incorrect mapping before sending the full file.
OWASP documents CSV formula injection: spreadsheet applications can interpret specially crafted cell content as formulas. Handle exports containing untrusted submissions through a suitable validation process; a CSV extension alone is not a security check.
07 / Diagnose the format problem before converting again
| Problem | Likely distinction | Useful next step |
|---|---|---|
| Colors disappear after reopening | CSV stores the data export, not workbook styling. | Return to the workbook master for presentation. |
| Only one sheet is delivered | The CSV export represents the active sheet. | Export each required table or use a workbook if accepted. |
| All data appears in one column | The importer may expect another delimiter. | Check its preview and separator settings. |
| Characters become garbled | Encoding may be interpreted incorrectly. | Match the file encoding to the import requirement. |
| The site rejects XLSX | Its upload contract may require another format. | Use its template rather than renaming the extension. |
Keep the last approved source while investigating. Repeated conversions without identifying the mismatch can produce several files with different problems and no clear reference version.
Frequently asked questions
Is CSV an Excel file?
CSV is a text data format that Excel can open. Opening it in Excel does not turn it into an XLSX workbook or give the saved CSV all workbook capabilities.
Which format should I use for a report with formulas?
Keep an appropriate workbook master for continued calculation and editing. Export separate values only when that is what the recipient needs.
Can I convert CSV to XLSX?
Yes, by importing the data and saving a workbook. Check field interpretation first. Conversion cannot restore workbook features absent from the CSV.
Does CSV always produce a smaller file?
Do not choose based on an assumed size advantage. The useful comparison is the actual files and required information. A smaller delivery is not a good trade if it omits what the recipient needs.
Sources and scope
Official Microsoft documentation, Ecma International, RFC 4180, and OWASP guidance were checked on 25 October 2026. Links appear beside the relevant claims. The catalog scenario and filenames are hypothetical; the workflow checklist is editorial guidance, not a claim of hands-on testing.

Add comment