Convert Excel to CSV (Without Losing Data)
Learn how to convert Excel files to CSV format without losing formatting, formulas, or data. Step-by-step guide with common problem fixes.
Convert Excel to CSV (Without Losing Data)
Need to convert an Excel file to CSV? It's simple - just "Save As" and choose CSV, right?
Well... yes. But there are some gotchas that can bite you if you're not careful. Let me show you how to convert Excel to CSV properly, without losing your data.
The Quick Method
In Excel:
- File → Save As
- Choose location
- In "Save as type" dropdown, select CSV (Comma delimited) (*.csv)
- Click Save
Done. Your Excel file is now a CSV.
But wait - Excel will show you some warnings. Let's talk about what they mean and why they matter.
What You Lose When Converting to CSV
CSV files are simpler than Excel files. Here's what doesn't make the conversion:
Formulas Become Values
Before (Excel):
Cell A1: 100
Cell A2: 200
Cell A3: =SUM(A1:A2) [displays 300]
After (CSV):
Cell A1: 100
Cell A2: 200
Cell A3: 300 [just the number, formula is gone]
The formula =SUM(A1:A2) gets replaced with its result: 300.
Is this a problem? Only if you need to edit the formulas later. For data export/import, values are usually what you want anyway.
All Formatting Disappears
- Bold, italic, font colors: Gone
- Cell background colors: Gone
- Borders: Gone
- Number formatting (currency symbols, decimals): Gone
- Date formatting: Becomes raw date value
Example:
- Excel cell shows: $1,234.56 (bold, red, currency format)
- CSV file contains:
1234.56(plain text)
Multiple Sheets Don't Convert
Excel files can have dozens of sheets. CSV files are single-sheet only.
What happens: Excel only saves the currently active sheet as CSV. All other sheets are ignored.
Solution: If you need multiple sheets, save each one as a separate CSV file:
- Click the sheet tab you want
- Save As → CSV
- Repeat for each sheet
Images and Charts Don't Convert
Any images, charts, or graphs in your Excel file won't appear in the CSV. CSV is text-only data.
Step-by-Step: Converting Excel to CSV Correctly
Step 1: Prepare Your Excel File
Check for multiple sheets:
- If your workbook has multiple sheets, decide which one(s) you need as CSV
- Switch to the sheet you want to convert before saving
Verify formulas:
- If you have formulas, make sure they're calculating correctly
- The calculated values are what will be saved
Clean up formatting:
- Don't worry about colors or fonts - they won't convert anyway
- Focus on making sure the data itself is correct
Step 2: Save As CSV
- File → Save As (or press F12)
- Choose where to save
- Click the "Save as type" dropdown
- Select CSV (Comma delimited) (*.csv)
- Give it a filename
- Click Save
Step 3: Handle Excel's Warnings
Warning 1: "The selected file type does not support workbooks that contain multiple sheets."
What it means: You're about to lose all sheets except the current one.
Click: OK (if you only need the current sheet) or Cancel (if you need to save other sheets separately)
Warning 2: "filename.csv may contain features that are not compatible with CSV."
What it means: Your formatting, formulas, etc. won't be saved.
Click: Yes (to proceed) or No (to cancel)
Warning 3: When you close Excel, it'll ask "Do you want to save changes?"
What it means: Excel knows CSV lost some features and is double-checking.
Click: Don't Save (if you want to keep your original Excel file) or Save (if you're okay overwriting it)
Step 4: Verify the CSV
Before using your CSV file, open it (in Notepad or Excel) to verify:
- Data is present and looks correct
- Columns are separated properly
- No weird characters appeared
- Dates and numbers look right
Common Problems and Fixes
Problem 1: Leading Zeros Disappeared
Issue: Product codes like 007 or 00123 lost their leading zeros and became 7 or 123.
Why: Excel treats them as numbers by default.
Fix BEFORE converting:
- Select the column with leading zeros
- Format Cells → Custom
- Enter format:
00000(number of zeros = maximum digits you need) - Then save as CSV
Alternatively, add an apostrophe before the number in Excel: '007 - this forces it to stay as text.
Problem 2: Dates Look Weird
Issue: Dates in Excel show as 12/5/2024 but CSV has 44900 or other random number.
Why: Excel stores dates as numbers internally (days since 1900). The CSV shows the raw value.
Fix:
- Before converting, format the date column as Text
- Or use a formula to convert dates to text:
=TEXT(A1,"YYYY-MM-DD") - Then save as CSV
Problem 3: Large Numbers Turn to Scientific Notation
Issue: Number 123456789012345 becomes 1.23457E+14 in the CSV.
Why: Excel's default behavior for large numbers.
Fix:
- Format the column as Text before saving
- Or add apostrophe:
'123456789012345 - Then save as CSV
Problem 4: Special Characters Look Broken
Issue: Names like "José" appear as "José" when you open the CSV.
Why: Encoding issue. Excel saved as Windows-1252 but something opened it as UTF-8 (or vice versa).
Fix:
- Save as "CSV UTF-8 (Comma delimited)" instead of regular CSV
- This option is available in recent Excel versions
- If not available, use a conversion tool after saving
Problem 5: Commas in Data Break Columns
Issue: Company name "Smith, Inc" splits into two columns: "Smith" and " Inc".
Why: CSV uses commas as separators, so commas in your data can cause issues.
Fix: Excel should automatically handle this by adding quotes:
"Smith, Inc",12345
If it doesn't, there might be an Excel bug. Try:
- Save as "CSV (Comma delimited)"
- If that fails, use "CSV UTF-8" format
- Or convert using a dedicated tool
Advanced: Convert Multiple Sheets at Once
If you have 10 sheets and need CSV for each, doing them manually is tedious. Here's a faster way:
Option 1: Use a Macro Excel VBA can automate this, but requires coding knowledge.
Option 2: Use a Conversion Tool Online tools can split multi-sheet Excel files into multiple CSVs automatically.
Option 3: Do It Manually (But Smart)
- Save the workbook with a different name
- Delete all sheets except Sheet 1
- Save as CSV
- Close without saving
- Repeat for other sheets
Still manual, but at least you're not re-opening the file each time.
Should You Convert to CSV or Keep as Excel?
Keep as Excel when:
- You need formulas to recalculate
- Formatting is important (reports, presentations)
- Multiple sheets are required
- You're still editing and refining the data
Convert to CSV when:
- Importing to a database
- Uploading to a website/app
- Sharing with non-Excel users
- Maximum compatibility needed
- File size needs to be small
Alternative: Use a Converter Tool
Don't want to deal with Excel's warnings and limitations?
Browser-based conversion tools handle the process cleanly:
- No warnings to dismiss
- Batch convert multiple sheets
- Preserve formatting where possible
- Handle encoding correctly
- Your file never leaves your browser
The Bottom Line
Converting Excel to CSV is straightforward:
- File → Save As → CSV
- Handle Excel's warnings
- Verify the output
But watch out for:
- Lost formulas (become values)
- Lost formatting
- Date/number format issues
- Leading zeros disappearing
- Multiple sheets (only active sheet saves)
Pro tip: Keep your original Excel file. Save the CSV as a copy with a different name. That way you can always go back to the Excel version if you need to edit formulas or add new sheets later.
Need to convert Excel files to CSV? Try HappyCSV's converter - handles encoding, multiple sheets, and special characters automatically.
Related Articles
Anonymize CSV Data (GDPR/Testing)
How to mask sensitive data in CSV files. Anonymize names, emails, and phones for testing or GDPR compliance.
Batch Convert Multiple Excel Files to CSV
How to convert 100 Excel files to CSV at once. Use VBA macros, Python scripts, or batch converters to save hours of manual work.
Best Free CSV Viewers for Mac & Windows
Excel isn't the only way to open CSVs. Check out the best free CSV viewers like Tad, Miller, and online tools for large files.
Need to handle CSV files?
HappyCSV is the free, secure way to merge, split, and clean your data — all in your browser.