How to Change File Extension in Windows?
Last Updated :
02 Apr, 2024
On Windows, there are different applications present to open each kind of file. For example, the Word Application can only open DOC files, and the PDF Viewer can only able to open PDF files, not DOC or PNG files. Applications mark any file as openable or not using one kind of pointer which is known as the Files Extension.
There are a lot of Windows File Extensions present like DOCX, PPTX, XLSX, PNG, HTML, etc. If you want to open a PPT File using any PDF Viewer, then you should Change the File Format from PPTX to PDF. To do so, you have to Rename the File Extension in that certain file to make a copy in the desired extension.
Methods to Change File Extension in Windows
In this article, we will discuss how to change file types on windows in no time.
How to Make File Extension Visible With File/Folders Name?
Step 1: Search for the File Explorer Option in the Search Bar & go with the best option.

Step 2: Under the View Tab, remove the mark from Hide Extensions From Known File Types. Click OK.

Hence, we have enabled the option so that the file extension can be possible in Windows now.
How to Change File Extensions on Windows?
To convert the File Extension in Windows without any tool, the following methods should be executed. We will start with the process which will help to show the newly created files after changing the extension.
Method 1: How To Change File Types on Windows Using Rename Option
Step 1: Select the file which extension you want to change & right-click on the file. Go for the Rename option.

Step 2: Change the file format to the desired format & press Enter. You will find a window for verification. Click on the Yes option.

Hence, we have successfully altered file extensions on Windows using the Rename process.
Method 2: How To Change File Types on Windows Using Save As (Only for Documents)
Step 1: On any document, select the Save As option.

Step 2: While saving the file, change the File Format along with the File Type. It will help to make the same kind of document with different file extensions.

Hence, we have successfully altered file extension on Windows using the Save As process.
Method 3: How To Change File Types on Windows Using CMD
The another easy method to change File extension is using Command Prompt. To change a file type simple execute write ren followed by File_name.<current file extension> File_name.<new file extension.
ren file_name.<current file extension> file_name.<new file extension>
As you can see I am changing the file extension from txt to docx by writing "ren hello.docx hello.txt" in the command propmt.
Method 4: Change File Type in Bulk
To change file type in Windows of all the files present in the folder follow the following steps.
Step 1: Open the folder to change file type in bulk.
Step 2: Right click on empty space and select open in terminal.

Step 3: Now write following command in cmd.
ren *.* *.docx // to change all file's extension to docx
or
ren *.*txt*.docx // to change only txt file extension to docx
Conclusion
So, these are the simple methods you can execute to change your file extension simply with a few clicks. The best option is to go with the Rename process where the effort is much less. However, if you want to go with the Save As option, you can easily go.
But these option is only available for Documents not for MP3 or PNG files. To change file extensions of these file you can use third party file converting tools like CloudConvert, Online converter, Zamzar etc.Â
So try out these methods to convert the file extension in Windows. Now, let's discuss some important questions regarding changing file type in your system.
Similar Reads
How to Change File Extension in Mac?
File Extensions or Filename Extensions are algorithm-specific elements that can be opened only with the specific application based on the algorithm mentioned there. There are a large number of file extensions present and can be different based on the Operating System. Like, the compressed file forma
3 min read
Change File Extension In Python
Changing file extensions in Python can be a common task when working with files. Whether you need to modify file types for compatibility, organize your files, or perform some other operation, Python provides several methods to achieve this. In this article, we will explore four different methods to
3 min read
How to Create a Batch File in Windows?
A batch file is a straightforward text document in any version of Windows with a set of instructions meant to be run by Windows' command-line interpreter (CMD) by maintaining all the functions. Batch files are a great tool for streamlining internally configured processes, automating tedious jobs, an
5 min read
How to Create an Unnamed file in Windows?
There is curiosity hidden inside everyone. So when it comes to computers we all try to know why this is happening, what will happen if I run this software, what will happen if I delete some of Windows files and etc. We also sometimes try to make a file without a name in Windows and fail and then, fi
2 min read
How to get a File Extension in PHP ?
In this article, we will learn how to get the current file extensions in PHP. Input : c:/xampp/htdocs/project/home Output : "" Input : c:/xampp/htdocs/project/index.php Output : ".php" Input : c:/xampp/htdocs/project/style.min.css Output : ".css" Using $_SERVER[âSCRIPT_NAMEâ]: $_SERVER is an array o
2 min read
How to Open File Explorer in Windows 11?
Short Preview!Here is a short preview of our active and speedy learner. Follow these steps to open File Explorer on your Windows PC. Method 1: Simply Type "File Explorer" in the search bar.Method 2: press the "Windows key + E."File Explorer will open, allowing you to manage files and folders in Wind
4 min read
How to Hide a Folder in Windows?
If there is one thing that Windows is known for, then it is the customization ability that it brings to its users. This ability also extends to the folders one uses in Windows - primarily, the ability to hide them from peering eyes. In this article, we will be going through 2 methods to achieve Hidi
2 min read
How to Install PHP Extensions on Windows?
PHP is a general-purpose server scripting language. It is a powerful and important tool for developing dynamic and interactive Web pages. It is widely used, free, fast, flexible, and pragmatic. After installing PHP and a web server on Windows, extensions are also needed because they provide added fu
2 min read
How to Extract a TAR file (.tgz) on Windows?
If you're trying to extract a TAR file on Windows, particularly a .tgz or tar.gz file, there are several ways to do it easily. Although Windows doesnât natively support extracting these files, there are plenty of TAR file extraction tools for Windows that can help you. This guide will show you how t
4 min read
How to get filename without extension in Ruby?
In this article, we will learn how to get a filename in Ruby without its extension. We can use the File.basename method to extract the last name of a filename. In Ruby, the File.basename method returns the last component of the filename. Syntax: File.basename(file_path [,suffix]) If we don't provide
1 min read