Quick Tip: How To Change a File’s Default Application

Quick Tip: How To Change a File’s Default Application

Tutorial Details
  • Topics: Finder, File Management
  • Difficulty: Beginner
  • Estimated Completion Time: 5 Minutes

Have you ever clicked to open a file and up it pops in an Application you never use? Or maybe it’s a file type that you access a lot but you only want it to open up in a specific Application, like Preview. You can quickly and easily change the default Application for a single file, or the entire file type across OS X. Let’s find out how.


Quick Tip: How To Change A File’s Default Application

Changing a Single File’s Default Application

To change the default Application associated with a single file, you can right click on the file and select Get Info, or you can select the file and hit the keyboard shortcut Command+I, and the info window will open for that file.

In the info window, you will see all kinds of information about the file you have selected. Towards the middle you will see a section called Open with. Clicking the triangle to twirl it open you can see the information for the associated Application of the file.

Selecting A New Application From The Drop Down Menu Will Change The Application That File Opens With
Selecting A New Application From The Drop Down Menu Will Change The Application That File Opens With

You will see a drop down list of applications that can open and understand the file format. Selecting a new application from this list will make this single file open up with the selected application, instead of the system default application.


Changing the Default Application for a File Format

If you want to change the default application for a file format entirely across OS X, you simply click the button labeled “Change All” after you have selected the desired application.

OS X will give you a dialogue box asking if you want to change the associated application system wide. Click “Continue” and now all of the files that are the same file format (.PDF, .Doc, etc.) will open with the new default application you just assigned.

Keep in mind that any single files you have set to open with an application other than the system default will still open with that application. In other words, the settings for individual files will override the system settings.

Finder
Clicking The “Change All” Button Will Change The Default Application Across OS X For That File Format

Any single files you have set to open with an application other than the system default will still open with that application.

Other and App Store

You have two other options at the end of the list of applications that you can assign as the system default. If you have an application that you want to assign but is not in the list, you can select “other” and chose your application.

If you have a file that doesn’t seem to have any application that can open it, or if you just want to see what other applications are available, you can select “App Store” to open the App Store and see all the Apps that can understand that file format.

You Can Select An Application Not In The Drop Down Or See Apps In The App Store That Can Be Used With The File Format
You can see apps in the app store that can be used with the file format

Conclusion

As you can see, OS X gives you complete control over opening your files in the applications you want, and also lends a helping hand if you need an application to open a file via the App Store.

Note: Want to add some source code? Type <pre><code> before it and </code></pre> after it. Find out more
  • Johnny Winter

    Robert, that is a very informative screencast. I thought I knew about all this already, but I learnt something new with being able to open with the Mac App Store.

    Excellent article.

    • http://www.robertanthonyperez.com Robert Anthony
      Author

      Hi Johhny, thanks for the encouragement! I’m glad you liked the article and found it useful.

  • psychonaut

    … and what if I want a file with an ending like .fw.png (fireworks multilayer) open in a different application than a standard .png file? The above solution ’t work.

    • http://www.robertanthonyperez.com Robert Anthony
      Author

      Hey Psychonaut, as I don’t have Fireworks I’ll have to take your word that it doesn’t work. When you find a solution that does, be sure and share it with the rest of us!

  • Peter

    One thing that OS X has that Windows has, is the ability to see all file formats in a list and be able to change multiple file formats at a time. Rather than going around the finder looking for particular files with the format you need to change. Like say, be able to find all image formats (JPG, PNG, TIFF, BMP, GIF, etc) and be able to get a global overview of all file formats and change their default app. Have not found an app that can do this, if one exists.

  • http://baruffio.com alex

    The RCDefaultApp preference pane (http://www.rubicode.com/Software/RCDefaultApp/) lets you change things like the default RSS reader (great since you can’t do that in Safari 6 anymore), and the default application for pretty much everything else.

    • Peter

      Excellent, exactly what I was looking for. Surprised it still works, considering how old it is. Thanks!

    • Peter

      Looks like it behaves a little funky under 10.8. Select file type=jpg, it thinks Dreamweaver is the default even though preview already is. Change it to preview and it doesn’t stick.

    • http://www.robertanthonyperez.com Robert Anthony
      Author

      Awesome! Thanks for the tip Alex.

    • Peter

      Works fine if you select jpg from the extensions section though.

  • Gaurav Chandra

    Is there anyway we can clean up the mac mountain lion context menu for apps no longer installed or if the entry for apps is 2 times?

    I used the steps in the article and it sure made my life easy coming from windows. thanks.

  • http://baruffio.com alex

    In addition to RCDefaultApp, I just learned about duti (http://duti.sourceforge.net), which is a command-line tool for setting default handlers for file types and URI schemes.

    It can be installed with Homebrew (`brew install duti`). I haven’t tried it, but there’s some discussion and examples here: https://github.com/mathiasbynens/dotfiles/issues/54

  • jan

    Dear all,

    regrettably does NOT work for me: attempting to register Acrobat Reader X as the default handler for anything *.pdf using:
    1) RCDefaultApp
    2) Info-Menue
    3) open as and select app

    always works only until the next relog in. Then Preview.app again is the default handler

    >>> Offtopic section:
    (which started to get a unbearable annoyence since i can’t deactive OS-X’s that terrible versions feature, whhich again makes launching & reading pdfs vie Preview slow, by the way).

    I get increasingly the impression that the user is no longer the captain on his Mac (Preview versions, Appstore, handler registration, …). That was once what drove me to drop WIndows back then…

    <<<

    Does anybody experience the same issues?

    Any hint is welcome,

    Thanks

    Jan

    • jan

      Me again,

      sorry, did not mention i’m on OS-X 10.7.5 and the Acrobat X Reader is the latest, everything fully patched of course and attempts to set the default handler happend as administrative and non-administrative user…

  • http://www.facebook.com/henrybarnett65 Henry Barnett

    Hi,

    I’m trying to do this. I have dumped Microsoft Office (Word/Excel etc. as my key became invalid) I have Open Office Org installed and went through the Cmd-I or Get Info route to change the default program. The default program remains Word or Excel, depending on the extension, despite selecting from the drop down list, Open Office. The “Open with” program will not change. I have done a restart which helped with one excel doc to an Open Office extention. But it will not let me change either for a one off or change all. Any ideas.

    Thanks in advance.

    Mac Os 10.8.3