How to Use PowerRename in Windows 11: Install, Examples and Undo

Install PowerRename from Microsoft PowerToys, then add a prefix, number files from 001, add dates, fix the order of a date and undo a rename in Windows 11.

NameQuick Team

Choose your download

Learn More in the Docs

When the name you need is inside the file

NameQuick reads PDFs, scans and photos and suggests a name from what they say. Set up a Preset, choose Review first, then add three copies.

Joinhappy customers

PowerRename renames many files at once from File Explorer. You set a rule, such as "replace Draft with Final" or "number these from 001", and a preview shows every new name before anything changes. It comes free with Microsoft PowerToys.

This guide covers installing it, every option in its window, eight rules you can copy, and how to undo a rename. It is written for PowerToys 0.102, released on November 6, 2026.

Jump to: Install · First rename · Options · Examples · Undo and fixes · FAQ

Install PowerToys and turn on PowerRename

PowerRename isn't a separate download. It is one of the tools in PowerToys, which needs Windows 11 or Windows 10 version 2004 (build 19041) or later, on an x64 or ARM64 processor. Microsoft's install guide lists these ways to get it:

WhereWhat to do
Microsoft StoreSearch for Microsoft PowerToys and select Get.
GitHubOpen the PowerToys releases page and download the installer for your processor: x64 or arm64.
WinGetIn PowerShell or Terminal, run winget install --id Microsoft.PowerToys --source winget.

Use one of these. Sites that offer a "PowerRename download" on its own aren't Microsoft.

After installing, open PowerToys Settings, go to PowerRename and make sure the PowerRename switch is on. Then, in File Explorer, select the files you want to rename, right-click one of them and choose Rename with PowerRename. If it isn't in the menu, choose Show more options first.

Your first rename: replace a word

Try it on copies first. Put two test files in an empty folder: Proposal_Draft.pdf and Letter_Draft.docx. Select both and open PowerRename.

  1. In Search for, type Draft.
  2. In Replace with, type Final.
  3. Leave Use regular expressions off.
  4. Under Apply to, choose Filename only, so the extension can't change.

The Renamed column now shows the result:

OriginalRenamed
Proposal_Draft.pdfProposal_Final.pdf
Letter_Draft.docxLetter_Final.docx

Nothing has changed yet. Clear the checkbox next to any file you want to leave alone, then select Apply. Check the names in File Explorer. If something went wrong, press Ctrl+Z in File Explorer right away.

PowerRename options explained

These are the settings in the PowerRename window, with their labels as they appear in PowerToys 0.102. Microsoft's PowerRename documentation has the full reference.

OptionWhat it does
Use regular expressionsTreats Search for as a pattern. ^ means "the start of the name" and $ means "the end".
Match all occurrencesReplaces every match in a name. When it's off, only the first match changes.
Case sensitiveDraft no longer matches draft.
Apply toFilename + extension, Filename only or Extension only.
Include files, Include folders, Include subfoldersThree buttons that choose what gets renamed. Include subfolders decides whether files inside the selected folders are renamed too.
Text formattingLowercase, Uppercase, Title case or Capitalize each word.
Enumeration featuresLets Replace with use counters such as ${start=1;padding=3}.
Random string featuresLets Replace with use random text or a UUID.
Time used for replacementWhich file time fills in date patterns like $YYYY: Creation Time, Modification Time or Access Time.
Metadata source for replacementEXIF Metadata or XMP Metadata, for photo patterns like $DATE_TAKEN_YYYY.

Two things catch people out:

  • Turning off Include folders doesn't protect what's inside them. It only stops folder names from changing. Turn off Include subfolders too if files inside the selected folders should stay as they are.
  • PowerRename can remember your last settings. Show recently used strings in PowerToys Settings fills in your previous search and replacement. Check every option again before each new job.

Eight PowerRename examples

Unless an example says otherwise, start from these settings: Include files on, Include folders and Include subfolders off, Apply to set to Filename only, no text formatting, and Enumeration features off.

Add a prefix to every file

  • Search for: ^
  • Replace with: ProjectX_
  • Use regular expressions: on

