Can I configure MacOS to open CSV and Excel files in Google Sheets?

Is there a way to have MacOS open CSV and Excel files in Google Sheets when you double-click them? I've tried associating the Google Sheets shortcut in Applications but that doesn't work.


Install the Office Editing for Docs, Sheets & Slides Chrome Extension and then register the file types that you want to open with Chrome. You can use either Finder or SwiftDefaultApps.

Using Finder

You have to do this once per file extension you want to associate:

  1. Select a file (ie, some-sheet.xlsx) in Finder
  2. Press + i
  3. Change the Open with: option to Google Chrome.app
  4. Click Change All...
  5. Now all your .xlsx will open with Chrome
  6. Repeat for other file types (see supported file types)

Using SwiftDefaultApps

You can install using brew install swiftdefaultappsprefpane --cask. It installs as a Pref Panel, meaning you will find it in System Preferences.

More instructions on how to use it are available on the readme.