How to Convert Excel Files Between Different Formats
Excel supports dozens of file formats—XLSX, CSV, PDF, XLS, XLSM, and many others. Whether you need to save as a different format for compatibility, sharing, or specific purposes, this guide covers all Excel file format conversions using built-in Excel features.
Understanding Excel File Formats
Excel supports different file formats for different purposes:
| Format | Extension | Use Case | Features Supported |
|---|---|---|---|
| Excel Workbook | .xlsx | Standard, universal Excel files | All modern Excel features, formulas, macros (no VBA) |
| Excel Macro-Enabled | .xlsm | Files containing VBA macros | Formulas, macros, complex automation |
| Excel 97-2003 | .xls | Compatibility with older Excel versions | Limited features, smaller file size |
| Comma Separated Values | .csv | Import/export data, sharing between systems | Text data only, no formulas or formatting |
| Tab Separated Values | .tsv or .txt | Data interchange, scientific data | Text data only, tab-delimited |
| Portable Document Format | Printing, sharing read-only files | Static view only, no editing | |
| OpenDocument Spreadsheet | .ods | LibreOffice compatibility, open standards | Most Excel features, but some may not convert |
| Text | .txt | Plain text data, universal compatibility | Text only, first sheet only |
Method 1: Save As (Most Common)
The primary method to convert Excel files to different formats.
Windows: Using Save As
- Open your Excel file
- File → Save As (or Ctrl+Shift+S)
- Choose location where to save file
- Type filename
- Click “Save as type” dropdown (important step!)
- Select desired format from list:
-
- Excel Workbook (.xlsx)
- Excel Macro-Enabled Workbook (.xlsm)
- Excel 97-2003 Workbook (.xls)
- CSV (Comma delimited) (.csv)
- PDF Document (.pdf)
- OpenDocument Spreadsheet (.ods)
- Click Save
If a dialog appears warning about format compatibility, click “Continue” to proceed with conversion.
Mac: Using Save As
- Open your Excel file
- File → Save As (or Cmd+Shift+S)
- Enter filename
- Click “File Format” dropdown (near filename field)
- Select desired format
- Choose location
- Click Save
What Happens During Conversion
- ✓ Data transfers to new format
- ✓ Formulas transfer (if supported by new format)
- ? Formatting may be affected (depending on format)
- ✗ Macros lost when saving to .xlsx
- ✗ Multiple sheets become single sheet in CSV/TSV
- ✗ Charts not supported in text formats
Format Compatibility Warnings
Excel shows warnings when features won’t transfer:
- Saving XLSM as XLSX: “This workbook contains VBA macros. They will be lost.”
- Saving with formatting as CSV: “This format doesn’t support colors/formatting. Continue?”
- Saving multiple sheets as CSV: “This format supports single sheet only. Save active sheet only?”
Click “Continue” or “Yes” to proceed with loss of unsupported features.
Method 2: Common Format Conversions
Convert XLSX to CSV (Most Common)
Purpose: Share data with other systems, remove formatting, create lightweight file.
- Open XLSX file in Excel
- File → Save As
- “Save as type” dropdown → “CSV (Comma delimited) (*.csv)”
- Click Save
- Dialog: “This format doesn’t support formatting” → Click “Yes” or “Continue”
Note: If file has multiple sheets, only active sheet saves to CSV. Create separate CSV for each sheet if needed.
Convert CSV to XLSX (Adding Structure Back)
Purpose: Convert plain text data back to formatted spreadsheet.
- Open Excel
- File → Open
- Select your CSV file
- Text Import Wizard appears (set delimiters)
- Choose “Comma” as delimiter
- Click Finish to import
- File → Save As
- “Save as type” → “Excel Workbook (.xlsx)”
- Click Save
Convert XLSX to XLSM (Add Macros)
Purpose: Enable VBA macro support for automation.
- Open XLSX file
- File → Save As
- “Save as type” → “Excel Macro-Enabled Workbook (.xlsm)”
- Click Save
- File is now XLSM, ready for VBA macros
Convert XLSM to XLSX (Remove Macros)
Purpose: Remove macros for compatibility or security.
- Open XLSM file with macros
- File → Save As
- “Save as type” → “Excel Workbook (.xlsx)”
- Click Save
- Dialog: “This format doesn’t support VBA macros. Proceed?” → Click “Yes”
- Macros are permanently removed
Warning: Macros are deleted and cannot be recovered. Save backup of XLSM before converting.
Convert XLSX to XLS (Older Excel Format)
Purpose: Compatibility with Excel 2003 and earlier.
- Open XLSX file
- File → Save As
- “Save as type” → “Excel 97-2003 Workbook (.xls)”
- Click Save
- If dialog appears about features: Some formatting/functions may not transfer
Note: XLS format is old and limited. Only use if absolutely necessary for compatibility.
Convert XLSX to PDF (For Printing/Sharing)
Purpose: Create read-only view, prepare for printing, share without editing risk.
- Open XLSX file
- File → Save As
- “Save as type” → “PDF Document (*.pdf)”
- Dialog appears with PDF options:
-
- “Selection”: Save only selected area
- “Entire workbook”: Save all sheets (separate PDF pages)
- “Active sheet”: Save current sheet only
- Choose option and click Save
Result: PDF file created, read-only, maintains formatting, no editing possible.
Convert XLSX to ODS (OpenDocument Format)
Purpose: Compatibility with LibreOffice, open-source software.
- Open XLSX file
- File → Save As
- “Save as type” → “ODS Spreadsheet (*.ods)”
- Click Save
- Dialog may appear: Some features may not transfer to ODS → Click “Continue”
Convert XLSX to TSV (Tab-Separated)
Purpose: Data interchange for Unix/Linux systems, scientific data.
- Open XLSX file
- File → Save As
- “Save as type” → “Text (Tab delimited) (*.txt)”
- Click Save
- Dialog: “Format doesn’t support formatting. Proceed?” → Click “Yes”
Result: Tab-delimited text file, only active sheet.
Convert XLSX to Plain Text
Purpose: Create universal plain text version.
- Open XLSX file
- File → Save As
- “Save as type” → “Formatted Text (Space delimited) (*.txt)”
- Click Save
Note: Uses spaces as delimiters, may not preserve alignment perfectly.
Method 3: Export Specific Sheets as Separate Files
Convert individual sheets from multi-sheet workbook.
Step 1: Select Sheet to Export
- Open workbook with multiple sheets
- Right-click sheet tab at bottom
- Select “Move or Copy”
- Choose “Create a copy”
- At end, select “New book” option
- Click OK
Selected sheet now opens in new workbook by itself.
Step 2: Save New Workbook
- File → Save As
- Choose format (XLSX, CSV, PDF, etc.)
- Give it new filename (e.g., “sales_data.csv”)
- Click Save
Result
Individual sheet now saved as separate file in chosen format. Original workbook unchanged.
Method 4: Copy-Paste Special (For Format Conversion)
Convert formatting while moving data between files.
Copy All Data
- Select all cells with data (Ctrl+A)
- Copy (Ctrl+C)
Open New File
- Create new Excel file or open existing file
- Click cell A1
Paste Special Options
- Right-click → “Paste Special” (or Ctrl+Shift+V)
- Choose paste option:
-
- All: Data, formulas, formatting
- Values Only: Data only, removes formulas
- Formulas: Formulas only, no formatting
- Formats: Formatting only, no data
- Click OK
Save in New Format
- File → Save As
- Choose desired format
- Click Save
Useful for selective conversion when you want to control what transfers.
Method 5: Batch Convert Multiple Files
Convert many Excel files to different format at once.
Windows: Using File Explorer
- Create new folder (e.g., “Files to Convert”)
- Move all Excel files you want to convert to this folder
- Right-click folder → “Open with” → Excel
- Open first file
- File → Save As → Choose format → Save
- Close file
- Repeat for each file
Time-consuming for many files. Consider using Python or PowerShell for automation.
Easier Method: Using Online Batch Converter
- Search “batch convert excel files online”
- Visit CloudConvert or similar tool
- Upload multiple files
- Select output format
- Download converted files
Note: Only for non-sensitive files (privacy concern).
Format Conversion Compatibility Matrix
| Convert From | Convert To | Data Loss | Formulas | Formatting | Time |
|---|---|---|---|---|---|
| XLSX | CSV | Formatting lost, formulas→values, multiple sheets→one sheet | Converted to values | Lost | 1 min |
| XLSX | XLSM | None | Preserved | Preserved | 1 min |
| XLSM | XLSX | Macros permanently deleted | Preserved (except macro code) | Preserved | 1 min |
| XLSX | XLS | Some advanced features lost | Mostly preserved | Mostly preserved | 1 min |
| XLSX | Interactivity lost, static view only | Displayed as values | Well preserved | 2 min | |
| XLSX | ODS | Some proprietary Excel features lost | Mostly preserved | Mostly preserved | 1 min |
| CSV | XLSX | None (data preserved) | Data only, no formulas | None initially (can add) | 1 min |
Common Issues and Solutions
Issue 1: “This Format Doesn’t Support…” Warning
Problem: Excel shows warning that target format doesn’t support features.
Cause: Some Excel features incompatible with target format.
Solution:
- Click “Continue” or “Yes” to proceed anyway
- Unsupported features are lost (formulas→values, formatting→plain text)
- Save backup before converting if concerned
Issue 2: Multiple Sheets Convert to Single Sheet in CSV
Problem: Only current/first sheet saved when converting to CSV.
Cause: CSV format supports single sheet only.
Solution:
- For each sheet, right-click sheet tab
- Select sheet
- File → Save As → CSV
- Name with sheet identifier (e.g., “data_sheet1.csv”, “data_sheet2.csv”)
- Repeat for each sheet
Issue 3: Formulas Show as Values After Conversion
Problem: =SUM(A1:A10) becomes “500” instead of formula.
Cause: Text-based formats (CSV, TXT) can’t store formulas.
Solution:
- Convert to format supporting formulas (XLSX, XLSM, ODS)
- Or use “Paste Special → Values” before converting to text format
Issue 4: Macros Lost When Saving as XLSX
Problem: VBA macros disappeared after saving XLSM as XLSX.
Cause: XLSX format doesn’t support VBA macros.
Solution:
- Keep macros in XLSM format if macros needed
- If converting XLSM to XLSX, save backup XLSM first
- Macros cannot be recovered once deleted
Issue 5: Special Characters Display Incorrectly After Conversion
Problem: Accented characters (é, ñ, ü) show as ? after CSV conversion.
Cause: Character encoding mismatch.
Solution:
- Before converting to CSV, File → Save As
- Look for encoding option (UTF-8 recommended)
- Select UTF-8 encoding
- Save CSV with UTF-8
- When re-importing, specify UTF-8 encoding
Issue 6: Numbers Show as Scientific Notation in CSV
Problem: Large numbers display as “1.23E+06” in CSV.
Cause: CSV treats as number, Excel defaults to scientific notation.
Solution:
- Format cells as Text before converting to CSV
- Or prefix numbers with apostrophe (‘1000000 becomes text)
- When reimporting, format column as Text
Issue 7: PDF Conversion Missing Data from Multiple Sheets
Problem: PDF only shows first sheet from multi-sheet workbook.
Cause: Save As dialog defaults to active sheet only.
Solution:
- File → Save As → PDF
- Look for “Options” or “Select what to print”
- Choose “Entire workbook” (not “Active sheet”)
- Click Save
- All sheets now included in PDF (as separate pages)
Issue 8: Colors/Formatting Lost During CSV Conversion
Problem: All formatting removed, file appears plain.
Cause: CSV stores data only, no formatting.
Solution:
- If formatting important, convert to XLSX instead of CSV
- If must use CSV, reapply formatting after re-importing
- Document formatting requirements separately
Best Practices for Format Conversion
- Save backup before converting: Keep original file in case conversion fails or you need to redo
- Choose appropriate format for purpose: XLSX for general use, CSV for data interchange, PDF for sharing read-only
- Test conversion first: Convert one file, verify data transferred correctly before batch converting
- Document format choice: Note why file is in particular format for future reference
- Consider future editing: Convert to XLSX/XLSM if file will be edited regularly, CSV only for final exports
- Handle special characters carefully: Use UTF-8 encoding for international text
- Preserve macros separately: Keep backup XLSM if converting XLSM to XLSX (macros deleted)
- Format cells before converting to CSV: Apply text/number formats before CSV conversion to prevent issues
- Create separate files for each sheet: When converting multi-sheet to CSV, save each as separate file
- Verify formulas converted properly: Check that formulas didn’t become values or errors
Quick Reference: Common Conversions
XLSX to CSV
File → Save As → “CSV (Comma delimited)” → Save
(Only saves active sheet, no formatting, formulas become values)
CSV to XLSX
File → Open → Select CSV → Text Import Wizard (set delimiter) → Finish → Save As → XLSX
XLSX to PDF
File → Save As → “PDF Document” → Choose “Entire workbook” or “Active sheet” → Save
XLSM (remove macros) to XLSX
File → Save As → “Excel Workbook (.xlsx)” → Save → Confirm macro deletion
XLSX to ODS
File → Save As → “ODS Spreadsheet” → Save
XLSX to XLS (Older Format)
File → Save As → “Excel 97-2003 Workbook (.xls)” → Save
Frequently Asked Questions
Q: Which format should I use for sharing files?
A: Use XLSX for editing (most compatible), PDF for read-only sharing, CSV for data interchange between systems.
Q: Can I convert a PDF back to Excel format?
A: Not reliably with Excel. Consider online PDF to CSV converters, but accuracy varies. Better to keep original XLSX.
Q: What happens if I convert XLSM to XLSX?
A: All VBA macros are permanently deleted. Formulas and data remain. Save backup before converting.
Q: Can I convert multiple sheets to separate CSV files automatically?
A: Not natively in Excel. You must manually save each sheet as separate CSV. Or use VBA macro to automate.
Q: Does converting to CSV lose data?
A: No data loss, but formatting and formulas are lost. Formulas convert to calculated values.
Q: Is XLSX or XLSM better for storing data long-term?
A: XLSX for standard data storage (universal format), XLSM if macros are critical (save backups).
Q: Can I edit a PDF created from Excel?
A: Not in Excel. PDF is read-only format. Convert back to XLSX using online tools if editing needed.
Q: Why would I use ODS instead of XLSX?
A: For LibreOffice compatibility or open-source requirements. XLSX is more universal and recommended for most cases.


