4 Ways to Change a File Extension in Windows 11 (2024)

What to Know

  • To change a file extension in File Explorer, first go to View > Show > File name extensions.
  • Then, right-click the file, select Properties, change the file extension, and press OK > Yes.
  • Use the ren Command Prompt command to change the file extension for several files at once.

This article explains how to change the file extension of a file in Windows 11. It also discusses the difference between file extension and file type.

Change a File Extension the Easy Way

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

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

  2. Select View at the top of the window, followed by Show > File name extensions.

    4 Ways to Change a File Extension in Windows 11 (1)

  3. Now that Windows 11 displays file extensions, right-click the file you want to edit the extension for and choose Properties.

    4 Ways to Change a File Extension in Windows 11 (2)

    If you're in a hurry, left-click the file once (don't open it), press F2, edit the file extension, press Enter, and then select Save.

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

  5. Press OK, and then Yes, to save.

    4 Ways to Change a File Extension in Windows 11 (3)

Changing the file extension does not change the file type. See the bottom of this page for more on that.

Change a File Extension From Command Prompt

If you're familiar with Command Prompt, you might prefer to use the rename/ren command to change a file extension. This method lets you skip having to edit the File Explorer options (i.e., you can keep file extensions hidden, and this will still work).

  1. Open Command Prompt.

  2. Change to the directory where your file is located.

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

     cdC:\Users\jonfi\Desktop

    4 Ways to Change a File Extension in Windows 11 (4)

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

    Here's an example where I'm changing the file extension from DOCX to TXT:

     renfile.docxfile.txt
  4. Press Enter to immediately change the file extension.

    4 Ways to Change a File Extension in Windows 11 (5)

How to Change File Extensions in Bulk

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

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

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

    4 Ways to Change a File Extension in Windows 11 (6)

  3. Confirm that Command Prompt shows the correct folder. In my example, it says C:\files>.

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

    Don't breeze through this step. If you're in the wrong folder, there's no easy way to undo the command you're about to perform.

  4. Type the following, but change *.jpg to be whatever it is you want your files to have:

     ren*.**.jpg

    This command will rename everything in this folder. Make sure you're in the correct folder, and want to change the file extension for every file in there.

    If you only need to rename a group of similar file extensions, you can modify the command slightly. Here's what to type if you want to make all the GIF files have the JPG file extension (everything else will be left untouched):

     ren*.gif*.jpg
  5. Press Enter. All of the file extensions will change automatically.

    4 Ways to Change a File Extension in Windows 11 (7)

Convert the File to Change the File Type

A file conversion tool can change the file extension, too. The primary reason you'd do this is if you want to change the actual file format (i.e., file type), like if you need the file to be compatible with a specific device or software program.

Here's an example where we're using the Zamzar file converter to change the file extension of an audio file from MP3 to WAV.

  1. Visit Zamzar, and select Choose Files.

    4 Ways to Change a File Extension in Windows 11 (8)

  2. Select the MP3 file you want to change to WAV, and then press Open.

    4 Ways to Change a File Extension in Windows 11 (9)

  3. Select Convert To, and then pick WAV from the list.

    4 Ways to Change a File Extension in Windows 11 (10)

  4. Select Convert Now to start the file conversion.

    4 Ways to Change a File Extension in Windows 11 (11)

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

    4 Ways to Change a File Extension in Windows 11 (12)

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

What Does Changing the File Extension Do?

The Windows operating system uses the file extension to understand how to open a file. For example, when you double-click to open a TXT file, Notepad probably opens it. This happens because Notepad is configured to open TXT files.

If I changed the TXT file to the DOCX file extension, Microsoft Word would open it instead because my PC is configured to use Word for that file type.

See How to Change File Associations in Windows if you want a different program to open any particular file type. This lets you change which app plays MP3s or pick an other image viewer for your GIF files.

Reasons to Change the File Extension

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

Another example is if you're working with a BAT file. Building it as a TXT document makes more sense, 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 have to change the file extension to BAT to work as intended.

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

The File 'Type' Is Different

When you change a file extension, it doesn't affect the file type. It might look like it does if the icon changes and a different program opens when you double-click it. But really, the file extension only serves as a way to tell Windows which program to trigger when you open the file.

The file type is the format that the file exists in. For instance, an SVG file is an image format, but it's very different from the JPG image format, and both are even less like an ISO file. Those are three different file types.

The DAT file extension is another great example. If you follow that link, you'll see that one kind of DAT file is a video, another is a text file, and yet another is used to store backed-up data. That's three different file types that are using the same file extension.

