Receipts · Windows

How to rename scanned receipts automatically

Updated 29 October 2026 · Lasting Apps, Dublin, Ireland

Scanners and phone apps name files like Scan_0034.pdf. After a few months that folder is useless. Here are two free ways to rename a whole batch at once on Windows, how to try them without risk, and the one thing neither of them can do.

Before you start: work on a copy

Copy the folder and practise on the copy. Both methods below can show you the new names before anything changes. Use that preview every time.

Decide on the target name first. If you don’t have a convention yet, see a file naming convention for receipts and invoices.

Option 1: PowerRename (no typing commands)

PowerRename is part of Microsoft PowerToys, a free download. Once it is enabled in PowerToys, you select files in File Explorer, right-click, and choose Rename with PowerRename.1

To put a date in front of every scan:

  1. Select the scans, right-click, and choose Rename with PowerRename.
  2. In Search for, type Scan.
  3. In Replace with, type $YYYY-$MM-$DD Scan.
  4. Check the preview, which lists each original and renamed name side by side, then apply.1

Scan_0034.pdf becomes something like 2026-10-29 Scan_0034.pdf. PowerRename also supports regular expressions, counters and photo metadata, and a rename can be undone afterwards, including with Ctrl+Z in File Explorer.1

Watch the date. $YYYY, $MM and $DD come from the file’s creation date.1 That is when the file was made: the day you scanned it, not the date printed on the receipt. If you scan a month’s receipts on the 31st, they all get the 31st.

Option 2: one line of PowerShell

If you are comfortable with a command line, PowerShell’s Rename-Item can rename every file in a folder. Open PowerShell in the folder of copies and run this first:

Get-ChildItem *.pdf | Rename-Item -NewName { $_.LastWriteTime.ToString('yyyy-MM-dd') + ' ' + $_.Name } -WhatIf

-WhatIf shows what would happen without renaming anything.2 If the list looks right, run the same line again without -WhatIf. The part in braces runs once per file, and $_ is the file being renamed.2

Two things to know. Rename-Item can’t replace a file that already has the new name, so a clash is left for you to sort out rather than overwritten.2 And this uses the date the file was last changed, which again is not the date on the receipt.

What neither option can do

PowerRename builds new names from the current name, the file’s creation date, counters and photo metadata.1 The PowerShell line uses the name and a date Windows keeps for the file. Neither reads the text on the page, so neither can tell you the supplier, the amount, or the date printed on the receipt. For a name like 2026-09-30 Acme Telecom Phone bill €54.20.pdf, something has to read the page.

Your options for that part:

Tips that save a re-do

PowerToys and PowerShell are Microsoft products. We are not affiliated with Microsoft. Always try bulk renames on a copy first.

Sources

  1. Microsoft Learn: PowerRename utility for Windows
  2. Microsoft Learn: Rename-Item (PowerShell)
  3. Microsoft Learn: Naming files, paths, and namespaces

Comments

Ask a question or add something

A person reads every comment before it appears. Please don’t include links, or personal details like email addresses, phone numbers, PPS or account numbers, about you or anyone else. Keep it civil. You must be 16 or over.

Filewell is in development

Filewell names and files your invoices and receipts. Right on your PC.

Free100 documents a month
€0
ProEvery Pro feature, no limit
€39one-time · then €49
Family passPro in every Lasting Apps app
€79one-time
AI PackOptional AI help, prepaid
€9

Join the waitlist

Beta invite and the €39 founding price.

What should it do first? Pick up to 3. The most wanted gets built first.