Free Guide to File Type Associations and Settings
Understanding File Type Associations Basics File type associations are connections between file formats and the programs that open them. When you see a file...
Understanding File Type Associations Basics
File type associations are connections between file formats and the programs that open them. When you see a file on your computer, it has an extension—those letters after the period at the end of the filename. For example, a file named "report.pdf" has the extension ".pdf", which tells your computer that it's a PDF file. A file named "photo.jpg" has the extension ".jpg", indicating it's a JPEG image file.
Your operating system uses these extensions to know which program should open the file. When you double-click on a .pdf file, Windows or Mac knows to open it with your default PDF reader, typically Adobe Reader or a built-in viewer. This automatic process happens because your system has a file type association set up for PDF files. Without these associations, you'd need to manually select a program every single time you wanted to open a file.
Different computers may have different associations for the same file type. One person might have their .doc files set to open with Microsoft Word, while another person has them set to open with Google Docs or LibreOffice. Neither setup is wrong—associations depend on which programs are installed and what the user prefers.
File type associations exist for thousands of different file formats. Common ones include document formats like .docx (Word documents), .xlsx (Excel spreadsheets), and .txt (plain text files). Image formats include .png, .gif, .bmp, and .tiff. Audio files have extensions like .mp3, .wav, and .flac. Video files use .mp4, .avi, .mov, and .mkv. Each one can be associated with different programs depending on what's installed on your system.
Practical Takeaway: Before making changes to file associations, note which program currently opens each file type you use regularly. This helps you restore settings if something doesn't work as expected. Check your file extensions by enabling "Show file extensions" in your folder view settings on Windows or by selecting a file and pressing Command+I on Mac.
How to Change File Associations on Windows
Windows provides several methods to change which program opens a specific file type. The most straightforward approach uses the Settings app. Open Settings by pressing the Windows key and typing "Settings," then searching for "Default apps." This page shows your default programs for common categories like web browser, email client, and media player. You can click on any category to change which program handles those file types.
For more specific control over individual file types, right-click on a file with the extension you want to change. Select "Open with" and then choose "Choose another app." A dialog box appears showing programs that can open that file type. If you don't see the program you want, scroll down and select "Look for another app on this PC" to browse your computer. Once you select a program, check the box that says "Always use this app to open" followed by the file extension, then click OK. From that point on, all files with that extension will open with your chosen program by default.
Another method involves the File Explorer context menu. In File Explorer, navigate to a file with the extension you want to change. Right-click it, hover over "Open with," and select your preferred program. If you want to set this as the default for that file type, look for an option like "Choose another app" and make sure to check "Always use this app."
For users who want more detailed control, Windows includes a feature called "Set Associations" that shows every file type on your computer and what currently opens each one. To access this, go to Settings, search for "Default apps," scroll down, and select "Choose default apps by file type." This page displays an alphabetical list of every file extension your system recognizes, showing which program opens each one. Click on any extension to change its associated program. This method is particularly useful if you have many file types to adjust or want to see your current setup all in one place.
Practical Takeaway: After changing a file association, test it by opening a file with that extension to confirm the change worked. If a program doesn't appear in the "Open with" menu, you may need to install it first or choose it from "Look for another app on this PC" by navigating to the program's installation folder.
Changing File Associations on Mac
macOS handles file associations differently than Windows, using a system that identifies files not just by extension but also by file type information. To change which program opens a file type on a Mac, first locate a file with the extension you want to change. Right-click on the file and select "Get Info" from the context menu. A window opens showing details about the file. Look for a section labeled "Open with:" that displays the current default program.
Click the dropdown menu next to the program name. This shows other applications on your computer that can open this file type. Select the program you prefer. Below this dropdown, you'll see a button labeled "Change All." Click this button to set your chosen program as the default for all files with this extension. After you click "Change All," a confirmation dialog appears. Click "Continue" to confirm the change.
If the program you want doesn't appear in the dropdown list, select "Other" at the bottom of the menu. This opens a file browser where you can navigate to the Applications folder and select the program you want. Once selected, remember to click "Change All" to make this the default for all files with that extension.
For a system-wide view of file associations, you can use the Finder. Open Applications, then go to Utilities, and launch System Information. While System Information doesn't provide direct editing of associations, it shows what programs are available on your system. Many users find the file-by-file "Get Info" method simpler than searching through system settings. Additionally, some third-party Mac utilities provide graphical interfaces for managing file associations across multiple file types at once, though the built-in method works for most users' needs.
Practical Takeaway: After changing a file association on Mac, open a file with that extension to verify the change took effect. If a newly installed program doesn't appear in the "Open with" menu immediately, restart your Mac so the system recognizes the new application.
Managing Common File Type Scenarios
Different file types present unique association challenges and opportunities. PDF files are among the most commonly reassociated. Windows and Mac both come with built-in PDF viewers, but many people prefer Adobe Reader or other options. If you work with PDFs frequently, you might want a reader that offers annotation tools or superior search functionality. To change your PDF reader, find any PDF file, right-click it, and follow the association-changing steps for your operating system. Browser-based PDF viewers are also options—you can set Chrome or Firefox as your default PDF opener if you prefer working in your web browser.
Image files present another common scenario. Windows comes with Photos app and a legacy viewer. Mac includes Preview and Photos. However, photographers and designers often prefer programs like Photoshop, GIMP (free), or specialized viewers. If you work with various image formats (.jpg, .png, .tiff, .raw), you might set different programs for different formats. For instance, you could set a simple viewer as default for .jpg files while setting professional editing software as default for .psd (Photoshop) files.
Text and document files include .txt, .docx, .xlsx, and similar formats. Some people prefer Microsoft Office programs, others use free alternatives like LibreOffice or Google's apps. You might set one program as default for quick note-taking (.txt files) and another for complex documents (.docx files). This flexibility lets your system match your specific workflow.
Video and audio files span many formats and purposes. Casual viewing might use your operating system's built-in player, while content creators might prefer professional software. Compressed audio formats like .mp3 might go to a music player app, while .wav files go to audio editing software. Similarly, .mp4 video files might open with a media player while .mov files open with video editing software.
Practical Takeaway: Before changing associations for common formats like images or videos, consider your primary use. If you mainly view files, use a lightweight viewer. If you edit regularly, use full-featured software. You can always change associations again if your needs change.
Troubleshooting File Association Problems
Sometimes file associations stop working as expected. A file that previously opened with your preferred program suddenly opens with a different one, or it won't open at all.
Related Guides
More guides on the way
Browse our full collection of free guides on topics that matter.
Browse All Guides →