How to Change File Extension in Windows 10

In this post, we’ll see how to change the file extension in Windows 10. Let’s get started.

Change File Extension of an Individual File in Windows 10

Open File Explorer.

Click on the “View” tab in Ribbon and then select “File name extensions.”

Selected File name extensions option

Find the file for which you want to change the file extension.

Text file

Right-click on it and then click “Rename.”

Remove the file extension which is after the dot (.). Now, type the extension you want and then hit the “Enter” key. In this instance, I removed txt and then entered html.

In the confirmation popup, click “Yes.”

Confirmation popup

That’s all. You’ve successfully changed the file extension.

HTML file

Change File Extension of Multiple Files at Once in Windows 10

Put all the files for which you want to change the file extension into a single folder.

Open that folder. Right-click on the File Explorer Address Bar and then click on the “Copy address” option. It’ll copy the address of the folder.

Copy address option

Open Command Prompt.

Type cd. Hit the “Space bar” key and then paste the address of the folder you’ve copied (see the screenshot below). Press the “Enter” key.

Now, type the following command: ren *.* *.html

Command Prompt with commands including the command to change file extension of multiple files

Replace html in the command with the file extension you want. Press the “Enter” key.

That’s it. Now, you can see that all files in the folder got its extension changed.

HTML files

Like this guide? Share it with your friends.

Also see:

Scroll to Top