Proposal.pdf becomes ProjectX_Proposal.pdf. The ^ matches the start of the name, so the prefix goes in front and nothing is removed.

If some files already start with the prefix, clear them in the list first. Otherwise they end up with it twice.

Add a suffix or a year to the end

  • Search for: $
  • Replace with: _2026
  • Use regular expressions: on

Budget.xlsx becomes Budget_2026.xlsx. With Filename only, the end of the name is just before the extension. The year here is text you typed. PowerRename doesn't work out which year a file belongs to.

Number files from 001

  • Search for: ^.+$
  • Replace with: Receipt_${start=1;padding=3}
  • Use regular expressions: on
  • Enumeration features: on

scan_A.pdf becomes Receipt_001.pdf, scan_B.pdf becomes Receipt_002.pdf, and so on. start=1 sets the first number and padding=3 adds leading zeros up to three digits. You can also add increment= to count in steps, for example ${start=10;increment=10}.

To keep the old name and put the number in front, search for ^ and replace with ${start=1;padding=3}_ instead.

The Renamed column shows which file gets which number. Check it before you apply, because it may not follow the sort order you see in File Explorer.

Remove brackets but keep the text inside

  • Search for: [()\[\]]
  • Replace with: leave it empty
  • Use regular expressions: on
  • Match all occurrences: on

Proposal (Draft).pdf becomes Proposal Draft.pdf, and Price list [US].xlsx becomes Price list US.xlsx. Match all occurrences matters here. Without it, only the first bracket is removed.

Swap a date into year-month-day order

  • Search for: (\d{2})-(\d{2})-(\d{4})
  • Replace with: $3-$2-$1
  • Use regular expressions: on
  • Match all occurrences: on

Invoice 29-03-2026.pdf becomes Invoice 2026-03-29.pdf. The parentheses capture the day, month and year, and $3-$2-$1 writes them back in a new order. Microsoft's documentation says Match all occurrences must be on when you use $1, $2 and so on.

Year-month-day names sort by date in any file list. That's why most file naming conventions use them.

Put the file's creation date in front

  • Search for: ^
  • Replace with: $YYYY-$MM-$DD_
  • Use regular expressions: on
  • Time used for replacement: Creation Time

A file created on November 17, 2026 goes from Meeting notes.docx to 2026-11-17_Meeting notes.docx.

This is the date the file was created on your computer. A downloaded invoice or a scanned letter usually has a different date printed on it, and PowerRename can't see that one. Choose Modification Time instead if you want the date the file last changed.

Name photos by the date they were taken

  • Search for: ^
  • Replace with: $DATE_TAKEN_YYYY-$DATE_TAKEN_MM-$DATE_TAKEN_DD_
  • Use regular expressions: on
  • Metadata source for replacement: EXIF Metadata

A photo taken on August 17, 2025 goes from IMG_1234.jpg to 2025-08-17_IMG_1234.jpg, even if it was copied to your PC much later. Other patterns add the camera model ($CAMERA_MODEL), lens or GPS position.

Images without capture data, such as many screenshots, won't get a proper date. Check the Renamed column and clear those files before you apply. For HEIC photos from an iPhone, PowerRename needs HEIF Image Extensions from the Microsoft Store. PowerToys Settings has a button to install it.

Change the capitalization of names

  • Search for: ^(.+)$
  • Replace with: $1
  • Use regular expressions: on
  • Match all occurrences: on
  • Text formatting: Capitalize each word

quarterly sales report.xlsx becomes Quarterly Sales Report.xlsx. The parentheses capture the whole name and $1 writes it back unchanged, so only the capitalization changes. Choose Lowercase or Uppercase for the other common fixes.

Undo a rename and fix common problems

Undo straight away with Ctrl+Z

Go back to File Explorer and press Ctrl+Z before you do anything else there. Microsoft documents this as the way to undo a PowerRename change. It undoes the last action, so another rename or move in between gets undone instead. Don't count on it for anything older. For a big batch, test on copies first.

When something doesn't work

