Bulk renaming files in Windows: three practical methods

On Windows you can rename many files at once by selecting them in File Explorer and pressing F2, which gives them a shared name with a number. For more control — dates, client names or custom patterns — use PowerShell or a bulk-renaming app that previews new names first.

Method 1: File Explorer (quickest)

  1. Select the files you want to rename.
  2. Press F2 (or right-click and choose Rename).
  3. Type a new name and press Enter.
  4. Windows names them “Name (1)”, “Name (2)” and so on.

This works for a batch of holiday photos that can share one label: Trip.jpg becomes names such as Trip (1).jpg and Trip (2).jpg. You can type a date into the shared label, but File Explorer's batch rename cannot build a different name from each file's existing name or date. Check the order and resulting names before relying on the numbers.

Method 2: PowerShell (most flexible)

PowerShell's Rename-Item command can add prefixes, replace text or add dates. It's powerful but there's no built-in undo, so test it on copies first.

For example, this previews replacing draft with review in PDF filenames in one folder. Change the folder path to your test copy. The -WhatIf flag reports the proposed changes without renaming anything.

Get-ChildItem -LiteralPath 'C:\Files\TestCopy' -File -Filter '*draft*.pdf' |
  Rename-Item -NewName { $_.Name -replace 'draft', 'review' } -WhatIf
Preview only. Check for duplicate destination names before removing -WhatIf to apply the rename.

Method 3: A bulk rename app

Renaming apps let you build a pattern and see every new name before applying it. Look for a preview and an undo option.

Which method fits your batch?

  • One shared label plus numbers: File Explorer is enough.
  • A predictable text replacement across filenames: PowerShell can do it, with -WhatIf for a dry run.
  • Different proposed names for individual files: use a tool that shows each old and new name for review.

Choose a naming convention that lasts

  • Start with a known document date as YYYY-MM-DD if date order matters; a modified date is not necessarily the document date.
  • Add the client, project or property next, using information you can verify.
  • Finish with a short description or number.
  • Keep the original extension and avoid Windows filename characters such as /, backslash, :, *, ?, quotation marks, <, > and |.

Example: 2026-10-14_Harper-Joinery_Invoice-0412.pdf

Check the batch before applying it

  1. Test on copies of a small, representative batch.
  2. Review every proposed name, including files with similar existing names.
  3. Check that no two files would receive the same name and that extensions stay unchanged.
  4. Don't add a client, date or document type that you cannot verify.
  5. Apply the rename only when the results match your pattern; keep the original copy until you have checked the renamed files.

Frequently asked questions

Related guides