How to rename all files in a folder in Windows 10

Renaming multiple or all the files in a folder can be a tedious, repetitive task in Windows 10. However, there are some tricks you can use to save time and rename a batch of files, either using a keyboard shortcut, from File Explorer's ribbon, or from the right-click menu. This tutorial illustrates how to rename a group of files in one go in Windows 10:

How to rename multiple files in a folder with a keyboard shortcut

First, open File Explorer and browse to the folder containing the files you wish to rename. Select the first file and then press F2 on your keyboard. This rename shortcut key can be used both to speed up the renaming process or to change the names for a batch of files in one go, depending on the desired results. On some laptops, the F-keys have multiple purposes, so pressing the F2 key might lower your sound volume or dim your screen instead. If that is the case for you, use the Fn key found in the lower-left corner of your keyboard. Try pressing the key once to enable function keys and then pressing F2, or hold the Fn key down while you press F2.
The F2 and Fn keys on our keyboard
The F2 and Fn keys on our keyboard
The file's name can now be edited, so type in the new name.
Type in the desired name for the file
Type in the desired name for the file
When you are done, instead of pressing Enter to save your changes, press the Tab key to jump to the next file. The changes for the first file are applied. The name of the next file is automatically highlighted, and it can now be edited.
Pressing Tab saves the changes and lets you rename the next file
Pressing Tab saves the changes and lets you rename the next file
Repeat the process until you finish renaming all the files you want. If you come across a file that you don't want to rename, press Tab to skip it and keep its current name. Press Shift + Tab on your keyboard to rename the previous file. NOTE: If the files you work with are sorted by Name, they may change their position after you rename them, so the process won't be continuous and smooth. Try to sort the files by some other criteria, such as Date or Size, to keep their position after renaming them.

How to rename all files in a folder with a keyboard shortcut

If you are pressed for time, and you don't need the names for your files to be all that different, you can rename all the files in one go. Select all the files you want to rename and press F2 on your keyboard. This lets you insert a name in the name field under one of the highlighted files. Type in the new name and press the Enter key.
Type in a new name for your files
Type in a new name for your files
The selected files are all automatically renamed with the chosen name and assigned a number at the end, as seen in the screenshot below.
Your files now share the same name
Your files now share the same name

Alternate ways to rename the files in a folder one by one

If you need entirely different names for your files, you can also use other methods instead of the keyboard shortcut above. You can select the first file and then click or tap on its name again to type in a new name. Use Tab, as explained above, to jump to the next file and rename multiple files faster.
Use Tab to rename the next file(s)
Use Tab to rename the next file(s)
You can also right-click or press-and-hold on the first file in the group you want to rename to open a contextual menu. Click or tap on Rename. This lets you rename the first file, and then you can use Tab to do the rest.
Press Rename from the contextual menu
Press Rename from the contextual menu
You can also use the Home tab in File Explorer to rename multiple files. Select the file you want to start with and press the Rename button. Rename the first file and then use Tab to quickly choose new names for the rest of them.
Press Rename from the ribbon
Press Rename from the ribbon

Alternate ways to rename all the files in a folder in one batch

If you're not too picky about the names of your files, there are two more methods you can use to rename them all on one go. Start by selecting all the files that need renaming. Right-click or press-and-hold on any of them, and then click or tap Rename from the contextual menu.
Select the files and press Rename to modify their names
Select the files and press Rename to modify their names
Enter the new name for your files to have them instantly renamed with your choice. A number is added in brackets to help you differentiate between them. You can also select the files and use the Rename button in File Explorer's Home tab. Add a new name and press Enter for the same result.
Use the Rename button to change the name of a batch of files
Use the Rename button to change the name of a batch of files
TIP: Use the keyboard shortcut Control + A to instantly select all the files in a folder.

How do you rename multiple files?

All the methods described above can be applied on all the items contained by a folder, whether they are files, shortcuts, other folders, etc. Naming your files and folders in a way that makes sense to you helps you keep them organized and increases your productivity. We feel the F2 keyboard shortcut is the fastest way to rename a bunch of files, whether you are trying to add different names for each of them or change all their names in one go. What about you? Which method do you prefer? Let us know in the comments.
Discover: Productivity Apps Files Recommended Tutorials Windows

Discussion (16)

  1. Sayo
    Sayo

    F2 is brilliant and still works in Windows 11. Only regret is I didn’t find you sooner. Coulda saved days!

  2. Gema
    Gema

    F2 did the trick for me. Thanks a lot guys 😉

  3. Derrick Ramos
    Derrick Ramos

    Outstanding shortcut. I use this method for creating image sequences in Adobe Premiere. Unfortunately, when using the ‘Batch Rename’ method, the auto-use of parenthesis in the sequence of filenames doesn’t allow Premiere to import them as an image sequence, so renaming them individually is still required by renaming, tab, then renaming. It’s a little quicker, but it would extra super rad if when batch renaming, it assigned sequential numbers without the parenthesis.

  4. Alan
    Alan

    Helpful tips

  5. Kameron Chia
    Kameron Chia

    How do I change the file extension? I know a warning will pop up, but that’s OK.

  6. Kameron Chia
    Kameron Chia

    How do I change the file extension? I know a warning will pop up, but that’s OK.

  7. Novice
    Novice

    Just wondering about renaming folders with different folder names, e.g. pzza, apples, pies… instead of pizza (1), pizza (2) and pizza (3). This is obviously just a simple example, however trying to create a large folder system and would spend a year typing each name otherwise.

  8. jonathan
    jonathan

    I use, Batch Rename Files Tool. You can easily found hier BatchRenameFiles.org that allows you to quickly rename all the files in a specified directory.

  9. Dave Shaw
    Dave Shaw

    Excellent post Maria Madalina, thank you so much

  10. Pantoro Tri
    Pantoro Tri

    it simply rename the file but does not actually change the extension. For example if I want to change file.exe be file.doc icon should be changed.
    Suggestion:
    Use Fast File Renamer it’s free and actually rename including extension.

  11. Thomas
    Thomas

    I followed the advice but when I pressed enter a note came up about printing. This is not what I want.

  12. Dorian Markich
    Dorian Markich

    This is very helpful, thanks!
    If you want to do this in a much easier way, get KrojamSoft BatchRename. This program has a very user-friendly interface and lets you rename files and folders in a batch, change the case of the characters, change the time stamps and my favorite feature – you can log activity into an activity log. Try it out!

  13. Fedya
    Fedya

    I find the most convenient method to be by using the BulkRenameFile Tool. You should definitely give it a try. It is worth it!

  14. Andrew
    Andrew

    is their a way to ‘tab up’?? rather than only moving down the list when you click tab? Thanks

  15. Akshay
    Akshay

    That’s a great trick. It’s especially helpful for renaming screenshots.

    I use Bulk Rename Utility. It’s a free tool. It comes with tones of features. Like regex, prefix, logging, case sensitivity, command line integration, remove digits, etc. Renaming technique possibilities are endless.

    If you are looking for something powerful.

    Meanwhile, thanks for remembering this trick.

    Cheers.