Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Change a File Extension on Windows 11, Windows 10, or Mac

Show the full filename, fix an incorrect extension, or convert the file when you need a genuinely different format.

Table of Contents

Show the full filename before changing a file extension. Use Rename if the file already has the right format and the extension is wrong. If you need a different format, open the file in a compatible app and use Save As or Export. Renaming report.docx to report.pdf leaves the file's contents in Word format.

Instructions on how to quickly change file extensions on Windows 10, 11 Picture 1
An extension is the ending of a filename, such as .txt or .docx.

Show and change an extension on Windows

  1. Press Windows + E to open File Explorer.
  2. In Windows 11, choose View → Show → File name extensions. In Windows 10, open the View tab and check File name extensions.
  3. Make a copy of the file first. Select the copy, press F2, and change the ending after the last period. Press Enter and confirm if Windows warns about changing the extension.
  4. Open the copy in the app you expect to use. If it does not open, restore the original extension or try converting the original file instead.
Instructions on how to quickly change file extensions on Windows 10, 11 Picture 2
The Windows 10 View ribbon includes a File name extensions checkbox.

For alternate display settings, see how to show complete filenames in File Explorer.

Show and change an extension on Mac

In Finder, choose Finder → Settings → Advanced and enable Show all filename extensions. Older macOS versions call the menu item Preferences. Select a copy of the file, press Return, and edit the extension. Confirm the change only if you know the underlying file format.

Convert a file with Save As or Export

Open the original file, choose the required format in the app's export dialog, and save to a new filename. In Word, choose PDF as the output format. In Preview on Mac, choose File → Export and select the image format you need. For images, check which file formats support transparency and compression.

If the file has a name like invoice.pdf.exe, Windows treats the final extension as the file type. Leave unexpected executables unopened and verify the sender. Renaming a file does not make it trustworthy.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.