How to change the default app for Excel (.xlsx) files on Mac
.xlsx is Microsoft Excel's spreadsheet format. Without Excel installed, a Mac opens .xlsx files in Numbers. Numbers converts the workbook when it opens it, so formulas, macros and pivot tables may not survive. Most people who work with Excel files want Excel to open them.
Change it in Finder
- In Finder, select any
.xlsxfile. - Choose File → Get Info, or press ⌘ I.
- Expand Open with and pick the app. If it isn't listed, choose Other….
- Click Change All… and confirm.
Without Change All…, only that one file changes. Since macOS 26.4, Finder also asks you to confirm before a file-type default changes.
Apps that open Excel (.xlsx) files on Mac
- Microsoft Excel. Keeps formulas, pivot tables and macros intact.
- Numbers. Free from Apple. Converts the file on opening and exports back to
.xlsx. - LibreOffice Calc. Free and open source, and closer to Excel than Numbers is.
CSV files have their own default
A .csv file is plain text, not a workbook, and macOS keeps a separate default for it. Setting Excel for .xlsx does not change what opens .csv. See the CSV guide if those open in the wrong app.
Change it from Terminal
The free command-line tool duti sets defaults without Finder. Install it with Homebrew:
brew install duti
Then, to make Microsoft Excel open every .xlsx file:
duti -s com.microsoft.Excel .xlsx all
The first argument is the app's bundle identifier. To find it for any app:
osascript -e 'id of app "Microsoft Excel"'
macOS may still ask you to confirm the change.
macOS identifies this file type as org.openxmlformats.spreadsheetml.sheet.
Change it in Defaultify
- Open Defaultify and choose Documents & Office, or search for
.xlsx. - On the Excel Spreadsheets (.xlsx) row, open the app menu and choose the app you want.
- Confirm in the Finder dialog.
This type can be changed in the free version. You can also drag any file onto the Defaultify window to see what opens it.
Manage every default in one place
Defaultify for Mac shows all your file-type and link defaults in one window, flags missing ones, and with Pro warns you when an app takes one over.
If it changes back
Some apps claim file types again when they update. See how to stop apps from changing your defaults, and what to check when a change doesn't stick.