Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Rename Multiple Files at Once in Windows

Batch-rename files with File Explorer, use a preview-based tool for more complex changes, and protect extensions and original filenames.

Table of Contents

For a group of files that need the same base name, select them in File Explorer, press F2, type the name, and press Enter. Windows adds numbers to distinguish the files. For search-and-replace changes or other patterns, use a tool that previews the results before applying them.

Prepare the files before renaming

Work on a copy of important files first. Keep unrelated files out of the selection, close applications using them, and check whether any program or shared document depends on their existing paths. Renaming a file can break a link even though its contents stay the same.

Show file extensions so you can distinguish the name from the type, such as .jpg or .pdf. Changing an extension does not convert a file to a different format.

Give selected files a shared base name

  1. Open the folder in File Explorer and sort the files as needed. Check the selection carefully if sequence matters.
  2. Select only the files to rename. Use Ctrl+A only when every item in the folder belongs in the batch; otherwise hold Ctrl while selecting individual files.
  3. Press F2 (or Fn+F2 on some keyboards), or right-click and choose Rename.
  4. Enter a descriptive base name such as Workshop photos, leaving the file extension intact, then press Enter.
  5. Inspect the results. Windows normally adds parenthesized numbers, for example Workshop photos (1).jpg.

Instructions for renaming multiple files in bulk with one click (operation takes 3 seconds) Picture 1
Select only the files intended for the batch.

Instructions for renaming multiple files in bulk with one click (operation takes 3 seconds) Picture 2
Enter the common base name.

Instructions for renaming multiple files in bulk with one click (operation takes 3 seconds) Picture 3
Check the numbered filenames after renaming.

If the result is wrong, Ctrl+Z in File Explorer can undo the last operation when it is still available. Check the restored names immediately rather than relying on undo after further file operations. For more examples, see batch renaming without additional software.

Use a preview for more complex changes

File Explorer's basic rename is enough for a shared name and counter. For replacing part of each filename while keeping the rest, Microsoft PowerToys includes PowerRename.

  1. Install PowerToys from Microsoft's official distribution and enable PowerRename.
  2. Select your files, right-click, and choose Rename with PowerRename.
  3. Enter the text to find and its replacement. Leave regular expressions off for an ordinary text replacement.
  4. Review the original and proposed names, including any extension changes. Exclude files that should remain unchanged.
  5. Apply only after the preview matches your intended result.

Refer to Microsoft's PowerRename documentation for pattern syntax. Other approaches are covered in Windows file and folder renaming methods.

Be cautious with older scripts and unnamed tools

The older workflow pictured below used a custom VBScript and a small renaming utility. A script with an incorrect folder path, unspecified ordering, or existing-name conflicts can leave a batch only partly renamed. Do not run a copied script against your only set of files.

Instructions for renaming multiple files in bulk with one click (operation takes 3 seconds) Picture 4
Older script-based renaming example; use a preview-based method unless you understand and have tested the script.

For any tool that asks for a folder, select it explicitly and verify its full path in File Explorer's address bar.

Instructions for renaming multiple files in bulk with one click (operation takes 3 seconds) Picture 5
Checking a folder path in File Explorer.

An older custom utility may offer character removal, capitalization, or numbering. Use such software only when its publisher and download source can be verified. Claims that a file was previously scanned do not establish that a current download is safe.

Instructions for renaming multiple files in bulk with one click (operation takes 3 seconds) Picture 6
Example of a legacy bulk-renaming utility.

Instructions for renaming multiple files in bulk with one click (operation takes 3 seconds) Picture 7
Inspect the resulting names and open a few files to confirm they still work.

For large batches, start with a small copied sample, check duplicates and ordering, and keep a record of original names. The time required depends on the number of files, storage, and renaming rules; a fixed “three-second” promise is not meaningful.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.