How to Change File Extension in Windows 10

You can change file extension in Windows 10 at any time you want and here is how you can do that:

Change File Extension for Individual File

Selected File name extensions option
  • angle-right
    Find the file for which you want to change the file extension.
Text file
  • angle-right
    Right-click on it and then click "Rename." 
Rename option in the context menu
  • angle-right
    Remove the file extension which is after the dot(.). Type the file extension you want and then hit "Enter" key. In this instance, I removed txt and replaced it with the html.
  • angle-right
    In the confirmation popup, click "Yes."
Confirmation popup

That is all. You've successfully changed the file extension.

HTML file

Change File Extension for Multiple Files

  • angle-right
    Put all the files for which you want to change file extension in a single folder.
  • angle-right
    Open that folder. Right-click on the File Explorer Address Bar and then click on "Copy address" option. It will copy the address of the folder.
Copy address option
  • angle-right
    Open Command Prompt.
  • angle-right
    Type cd. Hit Space Bar key and then paste the address of the folder you have copied (see the screenshot below). Press "Enter" key.
  • angle-right
    Now, type the following command:

ren *.* *.html

Command Prompt with commands including the command to change file extension of multiple files
  • angle-right
    Replace html with the file extension you want. Press "Enter" key. 

That is all. Now, you can see that all files in the folder got its file extension changed.

HTML files

I hope that this guide is useful to you. If it is, share this post with your friends.

How to Change File Extension in Windows 10

Click to Tweet This Post

Also see:

Leave a Reply