4 Ways to Change File Extensions in Windows 11

This article explains how to change file extensions in Windows 11 , as well as discusses the difference between file extensions and file types.

Table of Contents

Change file extensions the easy way

For most people, the easiest way to change a file extension in Windows 11 is to do it from the same place you change the file name. However, Windows doesn’t show file extensions by default, so we’ll have to make a small change to that extension first before we’re given the option to edit the file extension.

1. Open File Explorer . A quick method is to use the shortcut WIN + E .

2. Select View at the top of the window, then select Show > File name extensions .

4 Ways to Change File Extensions in Windows 11
Go to View > Show > File Name Extensions in File Explorer

3. Now Windows 11 shows the file extension, right click on the file you want to edit the extension and select Properties .

4 Ways to Change File Extensions in Windows 11
Select Properties in the file's context menu.

Tip : If you're in a hurry, left-click the file once (without opening it), press F2 , edit the file extension, press Enter , then select Save .

4. In the General tab , rename the characters after the period to change the file extension.

5. Click OK , then select Yes to save.

4 Ways to Change File Extensions in Windows 11
Select the Yes button in the file's Properties window.

Note : Changing the file extension does not change the file type. See the bottom of this page for more information about that.

Change file extension from Command Prompt

If you're familiar with the Command Prompt , you may prefer to use the rename/ren command to change file extensions. This method allows you to skip having to edit File Explorer options (i.e. you can hide file extensions and it will still work).

1. Open Command Prompt .

2. Change to the directory containing your file.

For example, if Command Prompt opens to C:\Users\jonfi , but the file is on the desktop, enter this command into Command Prompt:

cd C:\Users\jonfi\Desktop

4 Ways to Change File Extensions in Windows 11
Example of CD command in Windows 11 Command Prompt

3. Type ren followed by the original file and then the new name for the file.

Here is an example of changing the file extension from DOCX to TXT:

ren file.docx file.txt

4. Press Enter to change the file extension immediately.

4 Ways to Change File Extensions in Windows 11
Use REN command to change file extension in Windows 11

How to change file extensions in bulk

Command Prompt also makes it easy to edit the file extension for multiple files at once, assuming they're in the same folder. The trick is to use asterisks so you don't have to call out any specific file names.

1. Put all the files you want to edit in their own folder.

2. Right-click on the empty area next to the files and select Open in Terminal .

4 Ways to Change File Extensions in Windows 11
Open in Terminal command in the folder context menu

3. Confirm that Command Prompt displays the correct folder. In the example, it is C:\files>.

If PowerShell opens instead, press Ctrl + Shift + 2 to get to Command Prompt. Learn more about Terminal if you need help.

Important Note : Don't skip this step. If you're in the wrong directory, there's no easy way to undo the command you're about to execute.

4. Enter the following command, but change *.jpg to whatever file you want:

ren *.* *.jpg

Warning : This command will rename everything in this directory. Make sure you are in the correct directory and want to change the file extension for every file in it.

If you just need to rename a group of similar file extensions, you can modify the command a bit. Here's what you'd enter if you wanted all GIF files to have the JPG file extension (everything else would remain the same):

ren *.gif *.jpg

5. Press Enter . All file extensions will change automatically.

4 Ways to Change File Extensions in Windows 11
An example of the REN command in Command Prompt

Convert files to change file type

File converters can also change file extensions. The main reason you would do this is if you want to change the actual file format (i.e. file type), such as if you need the file to be compatible with a specific device or software program.

Here is an example of using Zamzar file converter to change the file extension of an audio file from MP3 to WAV.

1. Go to Zamzar and select Choose Files .

4 Ways to Change File Extensions in Windows 11
Select Choose Files on the Zamzar website

2. Select the MP3 file you want to convert to WAV, then click Open .

4 Ways to Change File Extensions in Windows 11
Select the MP3 file to convert on the Zamzar website

3. Select Convert To , then select WAV from the list.

4 Ways to Change File Extensions in Windows 11
Select the format to convert to

4. Select Convert Now to start converting the file.

4 Ways to Change File Extensions in Windows 11
Convert files on Zamzar website

5. Select Download to save the file to your device.

4 Ways to Change File Extensions in Windows 11
Save file to device

Some software programs have built-in file conversion tools. This is common for programs that can open multiple file types. For example, Adobe Photoshop can open a PNG file and convert it to over a dozen other image formats, then change the file extension (to JPG, GIF, TIFF, etc.).

What does changing the file extension do?

The Windows operating system uses file extensions to understand how to open a file. For example, when you double-click to open a TXT file, Notepad may open that file. This happens because Notepad is configured to open TXT files.