ProblemWhat to check
Rename with PowerRename isn't in the menuIs PowerToys installed and the PowerRename switch on? Choose Show more options. If Show PowerRename in is set to Extended context menu only, hold Shift while you right-click.
The Renamed column shows no changeCheck the spelling in Search for, Case sensitive, Use regular expressions and Apply to.
Two files would get the same nameAdd a counter or keep part of the old name, so every result is different. Watch for files already in the folder with that name.
"File name contains invalid character(s)"Windows doesn't allow > < | " : ? * \ / in names. Write times as 14-30, not 14:30.
A file won't rename because it's in useSave and close it in the app that has it open, then try again.

When the file name tells you nothing

Every example above works with what a file already has: its name, its dates or its photo data. That's often enough. It isn't when a folder is full of scan_001.pdf, document(3).pdf and IMG_4821.jpg, and the name you need is printed inside each file: the invoice date, the company, the kind of document.

PowerRename doesn't read the text of a PDF or a scan. Microsoft doesn't document that feature, as of PowerToys 0.102. For that you need a tool that opens each file and suggests a name from what it says. NameQuick is one, for Windows and Mac. The PowerRename vs NameQuick comparison sets the two side by side.

In NameQuick, you set up your own naming once as a Preset: a filename template built from fields such as date, company and document type, or a few sentences describing how names should look. A Preset for invoices could, for example, name a scan like this (an illustration, not a guaranteed result):

scan_001.pdf  →  2026-05-18_Contoso_Invoice2847.pdf

If you don't want to set anything up, Smart Rename tidies up a mixed folder with names like 2026-05-18 Contoso Invoice.pdf. Either way, you see every suggested name next to its file and nothing changes until you apply it. File extensions stay the same, and History lets you undo renames later.

This is a different job from the eight rules above. You don't need NameQuick for those. When both kinds of work come up, such as names from the content first and then a project prefix, the two tools work well one after the other. The guide to leftover PDFs after PowerRename shows that workflow.

Name the files PowerRename can't read

Try it on three copies with Review first selected. Try 30 free renames in the app. No email, no card. Add a card for 70 more and 14 days of your plan.

Joinhappy customers

To try it, download NameQuick for Windows. Managed gives you 30 free renames with no email and no card, and adding a card gives you 70 more and 14 days of your plan. Self-Managed works with your own AI key or a local model through Ollama or LM Studio, and includes 30 renames with no card after you register your email in the app. The Windows installer isn't code-signed yet, so Windows shows a "Windows protected your PC" warning the first time. Select More info, then Run anyway.

PowerRename FAQ

Is PowerRename free?

Yes. PowerRename is part of Microsoft PowerToys, which is free and open source under the MIT license. There's no paid version.

Where do I download PowerRename?

Install Microsoft PowerToys from the Microsoft Store, from the PowerToys releases page on GitHub, or with WinGet. PowerRename comes with it. There's no official download of PowerRename on its own.

How do I use PowerRename?

Select files in File Explorer, right-click and choose Rename with PowerRename. Type the text to find in Search for and its replacement in Replace with, check the Renamed column and select Apply.

How do I number files with PowerRename?

Turn on Use regular expressions and Enumeration features. Search for ^.+$ and replace with a name plus a counter, such as Photo_${start=1;padding=3}. That gives Photo_001, Photo_002 and so on.

Can I undo a PowerRename rename?

Yes, if you do it straight away. Press Ctrl+Z in File Explorer before any other file action.

Does PowerRename work on Mac?

No. PowerToys is for Windows only. On a Mac, Finder has its own batch rename. See how to batch rename files on Mac.

What's the keyboard shortcut to rename a file in Windows?

Select the file in File Explorer and press F2. This renames one file and doesn't open PowerRename. More on renaming single files in how to rename a file.

Can PowerRename rename files based on their content?

Not from the text inside a PDF or a scan, as of PowerToys 0.102. It can use file dates and photo metadata (EXIF and XMP). To name files from what they say, use a content-based renamer such as NameQuick, described above.

For other ways to rename a batch on Windows, including File Explorer and PowerShell, see how to rename multiple files at once.

The NameQuick team writes practical guides for file organization, document workflows, and automation with NameQuick.

Start with three copies

Name scans and PDFs from what they say

Test a scan, a PDF and a photo with Review first selected. Check each suggested name against the file before you apply it.

Mac or Windows?