One way to understand why the differences matter is to think about what would happen if you changed the MP3 file extension to DOCX. MP3 is an audio file format, and DOCX is a document format. Changing the file extension would not magically display all the MP3's lyrics in a document format you can look through in Microsoft Word.

Instead, use a file converter to change the file type. If you need your MKV video to be an MP4 file, maybe so it opens in your favorite video player that only accepts MP4s, then a file conversion tool is the best way to do it. The same is true for other file types.

Was this page helpful?

Thanks for letting us know!

Get the Latest Tech News Delivered Every Day

Subscribe

Tell us why!

4 Ways to Change a File Extension in Windows 11 (2024)

FAQs

4 Ways to Change a File Extension in Windows 11? ›

Find the file you want to change. Right-click the file, and choose Rename. Delete the old extension, type the new one after the dot, and press Enter. Confirm change when prompted.

How to change file extensions in Windows 11? ›

Find the file you want to change. Right-click the file, and choose Rename. Delete the old extension, type the new one after the dot, and press Enter. Confirm change when prompted.

How do you change the extension of a file? ›

How to change file types on Windows 10 by changing the extension
  1. Open Windows File Explorer and select a file to change. ...
  2. Replace the old file extension with a new one to change your file. ...
  3. Push the "Enter" button on your keyboard to save your changes.
Jul 2, 2024

How to change file type in Windows 11 2024? ›

Using File Explorer
  1. Open File Explorer by pressing Win + E.
  2. Find the file you want to change its type.
  3. Click on "View" in the menu bar. Enable "File name extensions" from the menu.
  4. Right click on the file. Choose "Rename." To update the files extension replace the one with another one.
Jun 12, 2024

How to bulk change file extensions? ›

How to change File Extensions in Bulk?
  1. Copy the folder path where all of the files are present.
  2. Open Command Prompt and navigate to the path using the copied text.
  3. Execute the command “ren * *<file extension>”
  4. Press Enter to make the changes.
Apr 2, 2024

How to see file extensions in Windows 11? ›

In the search box on the taskbar, type file explorer, and in the search results, select File Explorer. In File Explorer under View, in the Show/hide group, select the File name extensions check box.

How do I change what programs open file extensions? ›

Occasionally, you might want to change the default application used to open a certain file. In the Windows File Explorer -- or on your desktop -- right-click on the file for which you want to change the default application. In the resulting pop-up dialog box, select Open with > Choose another app.

How to change a file extension without opening it? ›

You can also do it by right-clicking on the unopened file and clicking on the “Rename” option. Simply change the extension to whatever file format you want and your computer will do the conversion work for you.

How do I change extension settings? ›

Manage your extensions
  1. On your computer, open Chrome.
  2. At the top right, select More Extensions. Manage extensions.
  3. Make your changes: Turn on/off: Turn the extension on or off. Allow incognito: On the extension, select Details. Turn on Allow in incognito. Fix corruptions: Find a corrupted extension and select Repair.

Can you change the extension of a file by simply renaming it? ›

Step 2: Right-click the file name and select Rename (or left-click and hold down the button for one second). Enter the new extension like so: After entering the new extension hit the Enter (return) key. Windows will give you a warning that the file may not work properly.

How do I change file details in Windows 11? ›

Find the file whose properties you want to change, and then select it. On the Home tab, tap or click Properties. In the Properties dialog box, tap or click the Details tab. Under Value, tap or click next to the property that you want to change, enter a word or phrase, and then tap or click OK.

How do I change the default file type in Windows 11? ›

There are a couple of ways to change the default app setting for a program in Windows 11. Open the Start menu and search for Default apps. In the Default apps settings, scroll down to the By file type section. Find the file type that you want to associate with a different app, and then click on it.

How do I change the format in Windows 11? ›

Click the Start button, and then click Control Panel. Click Change date, time, or number formats. The Region dialog box appears. On the Formats tab, select the format you want to change from the drop-down list.

How do I change the extension in Windows 11? ›

To change a file extension in File Explorer, first go to View > Show > File name extensions. Then, right-click the file, select Properties, change the file extension, and press OK > Yes. Use the ren Command Prompt command to change the file extension for several files at once.

How do I change the extension of all files in a folder? ›

Press Ctrl+A to select all the files in the folder. Down near the bottom right of the window you'll see Extension. Select Lower from the Extension drop-down box. You'll see the filenames updated in the New Name column.

Does changing the file extension convert the file? ›