If you change a TXT file to the DOCX file extension, Microsoft Word will open that file instead of a PC configured to use Word for that file type.

See how to change file associations in Windows  if you want a different program to open a particular file type. This allows you to change the MP3 player application or choose a different image viewer for your GIF file.

Reasons for changing file extensions

One reason to change the file extension is if the original extension was added to the file by mistake. This sometimes happens when a file is downloaded from a website. For example, if you were supposed to receive a PDF file, but the web service exported your file to something else, you can change the file extension to PDF to make it work properly with your PDF reader.

Another example is if you’re working with a BAT file. It makes more sense to build the file as a TXT document, so you can quickly double-click to open it in a text editor when you need to make changes. But when you’re done, you’ll need to change the file extension to BAT to get it to work as intended.

You might consider changing the file extension to make it work with a different program or device. For example, changing the file extension might seem helpful if your eReader supports PDF files, but your book is an FB2 file. In reality, you need to change the file type.

Different "types" of files

Changing the file extension does not change the file type. It may seem that way if the icon changes and a different program opens the file when you double-click it. However, the file extension only tells Windows which program to use when opening the file.

The file type refers to the format in which the file is stored. For example, an SVG file is an image format, which is quite different from a JPG. Both are significantly different from an ISO file. They represent three separate file types.

The DAT extension is another example. Following the link, you will see that one type of DAT file can be a video, another is a text file, and another is for storing backup data. That’s three different types of files using the same extension.

To understand these differences, consider changing the MP3 file extension to DOCX. MP3 is for audio, while DOCX is for documents. Simply changing the file extension will not convert MP3 lyrics into a readable document in Microsoft Word.

Instead, use a file converter to change the file type. If you need your MKV video to be an MP4, perhaps so it works with your favorite video player that only accepts MP4s, then a file converter is ideal. This goes for other file types as well.

Tags: #System
Sign up and earn $1000 a day ⋙

Leave a Comment

Fix Windows Error Code 0xc0000098: Backup ACPI.sys to Prevent Boot Failure

Fix Windows Error Code 0xc0000098: Backup ACPI.sys to Prevent Boot Failure

Error code 0xc0000098 in Windows causes a blue screen error on startup. The ACPI.sys driver is often to blame, especially on unsupported versions of Windows 11 like 23H2 or 22H2 or Windows 10.

Quickly fix Windows 10/8/7 computer error that freezes and cannot exit Safe Mode

Quickly fix Windows 10/8/7 computer error that freezes and cannot exit Safe Mode

In some cases, sometimes you start your computer in Safe Mode and the computer freezes. So how to fix the error in this case, please refer to the article below of WebTech360.

How to fix Snipping Tool keeps showing error

How to fix Snipping Tool keeps showing error

Snipping Tool is a powerful photo and video capture tool on Windows. However, this tool sometimes has some errors, such as constantly displaying on the screen.

How to get the fastest internet connection from your router

How to get the fastest internet connection from your router

Every network has a router to access the Internet, but not everyone knows how to make the router work better. In this article, we will introduce some router tips to help speed up the wireless connection in the network.

Common Mistakes When Performing Internet Speed ​​Tests

Common Mistakes When Performing Internet Speed ​​Tests

If the results seem slower than expected, don't be too quick to blame your ISP - mistakes when performing the test can skew your numbers.

What is QoS? How to use QoS for faster Internet speeds when you need it most

What is QoS? How to use QoS for faster Internet speeds when you need it most

In the article below, we will introduce and guide you to learn about the concept of QoS - Quality of Service on router devices.

Why cant this built-in Credential Manager feature in Windows replace a password manager?

Why cant this built-in Credential Manager feature in Windows replace a password manager?

Windows has a built-in Credential Manager, but it's not what you think it is—and certainly not a replacement for a password manager.

How to install free HEVC codecs on Windows 10 (for H.265 video)

How to install free HEVC codecs on Windows 10 (for H.265 video)

Microsoft charges for its official codecs and doesn't include them in Windows 10. However, you can get them for free without pulling out your credit card and spending $0.99.

Instructions to fix Access Denied error when accessing files or folders on Windows

Instructions to fix Access Denied error when accessing files or folders on Windows

While having trouble accessing files and folders can be frustrating, don't panic—with a few simple tweaks, you can regain access to your system.

How to check if USB Boot has been created successfully?

How to check if USB Boot has been created successfully?

After creating a USB boot to install Windows, users should check the USB boot's performance to see if it was created successfully or not.

4 Types of Windows Data That Are Growing in Size: How to Control Them?

4 Types of Windows Data That Are Growing in Size: How to Control Them?

Although Windows Storage Sense efficiently deletes temporary files, some types of data are permanent and continue to accumulate.

