How to view a computer file extension

To view the file extension of a single file for all versions of Windows follow the steps below. If you want to make windows show the file extensions of every file on the computer by default skip to the next section.

Viewing the file extension of a single file

  1. Right-click the file.
  2. Click Properties.
  3. In the Properties window, similar to what is shown below you should see the "Type of file:" this is the file type and extension. As can be seen in the example below this file is a TXT file with a .txt file extension and in this case opens with the Text Pad program.

Viewing file extension in Windows

Always show file extensions of all files

Users more familiar with computer files and file extensions may want to view all computer file extensions to help with locating and browsing files. To do this follow the steps below for your version of Windows.

Windows 2000, XP, Vista, 7, and 8 users
MS-DOS and Windows command line users
Windows 98 and ME users
Windows 95 users

Windows 2000, XP, Vista, 7, and 8 users

  1. Open My Computer
  2. Click Tools and click Folder Options or click View and then Options depending on your version of Windows.
  3. In the Folder Options window click View tab
  4. Uncheck the box that says Hide file extensions for known file types.

Or

  1. Open Control Panel
  2. Click Folder Options
  3. Click View
  4. Uncheck Hide extensions for known file type.

MS-DOS users

In MS-DOS when typing dir to list all files also lists any files with extensions.

Windows 98 and ME users

  1. Open My Computer
  2. Click View
  3. Click Folder Options
  4. Uncheck the box that says Hide file extensions for known file types.

Windows 95 users

  1. In Windows 95 open My Computer
  2. Click View
  3. Click Options
  4. Uncheck the box that says "Hide MS-DOS file extensions for files that are registered" and then click on apply and ok.