How to Rename PDF Files on Windows, Mac, Phones and in Bulk
Updated
Downloaded statements, scanned letters and invoices often arrive with names like document(3).pdf or scan_0001.pdf. Renaming a PDF works like renaming any other file, but there is one PDF peculiarity: the title stored inside the document, which some programs show instead of the file name. This guide covers both.
Rename a PDF on Windows
- Open File Explorer and find the PDF.
- Click it once and press F2, or right-click it and choose Rename (in Windows 11 the rename icon at the top of the context menu).
- Type the new name and press Enter. Keep
.pdfat the end; if extensions are hidden, Windows keeps it for you.
If Windows reports that the file is open in another program, close the PDF in your reader or browser tab first. A file that is open in Adobe Acrobat or Edge cannot be renamed.
Rename a PDF on a Mac
- Select the PDF in the Finder and press Return.
- Type the new name and press Return again.
While the PDF is open in Preview, you can also rename it there: move the pointer over the document name in the title bar, click the small arrow next to it and change the Name field. Preview renames the file on disk.
Rename a PDF on iPhone, iPad and Android
- iPhone and iPad: open the Files app, touch and hold the PDF, choose Rename, type the name and tap Done.
- Android: in Files by Google (or your phone's own file manager) open the folder, tap the three dots next to the PDF or select it with a long press, choose Rename and confirm with OK.
Rename many PDFs at once
For a stack of scans or monthly invoices, renaming one by one is slow. Every system has a bulk method:
- Windows: select all PDFs, press F2, type a name such as
invoice 2026and press Enter. Explorer numbers theminvoice 2026 (1).pdf,invoice 2026 (2).pdf. For leading zeros or search and replace, see bulk rename files in Windows. - Mac: select the PDFs, Control-click, choose Rename and use Format or Replace Text. Details in batch rename files on Mac.
- Linux: a loop with
mvor therenamecommand, explained in rename files in Linux.
In the browser with bulkrename.com
- Open the bulk file renamer and add your PDFs with Select Files or Select Folder.
- Type a pattern, for example
2026-11_invoice_[num], and click Apply Pattern. The PDFs become2026-11_invoice_001.pdf,2026-11_invoice_002.pdfand so on. - Correct individual names in the list if needed, for example to add the sender.
- Click Download Renamed Files. You get a ZIP file with renamed copies; the original PDFs stay unchanged.
The PDFs are read by your browser and are not uploaded, which matters for bank statements, contracts and other confidential documents.
File name versus PDF title
A PDF can store a title in its document properties. Some programs show that title instead of the file name, for example in the browser tab or in the title bar of a PDF reader. That is why a PDF named contract-acme.pdf can still appear as "Microsoft Word - Document1" when opened. Renaming the file does not change the title.
- Adobe Acrobat: choose File › Properties, edit Title on the Description tab and save. Under Initial View you can set Show to Document Title or File Name for the window title.
- ExifTool (free, command line):
exiftool -Title="Contract Acme 2026" contract-acme.pdfsets the title; ExifTool keeps the original ascontract-acme.pdf_original.
Rename PDFs from their stored titles
The reverse is also possible: use the title stored inside each PDF as its file name. This Python script uses the pypdf library (pip install pypdf), prints the planned names first and skips files without a title:
import re
from pathlib import Path
from pypdf import PdfReader
DRY_RUN = True
for path in sorted(Path("pdfs").glob("*.pdf")):
meta = PdfReader(path).metadata
title = meta.title if meta and meta.title else None
if not title:
print(f"no title: {path.name}")
continue
safe = re.sub(r'[\\/:*?"<>|]+', "-", title).strip(" .")
target = path.with_name(f"{safe}.pdf")
if target.exists():
print(f"skip {path.name}: {target.name} exists")
continue
print(f"{path.name} -> {target.name}")
if not DRY_RUN:
path.rename(target)Titles can be empty or meaningless ("Untitled", "Document1"), so read the dry-run output before setting DRY_RUN = False. More patterns for scripts are in rename files with Python.
Good names for PDFs
Start with the date in the form YYYY-MM-DD, then the sender or client, then the type of document: 2026-11-23_acme_invoice-0457.pdf. Names like this sort by date, show the content at a glance and work as email attachments on every system. More rules in file naming conventions.