Choose CSV when you need a simple, widely compatible table of data; choose ODS when you want to keep a spreadsheet that can still contain multiple sheets, formulas, and formatting. In Excel for Microsoft 365 on Windows, CSV export saves only the active worksheet’s data, while ODS preserves more of the workbook but may not reproduce every Excel feature perfectly.
The quick difference between CSV and ODS
CSV stands for comma-separated values. A CSV file is plain text arranged as rows and fields, with commas commonly separating fields. It is useful for moving lists and tables between programs, importing data into databases, or sharing information with systems that do not need spreadsheet styling. Despite the name, CSV files can use other delimiters in some settings, and they do not define spreadsheet features such as cell formatting or formulas.
ODS stands for OpenDocument Spreadsheet. It is a spreadsheet file format designed to preserve workbook structure, including multiple worksheets and features such as formulas and formatting. ODS is an open standard used by applications including LibreOffice Calc. Excel can open and save ODS files, but converting between ODS and Excel’s native XLSX format can change some features.
- Use CSV for a portable, data-only table.
- Use ODS when the recipient needs a spreadsheet with more than plain tabular values.
- Use XLSX when the recipient uses Excel and you need the closest match to the original Excel workbook.
Why these formats work differently
A spreadsheet workbook contains more than the values you see in its cells. It can include formulas, number formats, colors, column widths, charts, validation rules, hidden sheets, and other workbook features. XLSX is Excel’s standard workbook format and is designed to retain Excel content. ODS is an independent, standardized spreadsheet format intended for use across compatible office applications. Both are structured spreadsheet formats, though their feature sets and implementation details are not identical.
CSV has a much narrower purpose. It represents rows and fields as text, not as a workbook with a grid of richly defined cells. A CSV file has no built-in concept of a second worksheet, a bold heading, a date format, or a formula that recalculates when an input changes. When Excel exports a sheet to CSV, it writes a text representation of the sheet’s data. The workbook features that have no CSV equivalent are not carried into that file.
This distinction explains why a CSV can be easier to exchange but less useful for continued spreadsheet work. Its simplicity helps many systems read it, but it also means the receiving program has to infer things such as whether a field is a date or a number.
What an Excel CSV export keeps and loses
When you save an Excel workbook as CSV, Excel exports the active worksheet rather than the entire workbook. If the workbook has several tabs, the other sheets are not included in that CSV. Formulas are not preserved as working formulas; the export contains their calculated results as data. Formatting, charts, images, and other workbook objects do not become part of the CSV file.
For example, a workbook might have a Sales sheet with a formula-based total and a Notes sheet explaining the figures. A CSV export of the active Sales sheet can contain the rows and the current total result, but it cannot retain the Notes tab or the formula that calculates the total. Anyone who later opens the CSV in Excel sees data in cells, not the original workbook structure.
Some display choices can affect how values appear in a text export. Dates and numbers can be represented differently depending on formatting and regional settings, so inspect an exported file if exact text matters. A CSV also does not declare that a particular field is a postal code, date, or decimal number. That interpretation may happen when a program imports or opens the file.
What ODS keeps, and where conversion can differ
ODS is the better of these two choices when the file needs to remain a working spreadsheet. It can hold multiple sheets, formulas, cell formatting, and other spreadsheet elements that CSV cannot represent. A recipient can open the file in a compatible spreadsheet application and continue editing it as a workbook.
However, ODS is not simply another name for XLSX. Excel and other spreadsheet programs do not implement every feature in exactly the same way. A workbook with common formulas and basic formatting is more likely to transfer cleanly than one that relies on specialized Excel features, complex charts, macros, or application-specific behavior. During conversion, a feature may be altered, omitted, or represented differently.
ODS is not a substitute for an Excel macro-enabled workbook. If a file depends on VBA macros, do not assume that saving it as ODS will preserve those macros or their behavior. Keep a copy in the appropriate Excel format, such as XLSM for a macro-enabled workbook, and check the converted file before relying on it.
How to export CSV or ODS from Excel
In Excel for Microsoft 365 on Windows, first decide whether you want to export just the active sheet or retain the workbook structure. Save a copy of the original workbook before converting if you may need to return to it. Then use the relevant file type:
- For CSV, select File > Save As > Browse. In the file-type list, choose CSV UTF-8 (Comma delimited) (*.csv) when available, then select Save. Excel will warn that some workbook features may be lost because CSV cannot store them. Confirm only if a data-only export is what you intend.
- For ODS, use File > Save As > Browse and select OpenDocument Spreadsheet (*.ods). Save the file, then review any compatibility notice and check the result in the intended application.
- After a CSV export, confirm which worksheet was active and open the saved file in a text editor or import it into a fresh workbook to check the delimiter, characters, and values.
The exact Save As layout can differ in Excel for Mac, but the important choice is the file format in the save dialog. Excel for the web may offer different download and save options from the Windows desktop application. If you need a specific export type, check the available formats in the version you are using rather than assuming every desktop option is present.
Opening CSV files without changing data accidentally
Double-clicking a CSV often opens it in Excel, but Excel may interpret text fields as dates or numbers. That can be a problem for product IDs such as 00127, long account numbers, or values that should remain exact text. A leading zero may disappear if Excel treats the field as a number, and long numeric strings may not remain intact as identifiers.
For greater control in Excel for Microsoft 365 on Windows, use Data > From Text/CSV and review the import preview before loading the file. Check the detected delimiter and the column data types. If a column must remain text, set or confirm it as text during import where the available import controls allow it. This is safer than opening a sensitive CSV by double-clicking and discovering afterward that Excel changed its interpretation.
Also check the character encoding when names or other text contain accents or non-Latin characters. The CSV UTF-8 option is generally a good choice for sharing text internationally. If a file displays unexpected characters, the issue may be an encoding mismatch rather than missing data; import it with the appropriate encoding instead of immediately resaving over the original.
Common CSV and ODS problems
- Only one sheet appears: That is expected for CSV. Export each required worksheet separately, or use ODS or XLSX if the tabs need to stay together.
- Columns appear in one field: The receiving program may be expecting a different delimiter. Check whether the file uses commas, semicolons, or another separator, and import it with the matching setting.
- Dates or IDs change: CSV has no column data types. Import the file with appropriate data-type settings, especially for identifiers with leading zeros or long digit strings.
- ODS looks different from the Excel original: The applications may support or interpret a feature differently. Keep the XLSX original and compare important formulas, charts, and layout after conversion.
- Excel warns about lost features: The warning reflects the limits of the selected format. For CSV, workbook elements beyond the active sheet’s data cannot be saved in the file.
A useful habit is to treat conversion as making a separate deliverable, not as changing the only copy of a workbook. Open the result, check representative rows and totals, and keep the original if formulas, formatting, or multiple sheets matter.
Sharing and safety considerations
Both CSV and ODS can contain sensitive information if the underlying worksheet does. Before exporting, check for hidden sheets, hidden columns, or data that should not be shared. CSV exports only the active sheet, but that sheet may still include private fields or rows; ODS may retain multiple sheets and more workbook content. Do not assume that choosing a simpler format removes confidential data from the exported sheet.
Be cautious with CSV files from untrusted sources. Spreadsheet applications may interpret cells beginning with formula characters as formulas when a CSV is opened. If you receive a CSV from an unknown source, inspect it carefully and avoid enabling or trusting unexpected content. For files you distribute, follow your organization’s data-handling and security guidance, particularly if the export contains user-supplied text.
How to choose the right format
Choose based on what the next person or system needs to do, not just on which extension is shorter. CSV is usually the practical option for a plain table that will be uploaded to a website, imported into a database, or processed by a tool that expects delimited text. It is also useful when the recipient needs values rather than a styled workbook.
ODS is appropriate when the recipient wants an editable spreadsheet and uses software that supports OpenDocument files. It can retain multiple tabs and common spreadsheet features, but check compatibility when the workbook is complex. If the file is mainly for another Excel user and must preserve Excel-specific functionality, XLSX is generally the safer choice. For a fixed, non-editable presentation, consider exporting a PDF instead, while remembering that PDF is not a data-import format.
Before sending, ask three questions: Does the recipient need formulas or just their results? Are multiple worksheets required? Will the file be opened by a person in spreadsheet software or consumed by an automated system? The answers usually make the choice clear.
Frequently Asked Questions
Does CSV save all sheets in an Excel workbook?
No. Excel’s CSV export saves the active worksheet only. If several sheets need to be delivered as CSV, export each one separately or choose a workbook format such as ODS or XLSX.
Does a CSV file keep Excel formulas?
No. CSV cannot store working spreadsheet formulas. Excel exports calculated results as data, so the recipient cannot recalculate the original formula by changing its inputs.
Is ODS better than CSV?
Neither is universally better. ODS is better for retaining an editable workbook with multiple sheets and spreadsheet features; CSV is better for simple, portable tabular data and many data-import workflows.
Can Excel open ODS files?
Yes. Excel for Microsoft 365 can open and save ODS files. Because the formats do not support every feature identically, review important content after opening or converting a complex workbook.
Should I use CSV or XLSX for another Excel user?
Use XLSX if that person needs the workbook’s sheets, formulas, and formatting. Use CSV only when a data-only table is intended or a system specifically requires CSV.
Related
- Microsoft Excel Goal Seek: How It Works and How to Use It
- Microsoft Excel Group Rows: How It Works and When to Use It
- Microsoft Excel Corrupt File? How to Repair It
Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.
More in How-to basics
- How to Create a Custom Signature in Microsoft OutlookCreate a custom Outlook signature by opening the signature settings for your version of Outlook, adding your sign-off…
- How to Delete a Page in Word for the WebTo delete a page in Word for the web, remove the text, objects, or page or section break…
- Google Sheets Dropdown From a Table: How It WorksYes. In Google Sheets, create a dropdown from table data by selecting the cells that need the menu,…
- Excel Keyboard Shortcuts: Options for Every TaskExcel keyboard shortcut options include built-in key combinations, ribbon Key Tips, the Search box, and commands added to…
- Sort Range in Google Sheets: Steps and TipsTo sort a range in Google Sheets, select the full table or group of rows you want to…
- Sort Data in Google Sheets by Date: Step-by-Step GuideTo sort data in Google Sheets by date, select the entire table, choose Data > Sort range >…
Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources
Spotted an error in this guide? Let us know.