It's based on Microsoft's official PowerRename and PowerToys installation documentation on Microsoft Learn, both checked on 26 November 2026, and the examples below are taken from, or follow the rules in, that documentation.
Build a PC, take a few hundred progress photos, record a season's worth of gameplay clips or download a folder full of driver packages, and you soon end up with file names that tell you nothing. Renaming them one at a time in File Explorer is slow and error-prone. Microsoft's free PowerToys suite includes a tool built for exactly this job: PowerRename, which Microsoft describes as a Windows bulk renaming tool that lets you rename multiple files at once.
According to Microsoft, PowerRename lets you:
Change the names of a large number of files without giving them all the same name
Search and replace a targeted section of file names
Run a regular expression rename across multiple files
Check the results in a preview window before you commit
Undo a rename after it's done
Here's how to install it, use it for everyday jobs and get more ambitious with counters, dates and regular expressions.
Step 1: Install PowerToys
PowerRename is part of Microsoft PowerToys, a set of utilities for customising Windows. Microsoft's minimum requirements are Windows 11, or Windows 10 version 2004 (build 19041) or newer, on a 64-bit x64 or ARM64 processor. The installer also sets up the Microsoft Edge WebView2 Runtime if it's needed.
Microsoft recommends installing PowerToys from GitHub or the Microsoft Store. If you prefer a package manager, the documented Winget command is:
winget install --id Microsoft.PowerToys --source winget
If you haven't used Winget before, our guide on how to install apps with Winget explains the basics. Chocolatey and Scoop are also listed as community-driven install methods.
When the GitHub installer is used, you can choose between a per-user install (in your user profile's AppData\Local\Programs folder, only for your account) and a machine-wide install (in Program Files, for all users). Microsoft says you'll receive updates either way. PowerToys has an automatic update checker that shows a notification when a new version is available, and you can check manually from PowerToys Settings.
For a tour of the rest of the suite, see our guide on how to use Microsoft PowerToys.
Step 2: Make sure PowerRename is enabled
Open PowerToys Settings and select PowerRename in the list of utilities. Make sure it's switched on: Microsoft notes that the Rename with PowerRename option only appears in File Explorer's right-click menu if the utility is enabled in PowerToys.
A few settings are worth knowing about now:
Show PowerRename in: show it as one of the default right-click options, or only in the extended context menu
Hide icon in context menu: removes the PowerRename icon from the menu
Restore flags on launch: remembers which options you ticked last time
Enable auto-complete for the search and replace fields: suggests terms based on previous use, with a setting for the maximum number of suggestions
Show recently used strings: fills the search and replace fields with the last values you used
Use Boost library: enables extended regular expression features (more on that below)
Step 3: Select your files and open PowerRename
In File Explorer, select the files you want to rename. You can select a whole folder's contents with Ctrl+A, or pick individual files with Ctrl+click. Then right-click and choose Rename with PowerRename.
The PowerRename window lists the selected items, with a Search for field, a Replace with field, a list of options and a Preview pane showing the original and new names. Nothing is renamed until you apply the change, so you can experiment freely.
If you're working through a big folder, File Explorer's tabs help you keep the source and destination folders open side by side; our guide to File Explorer tabs in Windows 11 covers them. And if your files are scattered across the drive, Everything can find them first.
Step 4: Do a simple search and replace
Most renaming jobs need nothing more than text replacement. Type the text you want to change in Search for and the new text in Replace with, then check the Preview pane.
Two options make a big difference here:
Match all occurrences: if ticked, every match in the file name is replaced. If not, only the first one is. Microsoft's example is a file called powertoys-powerrename.txt, searching for "power" and replacing with "super". With the option cleared you get supertoys-powerrename.txt; with it ticked you get supertoys-superrename.txt.
Case sensitive: if ticked, matches have to be the same case. By default, matching ignores case.
You also choose what the rename applies to. Filename only changes just the name, leaving the extension alone, while Extension only changes just the extension. That second option is handy if you need to change a batch of files from one extension to another, though bear in mind that changing an extension doesn't convert the file's contents.
Three more tick boxes control what's included. Clear Include files or Include folders to leave files or folders out of the operation, and clear Include subfolders to leave out the files inside any folders you've selected. Microsoft says subfolder items are included by default, so check this before renaming a selection that contains folders.
Step 5: Tidy up capitalisation
The text formatting options convert names to all lowercase, all uppercase, title case, or capitalise every word. This is useful for consistency, for instance if a mix of downloads have names in different styles and you want them all lower case.
Step 6: Number your files with counters
To give files sequential numbers, tick Enumerate items and use a counter pattern in the Replace with field. Microsoft documents four patterns:
Pattern | What it does |
|---|
${} | A simple counter starting from zero |
${increment=X} | A counter that goes up by X each time |
${padding=X} | A counter with X digits, using leading zeroes |
${start=X} | A counter that starts at X |
You can combine options in one counter and use more than one counter in the same replace string. In Microsoft's example, searching for "a" in the files a.jpg, ab.jpg and abc.jpg, and replacing with Image_${padding=4;increment=2;start=10}, produces Image_0010.jpg, Image_0012_b.jpg and Image_0014_bc.jpg.
Padding is worth using whenever you number files: names with leading zeroes, such as 0009 and 0010, sort in the right order everywhere, rather than relying on how a particular app handles numbers in names.
PowerRename can also insert a file's creation date and time into the new name. Select the tooltip in the Replace with field to see and pick the supported patterns. Among them:
$YYYY, $YY: the year as four (or five, depending on the calendar) digits, or the last two digits
$MMMM, $MMM, $MM, $M: the month as a full name, abbreviated name, or digits with or without a leading zero
$DD, $D: the day of the month, with or without a leading zero (and $DDDD and $DDD for the name of the day of the week)
$hh, $mm, $ss: hours, minutes and seconds with leading zeroes, plus milliseconds patterns
Microsoft's example uses Search for "powertoys" and Rename with "$MMM-$DD-$YY-powertoys" to turn two screenshots created on 2 and 3 November 2020 into Nov-02-20-powertoys.png and Nov-03-20-powertoys-menu.png. For names that sort by date, a year-month-day order such as $YYYY-$MM-$DD works best.
For photos, PowerRename can use EXIF or XMP metadata instead. After selecting the metadata option in the drop-down (Microsoft's page calls it EXIF/MDF), patterns become available for the camera make and model, lens, ISO, aperture, shutter speed, focal length, image width and height, author, copyright, GPS coordinates and the date and time the photo was taken, such as $DATE_TAKEN_YYYY. That's handy for sorting photos from a phone or camera by when they were actually taken rather than when they were copied to your PC.
PowerRename can also generate random strings and UUIDs if you tick Random string values, with patterns such as ${rstringalnum=X} for a random mix of letters and digits of length X, and ${ruuidv4} for a version 4 UUID.
Step 8: Use regular expressions for complicated jobs
For most renames, plain search and replace is enough. When it isn't, tick Use regular expressions. PowerRename uses the ECMAScript grammar, and Microsoft suggests ticking Match all occurrences too.
Some of Microsoft's examples:
Search for | Replace with | Result |
|---|
(.*).png | foo_$1.png | Adds "foo_" to the start of PNG file names |
(.*).png | $1_foo.png | Adds "_foo" to the end of PNG file names |
(\d{2})-(\d{2})-(\d{4}) | $3-$2-$1 | Turns "29-03-2020" into "2020-03-29" |
^.{n} | (nothing) | Trims n characters from the start of the name |
Parentheses create capturing groups, which you refer to in the replacement as $1, $2 and so on; Microsoft notes that Match all occurrences must be selected when you use these variables. The date-reordering example is particularly useful for UK users: it turns day-month-year names into year-month-day names that sort correctly.
The standard library doesn't support some advanced regex features, such as lookbehind. If you need them, enable Use Boost library in PowerToys Settings. Microsoft also suggests Copilot can help write regular expressions, while noting that AI can make mistakes, so always check the Preview pane before applying.
If you regularly need automation beyond renaming, our guide to AutoHotkey is a good next step.
Step 9: Check the preview, apply and undo if needed
The Preview pane is your safety net. The first column, Original, lets you tick or clear individual files, so you can exclude a file from the rename even if it matches your search. Selecting the Renamed column header toggles the view so it only shows files that will be renamed.
When you're happy, apply the rename. If it goes wrong, Microsoft says File Explorer's Undo Rename command (Ctrl+Z) can undo the last change. It's still worth trying a complicated rename on a copy of a few files first.
Tips for safe bulk renaming
Start small: test your pattern on a handful of files before running it on thousands.
Watch the subfolders option: it's on by default, so a rename can reach files deeper in the folder tree than you intended.
Leave extensions alone unless you mean it: stick to Filename only for everyday jobs.
Use padding and year-first dates: they keep files in the right order in any app.
Don't rename files programs depend on: game folders, driver packages and app installs can break if their files are renamed.
Our verdict
PowerRename is the easiest way to bulk-rename files in Windows 11 without paying for anything. Install PowerToys, enable PowerRename, select your files and right-click Rename with PowerRename, then use search and replace, case options, counters such as ${padding=4}, file creation dates or photo EXIF data to build the names you want. Regular expressions handle trickier jobs such as reordering dates, and the Preview pane plus Undo Rename (Ctrl+Z) in File Explorer make it safe to experiment. Test on a few files first and keep an eye on the Include subfolders option.