How To Batch File Rename On Windows 10 | Quick Steps

Batch file rename on Windows 10 is fastest in the File Manager: select files, press F2, type a base name, then hit Enter.

Renaming one file is easy. Renaming 40 photos, a season of episodes, or a folder of invoices can turn into a click-fest. Windows 10 already has solid batch renaming built in, and a couple of extra tools can take you from “good enough” to tighter control when names need patterns, numbering, or cleanup.

This guide walks you through three practical paths:

  • File Manager rename — Great for quick “same base name + number” jobs.
  • PowerToys PowerRename — Great for find/replace, case changes, and pattern-based tweaks.
  • Command line options — Great for repeatable jobs and custom rules.

Before You Start Rename Safety Checks

Batch renaming changes more than labels. Apps, shortcuts, and scripts may point at a file by name. A fast check now can save you a headache later.

  • Work on copies first — Duplicate the folder, rename the copy, then swap it in once you like the result.
  • Sort and scan — In the file list, sort by Name and look for duplicates or odd suffixes like “(1)”.
  • Keep extensions visible — Turn on extensions so you don’t turn “report.pdf” into “report” by mistake.
  • Know the undo limit — You can press Ctrl+Z right after renaming, yet once you close the window or do more actions, undo may not reach back.

Show File Extensions In Windows 10

  1. Open File Manager — Press Windows+E.
  2. Open The View tab — Use the ribbon at the top.
  3. Tick File name extensions — The checkbox reveals .jpg, .pdf, .mp4, and more.

How To Batch File Rename On Windows 10 In File Manager

This built-in method is the fastest for the classic use case: many files become one base name plus an automatic number in parentheses. It keeps each file’s extension the same.

Batch Rename With F2

  1. Select The Files — Click the first file, then Shift-click the last to grab a range. Use Ctrl-click for a custom mix.
  2. Press F2 — Windows shows the name box of one selected file.
  3. Type A Base Name — Write the shared name you want, like “Trip Photos”.
  4. Hit Enter — Windows renames the set as “Trip Photos (1)”, “Trip Photos (2)”, and so on.

Get Cleaner Numbers

File Manager uses parentheses. If you need “001, 002, 003”, switch to PowerShell or PowerRename later in this article. If parentheses are fine, this method wins on speed.

Rename By Natural Order

Windows assigns numbers by the sort order you see. Set the order before you rename.

  1. Sort The View — Click the Name, Date, or Type column header.
  2. Preview The Sequence — Scroll and verify the first and last few filenames.
  3. Run The Rename — Use the F2 steps once the order looks right.

Use PowerToys For Smarter Batch Renaming

Microsoft PowerToys adds a feature called PowerRename. It’s great when you want to replace text, strip junk, change case, or use simple pattern matching. It runs right from the file list right-click menu, so it feels like a native tool.

Grab it from Microsoft PowerToys documentation and install it, then turn on PowerRename inside the PowerToys settings.

PowerRename Basics

  1. Select Files Or A Folder — You can rename a whole folder’s contents in one pass.
  2. Right-Click And Choose PowerRename — The rename window appears with a live preview.
  3. Fill Search And Replace — Type the text you want to change.
  4. Review The Preview List — Scan the “Original” and “Renamed” columns before you commit.
  5. Click Apply — PowerRename runs the changes on disk.

Best PowerRename Toggles To Know

  • Use Regular Expressions — Turn this on for pattern matching. Leave it off for simple text swaps.
  • Match All Matches — Replaces each match in the name, not just the first.
  • Case Sensitive — Handy when “Draft” and “draft” must stay distinct.
  • Exclude Files Or Folders — Limits the pass to what you mean to change.
  • Enumerate Items — Adds numbering with formats you can tune.

Common Renames That Take Seconds

  • Strip Camera Junk — Replace “IMG_” with nothing, then enumerate to a clean sequence.
  • Fix Spaces And Dots — Replace “_” with a space, or replace “.” with “-” in the middle of names.
  • Normalize Case — Change to lower, upper, or title case for tidy archives.
  • Remove Brackets — Replace “(” and “)” with nothing if you want a plain look.

Pick The Right Batch Rename Method

If you are deciding between tools, this quick table helps you choose based on the job in front of you.

Method Best For Watch Out For
File Manager (F2) Same base name + automatic numbering Number style is fixed to parentheses
PowerToys PowerRename Find/replace, case changes, simple patterns Install step needed, preview still needs a scan
PowerShell Repeatable rules, custom numbering, complex filters One typo can rename more than you meant

Batch Rename With Command Prompt And PowerShell

When you rename files a lot, the command line pays off. You can save commands, rerun them, and get consistent results. The two common options on Windows 10 are Command Prompt and PowerShell.

Command Prompt Ren For Simple Swaps

The ren command is quick when your changes are simple and predictable. Wildcards help you target a set of files by extension or name pattern.

  1. Open Command Prompt In The Folder — In the file list window, click the location bar, type cmd, then press Enter.
  2. Check Your Targets — Run dir to list the files you are about to rename.
  3. Run A Rename With Wildcards — Try ren *.jpeg *.jpg to switch extensions, or ren "Draft *.*" "Final *.*" to swap a prefix.

PowerShell Rename-Item For Control

