To open an XLSX file, double-click it if Microsoft Excel is installed. If you don’t have Excel, open it for free in Excel for the web, Google Sheets, Apple Numbers or LibreOffice Calc, or with the free Excel app on a phone.
These steps cover Excel for Microsoft 365 and recent Excel versions on Windows and Mac, Excel for the web, Google Sheets in a browser, Numbers on Mac, iPhone and iPad, and the Excel mobile app.
What an XLSX File Is
XLSX is the standard Excel workbook format that Microsoft introduced with Excel 2007. A workbook can hold several sheets, formulas, charts and formatting. The extension tells your computer which app to use, so the file only opens with a double-click when a spreadsheet app is installed and set to handle .xlsx files. An .xlsx file can also be placed in a page layout, as covered in how to import an Excel spreadsheet into InDesign.
| Extension | What it is | Opens in |
|---|---|---|
| .xlsx | Current Excel workbook | Excel, Excel for the web, Google Sheets, Numbers, LibreOffice |
| .xlsm | Excel workbook that contains macros | Excel; Google Sheets opens it but won’t run the macros |
| .xls | Older Excel format from before 2007 | Excel, Google Sheets (files newer than Office 95), Numbers, LibreOffice |
| .csv | Plain text with comma-separated values | Any spreadsheet app or a text editor |
Choose the Right Way to Open It
- You have Excel on your computer: use the first method. It keeps every feature of the file.
- You only need to view or lightly edit it: Excel for the web is free and is the closest match to desktop Excel.
- You already use Google Drive: Google Sheets is quick and makes the file easy to share.
- You’re on a Mac, iPhone or iPad: Numbers is free and already installed on many Apple devices.
- You’re on a phone and want Excel’s layout: use the free Excel app.
Open It in Excel
- Double-click the .xlsx file, or right-click it and choose Open with > Excel. You can also open Excel first, select File > Open, and browse to the file.

- If a yellow Protected View bar appears, select Enable Editing once you trust where the file came from.

The spreadsheet opens with full editing. Protected View is a read-only mode for files from the internet, email attachments and other risky locations. If the bar is red, use File > Edit Anyway only if you trust the source.
If .xlsx files open in the wrong app, open Settings > Apps > Default apps in Windows 11, search for .xlsx, and choose Excel. On a Mac, select the file in Finder, choose File > Get Info, pick Excel under Open with, and click Change All. Text exports work the same way, and you can open CSV files with Excel by default too.
Open It Free With Excel for the Web
Microsoft 365 for the web is free with a Microsoft account, which you can create with any email address.

- Go to microsoft365.com and sign in, or create a free Microsoft account.
- On the Home page, select Upload and choose your .xlsx file. It’s saved to your free OneDrive storage.
- Select the file in your recent files list. It opens in Excel for the web with Excel’s familiar ribbon, and you can view and edit it.
When you want an edited version back on your PC, here is how to download a copy of your file in Excel Online. Excel for the web can’t add a file password, so use desktop Excel if you need to password protect an Excel file.
Open It in Google Sheets


