Guide · File Utilities

How to Rename Multiple Files with PowerRename

Use this guide to learn how to rename multiple files with PowerRename, replacing one project label across a folder of Windows files. Allow about ten minutes for a small first batch, including review. You'll need PowerToys and files in a folder you can edit. The result is the same collection with clearer, consistent names.

A pencil replaces labels on several paper file cards.
On this page

The examples below use invented practice filenames, following Microsoft's documented controls. They're naming examples, so you can compare the intended results before applying the method to your own collection. PowerRename's tool page links to the official product information.

1. Enable PowerRename in PowerToys #

Install PowerToys from a route linked by Microsoft's installation instructions, then open its settings. Find PowerRename and enable the utility if it is turned off.

The renaming entry depends on that setting. Microsoft's documentation also lists Show PowerRename in, which controls whether the entry appears in the default or extended Explorer context menu. Check that choice if you prefer one menu over the other.

Use a small practice collection for the first pass. For example, three documents named draft-home.txt, draft-about.txt and draft-contact.txt make the intended change easy to read. Put copies in a separate working folder so you can learn the controls without changing a live project's file references.

When setup is ready, the PowerToys settings show PowerRename enabled. No renaming has happened yet.

2. Select the files and open the renaming window #

In File Explorer, select the files that need the same change. Right-click the selection and choose Rename with PowerRename. If it is in the extended Windows context menu, open Show more options first.

The PowerRename window should list the selected items. Compare that list with the folder before typing a rule. If you included a neighboring file by accident, clear its row in the Original column. Microsoft's instructions describe selected rows as the entries that will be renamed.

For this example, the collection contains only the three draft- documents. A mixed folder can work too, but the rule needs to make sense for each selected name. Opening the window with the right selection saves you from reviewing many unrelated entries afterward.

3. Enter the text replacement #

In Search for, enter draft-. In Replace with, enter launch-. Leave Use regular expressions cleared for this plain-text operation.

The proposed results should be launch-home.txt, launch-about.txt and launch-contact.txt. The rest of each name stays in place because the search targets only the repeated prefix. If the preview does something else, inspect the entered text before continuing.

Set Apply to to Filename only for this example. Include files should be selected. Clear Include folders and Include subfolders when the task is limited to the selected files in this folder. Those settings determine the scope of the operation.

You can leave Case sensitive off when the old label's capitalization varies. Turn it on when draft- and Draft- are meant to be different labels. Decide that from your filenames, then check the preview to confirm the intended entries match.

4. Read all the proposed names #

Compare Original with Renamed, one row at a time. Look for three things: the right text changed, each output name is still recognizable, and two files haven't ended up with the same proposed name.

The Renamed column header can filter the list to changed items. That is helpful for a mixed collection after you've checked the complete list. Start with the full view so you can also see which entries the expression didn't match.

If the same label appears twice in a filename, Match all occurrences controls whether the replacement affects both instances. For a name such as draft-home-draft.txt, a search for draft can produce either launch-home-draft.txt or launch-home-launch.txt. Choose the result you actually intend.

This is the point to revise the rule. Nothing in a preview needs to be accepted just because the first few rows look right. A filename near the bottom can have a different pattern from the others.

5. Apply the batch and verify it in Explorer #

Select Apply after the proposed names are correct. Return to Explorer and confirm that the files now have the expected names. Open one of the documents to check that you're still looking at the intended content.

Microsoft documents Explorer's Undo Rename command, also available with Ctrl+Z, for undoing the last rename operation. If the result needs reversing, use it promptly in the Explorer window and verify the restored names before starting another job.

For a shared work folder, tell the person using these files the resulting naming convention. Consistency is easier to maintain when the next export follows the same convention from the start. A renaming utility is most helpful when it fixes a defined problem, such as a repeated old project label.

6. Record the rule for the next export #

Save a short note with the search text, replacement text and scope you used. For this example, that note is draft- to launch-, filenames only, selected files in the current folder.

PowerRename has Restore flags on launch and Show recently used strings settings. Those can retain earlier choices. Read the controls each time you reopen the utility; a remembered option from another job may change the result you expect today.

If you need a large collection of recurring recipes, look at Bulk Rename Utility or the other tools in our bulk renamer list. A dedicated naming workspace may be easier to revisit than a growing note of unrelated rules.

Known problems with filenames and source folders #

Spaces are awkward to see in the search field

A PowerToys feature request asks for an explicit space-replacement option because remembering a regular expression is inconvenient. For an ordinary space, leave Use regular expressions off, put one space in Search for and a hyphen in Replace with. Select Match all occurrences if every ordinary space needs replacing. Confirm the hyphens in the preview.

Phone folders over USB don't behave like normal disk folders

A September 2025 Advanced Renamer forum discussion also reports PowerRename failing with Android files accessed over USB. Work on a local disk copy for this tutorial, then transfer the renamed files back when appropriate. For a large phone collection, use a small subset that fits the available space. Avoid treating the phone's Explorer listing as a standard Windows folder.

Troubleshoot an unexpected preview #

ProblemLikely causeWhat to do
No proposed names changeThe text doesn't match, or rows are clearedCheck the selected rows and copy the intended search text carefully
Only the first repeated word changesMatch all occurrences is offEnable it if all copies of that word should change
A plain punctuation character acts like a patternRegular expressions are enabledClear that option for literal text replacement
Folders appear in a file-only jobFolder or subfolder inclusion is enabledClear those inclusion controls and recheck the list
The context entry is hard to findPowerRename is disabled or placed in the extended menuCheck PowerToys settings and Show more options

If matching files still won't produce an active Apply button, don't substitute a broader expression just to force a result. Reopen the window with two practice files and a single literal replacement, and compare your installed version with the current official release. Keep the problematic batch unchanged while diagnosing it.

Add a shared project prefix #

For a prefix, enable Use regular expressions, enter ^ in Search for, and put a prefix such as client- in Replace with. Microsoft's pattern table defines ^ as the start of a filename. With filename-only scope, home.txt should preview as client-home.txt.

This pattern inserts text at a position instead of looking for an existing label. It is handy when the source names are already readable and only need the project name added.

Replace repeated separators #

To change underscores into hyphens, turn regular expressions off and use _ as the search text and - as the replacement. Enable Match all occurrences for a name such as home_page_mobile.png if both separators should change.

Read the entire proposed filename. Some parts may be identifiers that another process expects to keep. Apply the replacement only to the collection whose naming convention you're changing.

How to rename multiple files with PowerRename: completion checks #

  • The expected files have the new label or prefix.
  • No unrelated folders were included.
  • Each resulting name identifies its file clearly.
  • You recorded the rule and scope if this export will recur.
  • Any files you copied from another device are ready for their intended destination.

For more controls, read PowerRename vs Bulk Rename Utility. The Software & Utilities category can help with the next organizing task once your naming convention is settled.

Featured illustration: original conceptual artwork created for WebIndexly with OpenAI image generation.

D
Donna PickardSenior Technical Writer

Donna Pickard is a Senior Technical Writer dedicated to making enterprise software and SaaS products easy to navigate. With 7+ years of experience delivering everything from deep-dive API guides to intuitive online help systems, she knows how to make technical content click. Donna currently lives…