How to Rename PDF Files Using the Text Inside Them

Downloaded invoices, forms and statements often arrive with useless names such as download (17).pdf. Finding one later means opening files one by one. A better habit is to name each file after something printed inside it: an invoice number, a candidate name, a case number or a date.

Step 1: decide what the name should contain

Pick one identifier that is unique and always present, for example an invoice number. Names built from a person's full name can repeat, so add a number or date if needed.

Step 2: open the PDFs in the tool

Drop all your PDFs into the PDF Bulk Renamer. Each file is read in your browser and its text is listed line by line, so nothing is uploaded.

Step 3: choose how to pick the text

Select it yourself. Highlight the value in the viewer and use it for that file. Use a label. If every file contains “Invoice No: 12345”, choose “text after a keyword” and type Invoice No. Use a line number when the value is always on the same line. Use a regular expression for patterns, for example INV-\d+.

Step 4: apply to all files and check

Select a value in one file and press “Apply same position to all files”. Look through the preview table and edit any name that came out wrong. Duplicate names automatically get a number such as _2.

Step 5: download

Download the renamed copies as one ZIP file. Your original files stay untouched, which is a useful safety net.

Tips

Files from the same source (the same bank or portal) usually share a layout, so one rule works for all of them. Mixed layouts need a regular expression or manual edits. Characters that are not allowed in file names, such as slashes and colons, are replaced automatically.

← All guides