- Go to drive.google.com and select New > File upload.
- Choose the .xlsx file. It appears in your Drive file list when the upload finishes.
- Double-click it in Drive. It opens in Google Sheets, and you can view, edit and share it.
Google’s Work with Office files page lists what Sheets supports. A few points matter before you rely on it:
- Password-protected files: Sheets asks for the password and offers Preview (read-only, password stays) or Edit (the password is removed and Drive sharing controls access).
- Hidden data: protected and hidden cells become viewable and editable in Sheets, and linked spreadsheets aren’t supported.
- Macros: Sheets doesn’t run Excel macros.
- Keeping the Excel format: in Chrome on a computer, the Office Editing for Docs, Sheets & Slides extension lets you edit the file as .xlsx in Office Compatibility Mode. Otherwise, use File > Download > Microsoft Excel (.xlsx) when you’re done.
Need to send it back as a PDF? Follow the steps for converting a Google Sheets file to PDF.
Protection you add later inside Sheets works differently; here’s how to remove sheet protection in Google Sheets when you need to unlock it.
If amounts arrive with stray dollar signs or the wrong symbol, change the currency formatting in Google Sheets.
Open It on a Mac, iPhone or iPad
Apple’s free Numbers app imports Excel files.
- Mac: drag the Excel file onto the Numbers icon in the Dock or Applications folder, or in Numbers choose File > Open and select it. Apple’s Numbers for Mac guide covers this.
- iPhone or iPad: open Numbers, tap Browse in the document manager, find the Excel file, then tap its thumbnail. See Apple’s Numbers for iPhone guide.
Numbers converts the spreadsheet into a Numbers document you can edit. To send it back as an Excel file, export it from Numbers in Excel format. If you only need a quick look, select the file in Finder and press the Space bar on a Mac, or tap the attachment in Mail on an iPhone to see a read-only preview. If you also use Excel on a Mac, you can change the default save type in Excel for Mac.
Open It in LibreOffice Calc
LibreOffice is a free, open-source office suite for Windows, Mac and Linux, and its spreadsheet app, Calc, opens and saves .xlsx files. After you install it, open LibreOffice Calc, choose File > Open, and select the workbook. When you save, keep the Excel 2007-365 (.xlsx) format if the file is going back to an Excel user.
Open It on a Phone With the Excel App
The free Microsoft Excel app opens .xlsx files on iPhone, iPad and Android. On devices with screens 10.1 inches or smaller, you can view files with any account and do basic editing for free, as listed on Microsoft’s mobile apps page.
- Install Microsoft Excel from the App Store or Google Play.
- Open the email or message with the file, tap the attachment, and tap the Share button (iPhone) or Open with (Android).
- Choose Excel. The spreadsheet opens in the app.
- Sign in with a Microsoft account if you want to edit it.
The Google Sheets app works the same way if you prefer Google’s tools.
If the File Won’t Open
- Check the extension. Make sure the file really ends in .xlsx. If you don’t see extensions, turn them on in File Explorer under View > Show > File name extensions.
- “The file format or file extension is not valid.” The contents don’t match the .xlsx name, often because the file was renamed or the download was cut short. Ask for a fresh copy, or if it’s really a CSV or text file, rename it with the right extension or open it in Excel with File > Open.
- Excel won’t let you edit a downloaded file. In File Explorer, right-click the file, choose Properties, check Unblock on the General tab, and click OK. Only do this for files you trust.
- Excel crashes when opening it. Hold Ctrl while you start Excel and click Yes to open it in safe mode, which turns off add-ins. Microsoft’s safe mode guide also lists the excel /safe Run command.
- Try another app. If Excel reports a problem, try Excel for the web or Google Sheets to see whether the file itself is damaged.
- The attachment won’t download. Email attachments can be cut off or blocked; see what to do when you can’t open email attachments.
- Be careful with unknown senders. Spreadsheets can carry harmful macros, which is why Microsoft opens downloaded files in Protected View. Avoid uploading private spreadsheets to unknown free “XLSX viewer” sites.
XLSX File Questions
Do I need to buy Microsoft Office to open an XLSX file?
No. Microsoft 365 for the web, Google Sheets, Numbers and LibreOffice are all free options. See what the Microsoft Office suite includes if you’re deciding whether to buy it.
Will my formulas still work in Google Sheets or Numbers?
Most common formulas carry over, but some Excel-only features, such as macros and certain chart types, may look or behave differently. Excel for the web is the closest match to desktop Excel.
What is the difference between XLSX and XLS?
XLSX is the current Excel format; XLS is the older one used before Excel 2007. Excel opens both, and Google Sheets opens both too, though .xls files must be newer than Office 95.
Can I open an XLSX file without uploading it anywhere?
Yes. Desktop Excel, Numbers and LibreOffice Calc all open the file directly on your computer, so nothing leaves your device.
Why does my XLSX file open as read-only?
Usually because of Protected View, a “password to modify,” or because someone else has the file open on a shared drive. Select Enable Editing, enter the password, or save your own copy with File > Save As.

Matthew Burleigh is the founder, head writer, and editor of Solve Your Tech, which he launched in 2012. He has written technology tutorials since 2008 and worked in IT since 2003, including small-business support, IT management, and consulting. He holds Bachelor’s and Master’s degrees in Computer Science from Arizona State University.
Matthew writes practical guides for Windows, iPhone and iPad, Microsoft Office, Outlook, Google apps, and Android. Solve Your Tech’s guides are checked step by step against the device or app maker’s own documentation and tested on his own devices whenever he has the hardware or software, with clear steps, sources, and update dates.
Read more about Matthew and how Solve Your Tech writes and updates its guides, or report a correction.