Bulk & Automation

How to Rename Multiple Files on Windows Without Scripting

Windows can rename a whole folder of files without a single line of code. For a quick base-name-and-number job, File Explorer's built-in multi-select rename does it in seconds. For pattern and find-and-replace work with a live preview, Microsoft's free PowerToys adds a tool called PowerRename. This guide covers both in full, including the Windows 10 versus 11 differences and the common reasons a rename gets blocked, so you can pick the graphical method that fits and skip the terminal entirely.

Two Built-in Ways to Rename on Windows

One ships with Windows; the other is a free Microsoft add-on. Pick by how complex the rename is.

File Explorer (F2)PowerToys PowerRename
Cost / installBuilt in, nothing to addFree PowerToys download
Best forBase name + sequential numbersFind-and-replace, regex, patterns
Live previewNoYes, before/after list
RegexNoYes, optional toggle
UndoCtrl+Z right afterCtrl+Z right after

Method 1: File Explorer Multi-Select Rename (F2)

The fastest built-in method needs nothing installed. It applies one base name plus an automatic number to every selected file, ideal when you just want Vacation (1), Vacation (2), and so on.

There is a second, less-known way to use F2 that trades speed for control. Instead of selecting the whole batch first, click a single file, press F2, type its name, and then press Tab. Windows commits that name and jumps straight to the next file in the folder with its name already editable, so you can rename an entire folder one file at a time without ever touching the mouse. Press Shift+Tab to step back to the previous file if you make a mistake. This is the method to reach for when each file needs a genuinely different name rather than a shared base name with numbers.

  1. Open the folder in File Explorer and select the files: Ctrl+A for all, or Ctrl+click to pick specific ones.
  2. Press F2 (or right-click and choose Rename). The first file's name becomes editable.
  3. Type the base name you want and press Enter.
  4. Windows names the first file with your text and appends (1), (2), (3) to the rest automatically.
  5. If it's not what you wanted, press Ctrl+Z immediately to undo the whole batch.

That's the whole method. Its limit is that it only does base-name-plus-number, you can't insert text mid-name, replace part of a name, or apply a pattern. On Windows 11 the Rename option also appears as an icon at the top of the right-click menu; on Windows 10 it's a text entry in the same menu. The behavior is otherwise identical.

One subtle difference is worth knowing if the exact numbering matters to you. Older builds of Windows 10 could leave a gap in the sequence when files were selected out of order or when some names already existed, so a batch might jump from (2) to (4). Windows 11 tightened this so the automatic counter runs as a clean, gap-free sequence in the order File Explorer displays the files, which is whatever sort you have applied at the time. Because of that, it pays to sort the folder by name, date, or type before you press F2, since the sort order is exactly the order the numbers will follow.

Method 2: PowerToys PowerRename (Patterns and Preview)

When you need real find-and-replace, PowerRename is the answer, and it's free. Install Microsoft PowerToys (from the Microsoft Store or GitHub), then enable PowerRename in the PowerToys settings. After that it lives in the right-click menu. PowerToys is a single install that bundles many utilities, so if you already have it for other tools you likely have PowerRename already, and a quick check of the PowerToys settings will confirm the toggle is on. On a fresh machine, installing from the Microsoft Store keeps it updated automatically, which is the easiest route for most people.

  1. Select the files in File Explorer, right-click, and choose PowerRename (on Windows 11 it may be under "Show more options").
  2. In the Search field, type the text to find; in Replace with, type its replacement.
  3. Turn on "Use regular expressions" if you need pattern matching, for example ^IMG_ to strip a prefix.
  4. Watch the live preview: every file shows its current name beside the proposed new name before anything changes.
  5. Use the file-list checkboxes to include or exclude individual files, then click Apply.