How to turn off background apps in Windows 11, reduce RAM consumption on Win 11

How to turn off background apps in Windows 11, reduce RAM consumption on Win 11

You can turn off Windows 11 background apps to optimize performance, save battery and reduce RAM consumption.

Instructions to fix the error “Network path was not found” in Windows

Instructions to fix the error “Network path was not found” in Windows

When a computer, mobile device, or printer tries to connect to a Microsoft Windows computer over a network, for example, the error message network path was not found — Error 0x80070035 may appear.

How to block Internet connection of Windows 10 software and applications

How to block Internet connection of Windows 10 software and applications

We can block Internet access for any application or software on the computer, while other programs can still access the network. The following article will guide readers on how to disable Internet access for software and applications on Windows.

How to Stay Safe on Windows 10 Until 2030

How to Stay Safe on Windows 10 Until 2030

Instead of paying $30 for a year of security updates, keep Windows 10 safe until 2030 with this simple solution.

Fix Windows Error Code 0xc0000098: Backup ACPI.sys to Prevent Boot Failure

Fix Windows Error Code 0xc0000098: Backup ACPI.sys to Prevent Boot Failure

Error code 0xc0000098 in Windows causes a blue screen error on startup. The ACPI.sys driver is often to blame, especially on unsupported versions of Windows 11 like 23H2 or 22H2 or Windows 10.

Quickly fix Windows 10/8/7 computer error that freezes and cannot exit Safe Mode

Quickly fix Windows 10/8/7 computer error that freezes and cannot exit Safe Mode

In some cases, sometimes you start your computer in Safe Mode and the computer freezes. So how to fix the error in this case, please refer to the article below of WebTech360.

How to fix Snipping Tool keeps showing error

How to fix Snipping Tool keeps showing error

Snipping Tool is a powerful photo and video capture tool on Windows. However, this tool sometimes has some errors, such as constantly displaying on the screen.

How to get the fastest internet connection from your router

How to get the fastest internet connection from your router

Every network has a router to access the Internet, but not everyone knows how to make the router work better. In this article, we will introduce some router tips to help speed up the wireless connection in the network.

Common Mistakes When Performing Internet Speed ​​Tests

Common Mistakes When Performing Internet Speed ​​Tests

If the results seem slower than expected, don't be too quick to blame your ISP - mistakes when performing the test can skew your numbers.

What is QoS? How to use QoS for faster Internet speeds when you need it most

What is QoS? How to use QoS for faster Internet speeds when you need it most

In the article below, we will introduce and guide you to learn about the concept of QoS - Quality of Service on router devices.

Why cant this built-in Credential Manager feature in Windows replace a password manager?

Why cant this built-in Credential Manager feature in Windows replace a password manager?

Windows has a built-in Credential Manager, but it's not what you think it is—and certainly not a replacement for a password manager.

How to install free HEVC codecs on Windows 10 (for H.265 video)

How to install free HEVC codecs on Windows 10 (for H.265 video)

Microsoft charges for its official codecs and doesn't include them in Windows 10. However, you can get them for free without pulling out your credit card and spending $0.99.

Instructions to fix Access Denied error when accessing files or folders on Windows

Instructions to fix Access Denied error when accessing files or folders on Windows

While having trouble accessing files and folders can be frustrating, don't panic—with a few simple tweaks, you can regain access to your system.

How to check if USB Boot has been created successfully?

How to check if USB Boot has been created successfully?

After creating a USB boot to install Windows, users should check the USB boot's performance to see if it was created successfully or not.

4 Types of Windows Data That Are Growing in Size: How to Control Them?

4 Types of Windows Data That Are Growing in Size: How to Control Them?

Although Windows Storage Sense efficiently deletes temporary files, some types of data are permanent and continue to accumulate.

How to turn off background apps in Windows 11, reduce RAM consumption on Win 11

How to turn off background apps in Windows 11, reduce RAM consumption on Win 11

You can turn off Windows 11 background apps to optimize performance, save battery and reduce RAM consumption.

Instructions to fix the error “Network path was not found” in Windows

Instructions to fix the error “Network path was not found” in Windows

When a computer, mobile device, or printer tries to connect to a Microsoft Windows computer over a network, for example, the error message network path was not found — Error 0x80070035 may appear.

How to block Internet connection of Windows 10 software and applications

How to block Internet connection of Windows 10 software and applications

We can block Internet access for any application or software on the computer, while other programs can still access the network. The following article will guide readers on how to disable Internet access for software and applications on Windows.

How to Stay Safe on Windows 10 Until 2030

How to Stay Safe on Windows 10 Until 2030

Instead of paying $30 for a year of security updates, keep Windows 10 safe until 2030 with this simple solution.