The main Excel file extensions you'll encounter

Excel uses different file extensions depending on which version of the program created the file and what features it contains. The most common extension is .xlsx, which is the standard format for Excel 2007 and all newer versions. If you open an older file saved as .xls, that's from Excel 97 through 2003 — it still works in modern Excel, but the older format can't handle as many rows, columns, or features.

When you save a spreadsheet in Excel, the program defaults to .xlsx unless you specifically choose a different format. This extension tells your computer that the file contains a spreadsheet with multiple sheets, formulas, and formatting. If someone sends you a file with .xlsx at the end, you can open it in any recent version of Excel on Windows or Mac, as well as in free alternatives like Google Sheets or LibreOffice Calc.

Key Takeaways

  • .xlsx is the standard Excel format since 2007 and works on Windows, Mac, and in free spreadsheet programs.
  • .xls is the older Excel format from versions before 2007 and has limits on how many rows and columns you can use.
  • .csv is a plain-text format that strips away formatting and formulas but opens in almost any program, including email and text editors.
  • When you save a file in Excel, always check the format dropdown to make sure you're saving in the right extension for who needs to open it.
  • .xlsm is Excel format with macros enabled, used only when your spreadsheet contains automated scripts or buttons.

When to use .xlsx versus .xls

Use .xlsx unless you have a specific reason not to. It's the modern standard, and nearly every program that reads spreadsheets supports it. Excel 2007 introduced .xlsx to replace .xls, and that was over 15 years ago — if someone's computer is old enough to only open .xls files, they're working with software that no longer receives security updates.

The only time you should save as .xls is if someone explicitly tells you they need that format because their system can't open .xlsx. Even then, you may lose some data: .xls has a hard limit of 65,536 rows and 256 columns, while .xlsx supports over 1 million rows and 16,000 columns. If your spreadsheet is large or uses features from the last 15 years of Excel, converting to .xls can corrupt or delete information.

To save in a different format in Excel, go to File, then Save As. In the dialog box, you'll see a dropdown that says "Save as type" on Windows or "Format" on Mac. Click it and choose the extension you need. Excel will warn you if switching formats might cause problems.

Understanding .csv and when it matters

.csv stands for "comma-separated values" and is a plain-text format that removes all formatting, formulas, and multiple sheets. When you save an Excel file as .csv, you get only the data from the active sheet, with commas between columns and line breaks between rows. No colors, no bold text, no formulas — just the raw numbers and text.

Use .csv when you need to move data between different programs or when someone needs to import your spreadsheet into a database or accounting system. Many online forms and data tools accept .csv files because the format is so simple and universal. You can even open a .csv file in a text editor like Notepad and read it directly, though it won't look like a spreadsheet.

The catch: if your spreadsheet has formulas, they convert to their calculated values when you save as .csv. If you have multiple sheets, only the sheet you're currently viewing gets saved. And if your data contains commas, the format can get confused about where columns begin and end. Always keep a copy of your original .xlsx file before converting to .csv.

Other Excel extensions you might see

.xlsm is Excel format with macros — automated scripts or buttons that perform tasks when you click them. If you create a spreadsheet with a macro (a recorded sequence of actions or a custom script), Excel forces you to save it as .xlsm instead of .xlsx. Many organizations disable .xlsm files by default because macros can carry viruses, so avoid this format unless your workplace specifically uses it.

.xlsb is a binary format that compresses large spreadsheets to make file sizes smaller and opening faster. It's rarely used outside of finance and data analysis teams working with massive datasets. Unless someone asks for .xlsb specifically, don't use it — most people can't open it without Excel.

.ods is the standard format for LibreOffice Calc and other open-source spreadsheet programs. Excel can open and save .ods files, but some formatting may not transfer perfectly. Use .ods only if you're working with someone who uses LibreOffice or if you're sharing a file with someone who specifically requests it.

How to check what format a file is in

The easiest way is to look at the filename itself. Open File Explorer on Windows or Finder on Mac, find your spreadsheet, and look at the text after the final period. That's your file extension. If you don't see an extension at all, your operating system is hiding it — you can turn that off in settings, but it's not necessary for everyday use.

You can also right-click the file and select Properties (Windows) or Get Info (Mac) to see the full filename and format listed in the details. In Excel itself, open the file and go to File, then Info. The format appears near the top of the screen.

Saving in the right format for sharing

Before you send a spreadsheet to someone, think about what they need to do with it. If they need to edit it in Excel or another spreadsheet program, use .xlsx — it's the safest choice. If they just need to read the data or import it into another system, .csv is often better because it's simpler and more portable.

If you're emailing a file to someone outside your organization, .xlsx is the standard. If they ask for a specific format, honor that request — they may have a system that only reads one type. And always test the file yourself before sending it: open it in the program the recipient will use, make sure everything looks right, and verify that formulas still work if the file contains them.

Frequently Asked Questions

Can I open an .xlsx file in an older version of Excel?

Excel 2003 and earlier cannot open .xlsx files without installing a free compatibility pack from Microsoft. If you're working with someone using very old software, save as .xls instead. However, if they're using Excel 2007 or later, they can open .xlsx without any extra steps.

What happens if I save an Excel file as .csv and then open it again?

When you reopen a .csv file in Excel, all your data appears, but formulas are gone — they've been replaced with their calculated results. Multiple sheets are lost. If you need to keep the original file with formulas intact, save a copy as .xlsx before converting to .csv.

Why does Excel keep asking me to confirm the format when I save?

Excel is warning you that you're saving in a format that might lose features. If you're saving as .xls or .csv, Excel reminds you that formulas, formatting, or data might not transfer. Click "Use [Format]" to proceed, or click "Cancel" and choose a different format.

Can Google Sheets open .xlsx files?

Yes. Google Sheets opens and saves .xlsx files without any conversion needed. You can upload an .xlsx file directly to Google Drive, edit it in Sheets, and download it back as .xlsx. Some complex formatting or macros may not transfer perfectly, but basic spreadsheets work fine.

Is there a difference between .xlsx and .xltx?

.xltx is an Excel template file — a blank spreadsheet with formatting and formulas already set up that you can reuse. When you open a .xltx file, Excel creates a new .xlsx file based on it rather than editing the template itself. Use .xltx only if you're creating a template for others to use repeatedly.