PowerRename can also number files as it renames them, which fills the gap where File Explorer's F2 only appends a counter. Add the special token that enumerates items to your replacement text and PowerRename substitutes a running number for each file, and its variants let you pad with leading zeros or set a start value, so you can turn a mixed folder into Report_001, Report_002, and so on in one pass. Combined with regex capture groups, this means you can strip an old prefix, keep part of the original name, and append a clean sequence all at once, which is the kind of multi-step rename that otherwise pushes people toward scripting.

PowerRename's live preview is the feature File Explorer lacks: you see exactly what the batch will produce and can fix the pattern before committing. With regex enabled it also reorders and captures text, so it covers most jobs people otherwise drop to PowerShell for. One honest limit worth naming here: PowerRename's regex still works on the filename, so if you need the new name to reflect what's actually written inside the file, an invoice number, a client name on a scan, that's a different job called content-aware renaming, covered in the bulk rename software overview.

Renaming Scanned Files by What They Contain

Both Windows methods, and every scripted one, share a boundary: they transform the existing filename but can't read the document. A folder of scanned PDFs named Scan0043.pdf can be renumbered or prefixed, but neither File Explorer nor PowerRename can turn Scan0043 into the vendor and date printed inside it, because that text isn't in the name to match.

Naming a file from its contents is content-aware renaming, which uses OCR to read the page and then builds the name from what it found. It's a genuinely different tool from a pattern renamer, and it's the right one only when the filename is meaningless and the document is the sole source of the correct name. For everyday Windows renaming, prefixes, numbering, extensions, find-and-replace, File Explorer and PowerRename are all you need; when the name has to come from inside the file, see the bulk rename software overview.

The rule of thumb: if you can describe the new names as a pattern, use the graphical tools here; if you'd have to open each file to know what to call it, that's the content-aware case.

Prefer the Command Line?

If you'd rather script the rename, or need pattern power beyond PowerRename, Windows has two command-line routes. PowerShell rename multiple files covers Rename-Item, pipelines, and full regex with a -WhatIf preview, and cmd rename multiple files covers the classic ren command and .bat loops. All the Windows methods sit under the bulk rename software hub, which also links to the content-aware approach for naming files by their contents.

Frequently Asked Questions

How do I rename multiple files at once on Windows?

Select the files in File Explorer, press F2, type a base name, and press Enter, Windows numbers the rest as (1), (2), (3). For find-and-replace or pattern renames, install PowerToys and use PowerRename from the right-click menu.

What is PowerRename and how do I get it?

PowerRename is a free renaming tool in Microsoft PowerToys. Install PowerToys from the Microsoft Store or GitHub, enable PowerRename in its settings, then right-click selected files and choose PowerRename to do search-and-replace with optional regex and a live preview.

Can I preview a rename before applying it on Windows?

File Explorer's F2 method has no preview, but PowerToys PowerRename shows every file's current and proposed name side by side before you apply, and lets you exclude individual files with checkboxes.

Is renaming on Windows 10 different from Windows 11?

The methods are the same. The main difference is the menu: on Windows 11 the Rename option shows as an icon and PowerRename may sit under "Show more options," while on Windows 10 both appear directly in the right-click menu.

How do I give each file a different name quickly in File Explorer?

Click one file, press F2, type its name, then press Tab instead of Enter. Windows saves that name and moves to the next file in the folder with its name ready to edit, so you can work through a whole folder from the keyboard. Press Shift+Tab to step back to the previous file. This is better than the multi-select method when the files need genuinely different names rather than a shared base name with numbers.

Can PowerRename add sequential numbers to files?

Yes. PowerRename includes an enumerate-items token you can place in the replacement text, and it substitutes a running number for each file. Its variants let you pad with leading zeros or choose a starting value, so you can produce names like Report_001 and Report_002 in one pass, and combine that with regex to strip or keep parts of the original names at the same time.

Can Windows rename files based on what's inside them?

No. File Explorer and PowerRename work on filenames, not document contents, so they can't name a scan by the invoice number printed inside it. That requires content-aware OCR renaming, a separate kind of tool.