PowerShell can rename based on date taken, file size, partial text matches, and custom numbering. It takes a bit more care, yet it enables naming rules that File Manager can’t do.

Dry-Run First With WhatIf

PowerShell has a safe “preview” switch for many commands. Add -WhatIf to see what would happen without changing anything.

  1. Open PowerShell In The Folder — Shift-right-click in the folder background, then pick Windows PowerShell.
  2. List Candidate Files — Run Get-ChildItem to confirm you are in the right place.
  3. Test A Rename — Add -WhatIf to your rename command, scan the output, then rerun without it.

Example: Add Zero-Padded Numbers

This pattern makes names like “Scan_001.pdf”, “Scan_002.pdf”. It uses the current sort order, so sort first if the order matters.

 $i = 1
Get-ChildItem -File -Filter *.pdf | Sort-Object Name | ForEach-Object {
  Rename-Item $_ -NewName ("Scan_{0:D3}.pdf" -f $i)
  $i++
}

Example: Replace Text In Many Names

This change replaces a chunk of text inside filenames. It keeps the rest of the name and the extension.

Get-ChildItem -File | ForEach-Object {
  Rename-Item $_ -NewName ($_.Name -replace 'Draft', 'Final')
}

Example: Rename Photos By Date Taken

For photos, you may want names that match when they were shot. Windows can store that in metadata. This script reads the Date Taken field when it exists, then falls back to the file’s last write time.

$files = Get-ChildItem -File -Filter *.jpg
$i = 1
foreach ($f in $files) {
  $shell = New-Object -ComObject Shell.Application
  $folder = $shell.Namespace($f.DirectoryName)
  $item = $folder.ParseName($f.Name)
  $dateTaken = $folder.GetDetailsOf($item, 12)
  if ([string]::IsNullOrWhiteSpace($dateTaken)) {
    $stamp = $f.LastWriteTime
  } else {
    $stamp = [datetime]$dateTaken
  }
  $newName = "{0:yyyy-MM-dd_HH-mm-ss}_{1:D3}{2}" -f $stamp, $i, $f.Extension
  Rename-Item $f -NewName $newName
  $i++
}

PowerShell scripts can shift across Windows updates and locale settings. For a stable set of PowerShell concepts, see Microsoft PowerShell documentation.

Fix Common Batch Rename Problems

Batch renaming is simple until it isn’t. These are the issues that trip people up, plus quick ways to get back on track.

Duplicate Names And Collisions

Windows won’t let two files in the same folder share the same full name. If your rule creates duplicates, the rename can fail partway through.

  • Include A Counter — Add numbering or a date stamp so each output name is distinct.
  • Split Into Batches — Rename half, then the other half, when a set needs two different patterns.
  • Use A Preview Tool — PowerRename shows collisions before you apply changes.

Broken Links In Apps

Some apps store a direct file path. If you rename a file that an app relies on, it may “lose” it.

  • Close Apps First — Shut down editors, media players, and sync tools before the rename.
  • Rename At The Folder Level — When possible, keep filenames stable and rename only the folder.
  • Rebuild Libraries — In media apps, rescan folders so the app reindexes the new names.

Accidental Extension Changes

Changing extensions can make files stop opening. It can be fine when you are correcting a wrong extension, yet don’t change extensions to “convert” a file type.

  • Show Extensions — Turn on file extensions so you can see what you are changing.
  • Change One First — Test with a single file, then run the batch step.
  • Keep A Backup — Copy the folder before mass extension edits.

Build Naming Rules That Stay Useful

A good filename helps you find the right thing a month later. A great filename helps you find it three years later. Aim for names that sort well, scan fast, and survive being moved between devices.

  • Start With A Date When Time Matters — “2025-12-30_Invoice_042.pdf” sorts in date order in any view.
  • Use Zero Padding For Counters — “001” keeps lists aligned past file 9 and file 99.
  • Pick One Separator — Hyphens or underscores keep names readable without extra spaces.
  • Avoid Special Characters — Stick to letters, numbers, hyphens, underscores, and spaces for wide compatibility.
  • Keep It Short — Long paths can hit Windows path limits in older apps.

Suggested Patterns You Can Reuse

  • Date FirstYYYY-MM-DD_Project_Subject_###.ext
  • Client WorkClientName_Service_YYYY-MM-DD_###.ext
  • PhotosYYYY-MM-DD_Location_Event_###.jpg

A Practical Workflow For Large Renames

When a folder has hundreds of files, a tidy process keeps mistakes rare and fixes fast. This workflow fits most renames, from downloads folders to media archives.

  1. Clone The Folder — Make a copy so you have a clean fallback.
  2. Decide On One Naming Pattern — Write the pattern on a sticky note or in a text file.
  3. Sort The Files — Sort by date or name so numbering matches what you expect.
  4. Run A Preview Rename — Use PowerRename’s preview or PowerShell’s -WhatIf to sanity-check the result.
  5. Apply The Rename — Commit once the preview list looks right.
  6. Spot-Check Ten Files — Open a few from the top, middle, and end to confirm nothing broke.
  7. Archive The Pattern — Save the PowerShell snippet or rename notes for next time.

If you stick to File Manager only, this process still works. Swap the preview step for a smaller test batch, then run the full rename once the test looks right.