Some editors use the file extension on save to determine what format to write, in which case the new file will be the proper format to match the extension, but will not change the original file. Changing a file's extension by renaming it does not change the internal “magic number” that identifies the file format.

How do I change file properties in Windows 11? ›

Find the file whose properties you want to change, and then select it. On the Home tab, tap or click Properties. In the Properties dialog box, tap or click the Details tab. Under Value, tap or click next to the property that you want to change, enter a word or phrase, and then tap or click OK.

How do I change file associations in Windows 11? ›

What to Know
  1. Windows 11: Settings > Apps > Default apps > Choose defaults by file type > choose a program.
  2. Windows 10: Go to the same Default apps screen as W11, but select Choose default apps by file type.
  3. You can still use a different app to open the same file despite setting a program's default file association.
Feb 24, 2022

How do I change the program to open files in Windows 11? ›

Another Way to Change Default Apps: The 'Open With' Option
  1. Right-click on a file in File Explorer.
  2. Click Open With (which is more conveniently and consistently the second choice in Windows 11's context menu).
  3. Pick the Choose another app option.
Aug 15, 2023

How do I change folder and file permissions in Windows 11 10? ›

To specify which users or groups can access a file or folder:
  1. Right-click the file or folder you want to set permissions for and select "Properties".
  2. Navigate to the "Security" tab.
  3. Click on the "Edit" button to change permissions.
  4. In the permissions window, select a user or group from the list.
Oct 11, 2023

Top Articles
Freedom Rise | Chase Starter Credit Card
What is the GCF of 36 and 56? | Thinkster Math
Artem The Gambler
Ron Martin Realty Cam
Shs Games 1V1 Lol
Activities and Experiments to Explore Photosynthesis in the Classroom - Project Learning Tree
50 Meowbahh Fun Facts: Net Worth, Age, Birthday, Face Reveal, YouTube Earnings, Girlfriend, Doxxed, Discord, Fanart, TikTok, Instagram, Etc
Words From Cactusi
Boat Jumping Female Otezla Commercial Actress
DIN 41612 - FCI - PDF Catalogs | Technical Documentation
Oppenheimer Showtimes Near Cinemark Denton
Transfer Credits Uncc
Hellraiser III [1996] [R] - 5.8.6 | Parents' Guide & Review | Kids-In-Mind.com
Fraction Button On Ti-84 Plus Ce
Titanic Soap2Day
Yisd Home Access Center
27 Paul Rudd Memes to Get You Through the Week
R&S Auto Lockridge Iowa
Roane County Arrests Today
Globle Answer March 1 2023
Disputes over ESPN, Disney and DirecTV go to the heart of TV's existential problems
2000 Ford F-150 for sale - Scottsdale, AZ - craigslist
Beaufort 72 Hour
Free T33N Leaks
Southtown 101 Menu
Christmas Days Away
County Cricket Championship, day one - scores, radio commentary & live text
Pixel Combat Unblocked
Rogold Extension
Dubois County Barter Page
Devargasfuneral
Daily Journal Obituary Kankakee
Senior Houses For Sale Near Me
Kvoa Tv Schedule
Samsung 9C8
Jefferson Parish Dump Wall Blvd
Indio Mall Eye Doctor
Entry of the Globbots - 20th Century Electro​-​Synthesis, Avant Garde & Experimental Music 02;31,​07 - Volume II, by Various
Anhedönia Last Name Origin
Powerspec G512
Craigslist Antique
Quiktrip Maple And West
Online-Reservierungen - Booqable Vermietungssoftware
Candise Yang Acupuncture
26 Best & Fun Things to Do in Saginaw (MI)
Zipformsonline Plus Login
Dolce Luna Italian Restaurant & Pizzeria
Rocket Bot Royale Unblocked Games 66
Game Like Tales Of Androgyny
Festival Gas Rewards Log In
Texas Lottery Daily 4 Winning Numbers
Latest Posts
Article information

Author: Tuan Roob DDS

Last Updated:

Views: 6028

Rating: 4.1 / 5 (42 voted)

Reviews: 81% of readers found this page helpful

Author information

Name: Tuan Roob DDS

Birthday: 1999-11-20

Address: Suite 592 642 Pfannerstill Island, South Keila, LA 74970-3076

Phone: +9617721773649

Job: Marketing Producer

Hobby: Skydiving, Flag Football, Knitting, Running, Lego building, Hunting, Juggling

Introduction: My name is Tuan Roob DDS, I am a friendly, good, energetic, faithful, fantastic, gentle, enchanting person who loves writing and wants to share my knowledge and understanding with you.