How to Stop OneDrive from Converting CSV Files to XLSX Automatically
Question details
The user wants to prevent OneDrive from automatically converting CSV files into XLSX format upon opening, as this behavior causes concerns regarding unwanted formatting changes and potential data loss.
- Product
- OneDrive
- Device & OS
- not provided
- Scenario
- Opening CSV files stored in OneDrive via the web interface.
- Observed behavior
- CSV files are automatically converted to XLSX format without user prompt or permission.
Ensure you are logged into your OneDrive account through a web browser, as file-handling preferences for cloud storage are primarily managed in the web interface.
Adjust OneDrive Web Settings for Office Files
Check your OneDrive web settings and disable automatic conversion features for Office files.
OneDrive's integration with Excel for the Web sometimes triggers an automatic conversion to support advanced spreadsheet features. Disabling this in your settings can help keep your raw CSV files intact.
Open your preferred web browser, navigate to the OneDrive website, and sign in using your Microsoft credentials.
Click on the gear icon located in the top-right corner of the OneDrive interface to open the Settings menu.
Look for 'Office file-format' or 'file-opening preferences' within the settings menu. If an option for automatic file conversion is enabled, toggle it off to prevent CSV files from changing to XLSX.
Report the Issue to OneDrive Support
If the setting is missing or the behavior continues, escalate the issue directly to Microsoft OneDrive support.
Manage Your CSV Files Safely with WPS Office
If Microsoft OneDrive and Excel for the Web continue to force unwanted format conversions on your files, consider switching to WPS Office. WPS Spreadsheets provides a lightweight, reliable offline environment that opens and edits CSV files natively without altering your raw data.
- 1. Download and Install WPS Office: Visit the official WPS website, download the free software, and install it on your device.
- 2. Open WPS Spreadsheets: Launch the application and select the 'Spreadsheets' module.
- 3. Open Your CSV File: Click 'Menu' > 'Open' and select your downloaded CSV file. It will open in its original format without forced conversions.

Frequently Asked Questions
Why does OneDrive convert CSV to XLSX automatically?
OneDrive integrates heavily with Excel for the Web, which often converts plain text CSV files into XLSX format. This is done to support advanced spreadsheet features like complex formatting, formulas, and collaborative editing, which standard CSV files do not support natively.
Can I recover my original CSV if it was converted to XLSX?
Yes. You can open the newly created XLSX file, go to 'File' > 'Save As', and select 'CSV (Comma delimited)' from the format dropdown. Note that any advanced formatting or formulas applied while it was an XLSX file will be lost upon reverting to CSV.
How can I view a CSV file in OneDrive without triggering a conversion?
Instead of clicking the file directly, which opens it in Excel for the Web, you can download the CSV file to your local computer. Once downloaded, open it with a dedicated desktop application like WPS Spreadsheets or a plain text editor like Notepad.




