File format

How to Rename PDF Files in Bulk Using Excel

You've got a folder of PDFs and a plan: list the old filenames and the new ones you want in a spreadsheet, then run a command that does the actual renaming. It's a real method, and it's the one most forum threads on this exact question point to. Here's how it actually works, where it tends to fall apart, and what to do instead if you'd rather skip building the spreadsheet in the first place.

The Excel Method: Columns, Formulas, and a Rename Command

The classic version looks like this. Open Excel and list every current filename in one column, exactly as it appears in the folder. In the next column, type or build the new name you want for each file. A formula such as =CONCAT("ren \"", A2, "\" \"", B2, "\"") turns those two columns into a ready-to-run command line for every row. Copy the whole result into a plain text file, save it with a .bat extension, and double-click it inside the same folder as your PDFs. Windows runs each line as a rename command, one after another, and the job is finished in seconds.

This is the workaround threads on Reddit, Microsoft's own Q&A forum, and a handful of Alteryx and Apple Discussions posts all land on when someone asks how to rename a pile of files using a spreadsheet list. It works. It's also entirely manual to set up, and it stays that way every time the folder changes.

Where This Method Breaks Down

The spreadsheet only knows what you type into it. Mistype a filename in column A, and that row's command fails silently, you won't notice until you check the folder afterward and find one file untouched. Formula errors are just as common. Miss a quotation mark inside the CONCAT string and the whole batch file can stop partway through, leaving some files renamed and others not, with no easy way to tell which is which without comparing folders by eye.

There's also no live preview built into any of this. You're writing new names for files you may not have actually opened, so the "new" name is only as accurate as whatever you already knew about that document going in. And every time a fresh PDF lands in the folder, you're back in Excel, typing another row by hand.

What Renamer.ai Reads From Each PDF Instead

Renamer.ai skips the spreadsheet step entirely. It reads what's on each page and builds the new filename from that, not from a list you maintained yourself.

FieldWhere renamer.ai finds itExample
Client NameNamed party on the statementColby & Vance CPAs
Statement PeriodBilling period or "as of" line2026-Q1
Document TypeHeading and layout patternsClient Statement
Account Number (last 4 digits)Account summary line7734

There's no column to fill in and no formula to get right. You set the order those four fields appear in once, and every statement dropped in afterward lines up the same way, whether it came from one client or forty different ones.

Renaming PDFs Without a Spreadsheet, in 3 Steps

  1. 1

    Drop In Your PDFs

    Add the whole folder of statements at once. No list of old and new names required first.

  2. 2

    AI Reads Each One

    Renamer.ai works through every file, pulling the client name, the period, and the account details straight off the page.

  3. 3

    Download, Renamed, No List to Build

    Every file comes back named consistently, with nothing typed by hand and no batch file to run.

Before and After: No Spreadsheet Required

Take a single client statement pulled from a folder of thirty, sitting there named:

Original filenameRenamed from content
Statement1.pdf2026-Q1_Colby-Vance-CPAs_Client-Statement.pdf

No spreadsheet row identified this file. Renamer.ai pulled the client's name and the billing period straight from the page.

Every other statement from that batch got the same treatment, read on its own, with nothing typed into a spreadsheet column first.

FAQ: Renaming PDFs With Excel

Can Renamer.ai import my Excel list of old and new filenames?

No. Renamer.ai doesn't read a spreadsheet mapping at all. It opens each PDF directly and works out the new filename from the page itself, which is why there's no list to build or maintain in the first place.

Do I still need Excel if I use Renamer.ai?

No. The naming template you set up inside renamer.ai replaces the spreadsheet entirely. You choose the field order once, and the AI fills it in from each PDF's own content from then on.

What if the CONCAT formula method already worked for me before?

It can still hold up fine for a one-off job where you already know every filename by heart. It just doesn't scale well once new statements show up weekly, since each new PDF means another row typed in by hand.

Rename Other File Formats

  • Rename Excel files: need the workbook itself renamed, not a PDF? This handles spreadsheets directly, no formula involved.
  • Rename Word documents: point it at contracts and memos instead of statements, same content-first reading underneath.
  • Photo renamer: the same idea applied to a phone's photo roll, no spreadsheet required.
  • Auto-rename scanned files: built for whatever lands fresh off a scanner, no column of filenames to maintain.
  • Batch file renamer: renaming more than PDFs? This all-format tool covers any folder in a single pass.

Skip the Spreadsheet, Not the Renaming

Try renamer.ai instead of building another CONCAT formula. Drop your folder of statements in, let the AI read each one directly, and download them already renamed, no list to build and nothing to retype the next time a new statement lands.