How to Rename Invoices and Receipts Automatically (Free OCR File Naming)

If you run a small business, freelance, or do the books for anyone, you know the folder: scan_001.pdf, Document (7).pdf, WhatsApp Image 2026-03-14.jpg, invoice.pdf, invoice (2).pdf. At tax time or audit time, every one of them has to be opened just to find out what it is.

Smart Bulk Renamer fixes this with Smart OCR. It reads the text inside your PDFs and receipt photos and suggests a proper name for each one, like 2026-03-14_Acme_Supplies_Invoice_INV-2041.pdf. It's free and runs entirely in your browser, so your financial documents never leave your computer.

A good invoice file naming convention

Before automating anything, pick a convention. The one accountants recommend most often is date first, then who, then what:

YYYY-MM-DD_Vendor_DocumentType_Number.pdf

  • Date first (year-month-day) means files sort chronologically in any folder, on any operating system.
  • Vendor lets you search for everything from one supplier in seconds.
  • Document type separates invoices from receipts, quotes, and contracts.
  • Invoice number makes every name unique and easy to match against your accounting software.

That's exactly the default template Smart OCR uses: {date}_{vendor}_{type}_{invoice}.

Step by step: auto-rename invoices with OCR

  1. Open the Smart Bulk Renamer tool.
  2. Pick your invoices folder (Chrome or Edge), or drag in the PDFs and receipt photos.
  3. Select the Smart OCR rule. Keep the default template or write your own (tokens are below).
  4. Optionally set a prefix such as your company name. It's used as the vendor when none can be found.
  5. Wait for the scan to finish. Each row shows what was detected (vendor, type, invoice number, amount) next to the suggested name.
  6. Check the suggestions (tweak the template and rescan if needed), then click Apply. Uploaded files can be downloaded as a ZIP from More options.

What Smart OCR looks for

Date: {date}

Dates written as 2026-03-14, 14-03-2026 (also with / or .), or 20260314 are detected in the filename or the document text and always written as YYYY-MM-DD. If none is found, the file's last-modified date is used.

Vendor: {vendor}

The vendor is usually the business name printed at the top of the document. Smart OCR checks the first lines and skips the ones that are clearly not a name (dates, totals, emails, phone numbers, street addresses). If that fails, it falls back to a word from the filename, then to your prefix.

Document type: {type}

Recognized types: Invoice, Receipt, Statement, Contract (including "agreement"), Quote (including "quotation"), Payslip (including "pay stub"), and PurchaseOrder. Anything else becomes Doc.

Invoice number: {invoice}

Picks up labels like "Invoice No: INV-2041", "Bill # 7781", or "Ref: PO-118". If there's no number, a running counter (001, 002…) keeps every name unique.

Amount and counter: {amount}, {nnn}

{amount} adds the total when it's printed with $, €, or £ (for example 249-99, using a dash because dots don't belong in filenames). {nnn} adds a three-digit counter. Empty tokens are dropped along with their underscore, so you never get names like 2026-03-14__Invoice.

Template ideas

  • {date}_{vendor}_{type}_{invoice}: the all-rounder (default)
  • {vendor}_{date}_{invoice}: group a folder by supplier first
  • {date}_{type}_{vendor}_{amount}: expense receipts, with the total visible at a glance
  • Receipt_{date}_{nnn}: a simple, dated sequence for a shoebox of receipt photos

Tips for better OCR results

  • Scan straight and well lit. Phone photos of receipts work, but flat, sharp images read far better.
  • Put the important page first. Only the first page of a PDF is read, and that's usually where the vendor and invoice number are.
  • English documents work best. Text recognition is tuned for English.
  • Always skim the preview. OCR is a strong first draft, not an auditor. Conflicts are flagged automatically, and Undo is one click away.
  • Keep a record. Export the rename plan as CSV from More options so you can always trace a new name back to the original scan.

Why in-browser OCR matters for financial documents

Most "auto-rename PDF" services ask you to upload invoices to their servers, which means your bank details, client names, and tax IDs sit on someone else's machine. Smart Bulk Renamer does the text recognition locally. Close the tab and nothing is left behind anywhere. That makes it a safe choice for accountants, bookkeepers, freelancers, and anyone preparing documents for GST, VAT, or income-tax filing.

Frequently asked questions

Can I rename PDF invoices based on their content?

Yes. The Smart OCR rule reads the first page of each PDF and every image you add, then builds a name from the date, vendor, document type, and invoice number it finds, for example 2026-03-14_Acme_Supplies_Invoice_INV-2041.pdf.

Are my invoices sent to an OCR server?

No. Text recognition runs inside your browser on your own device. Your invoices, receipts, and bank statements are never uploaded.

What happens if OCR cannot find the vendor or invoice number?

Missing parts fall back safely. The vendor falls back to a word from the filename or your prefix, the invoice number falls back to a running number, and the date falls back to the file's last-modified date. You review every name in the preview before applying.

Which file types does the OCR rename support?

PDFs (first page) and common image formats such as JPG and PNG. Recognition is tuned for English-language documents. Other file types still get a date-based name without reading their content.

Also read: how to bulk rename photos online for free.

Auto-rename your invoices now — free →