Rename PDF files by their content

Give scanned or downloaded PDFs meaningful names taken from their heading, first line or title.

  • Free
  • No sign-up
  • No watermark
  • Files stay on your device
This tool runs entirely in your browser. Your files are not uploaded, stored or seen by anyone, including us. Check it yourself

Open your browser's developer tools (F12), go to the Network tab and run the tool: no request carries your file.

Guide

How to rename PDF files by their content

  1. Drop one or more PDFs onto the drop zone above, or click to choose them. You can add a whole batch at once.
  2. Choose where the New name from comes from:
    • The largest text on page 1 (usually the heading) – best for letters, reports, invoices and papers with a clear title.
    • The first line of page 1 – useful when the first line is a reference, a date or a company name.
    • The document title (metadata) – the title stored inside the PDF, often set by the program that made it.
  3. Optionally type something in Add before the name, such as Invoice or a client code, and tick Add today's date to include the date in every name.
  4. Click Rename files. Download the renamed files one by one, or all together as a ZIP.

The text is read with pdf.js in your browser. The PDFs are never uploaded.

Why rename PDFs automatically

Scanners, phone apps, banks and online services love names like scan0042.pdf, document(3).pdf or a long string of digits. Opening every file to find out what it is takes time. This tool reads each file's own text and turns it into a name you can recognise in a folder, a search or an email attachment.

BeforeSourceAfter (example)
scan0042.pdfLargest text: "Tenancy Agreement"Tenancy Agreement.pdf
download.pdfFirst line: "Statement 1 March 2026"Statement 1 March 2026.pdf
a7f3c9.pdfMetadata title: "Annual Report"Annual Report.pdf

The examples show the idea; the exact name depends on the text in your file and the options you choose.

Which source to choose

  • Heading works best when page 1 has a clear title in bigger letters. On pages where a logo text or letterhead is the biggest text, every file may end up with the same name; try the first line instead.
  • First line is the top line of text on page 1. On many letters that is the sender's address, so check the result.
  • Metadata title is quick and clean when it was set properly, but many files have an empty title or something like "Microsoft Word - Document1". You can view and set titles with Edit PDF Metadata.

Limits

  • Scanned PDFs without text keep their name. A scan is a picture of a page, so there is no text to read. Run it through OCR PDF first to add a text layer, then rename it.
  • Only the file name is new; the pages themselves are not edited.
  • Password-protected PDFs cannot be read. Unlock them first with Unlock PDF.
  • Your browser saves downloads to its download folder. To keep the renamed files in place of the originals, move them back and delete the old copies yourself.

Scanning a lot of paperwork? Our guide how to scan a document to PDF helps you get clean scans that OCR, and this tool, can read.

Frequently asked questions

How do I rename many PDF files at once?

Add all the files, choose the source for the new names and click Rename files. Then use Download all (ZIP) to save them in one go.

Why did my scanned PDF keep its old name?

It has no text layer, so there is nothing to read. Make it searchable with OCR PDF, then rename it.

Can I add a date or a prefix to the names?

Yes. Type the prefix in Add before the name and tick Add today's date.

Does renaming change the PDF itself?

No. The content of the pages stays the same; you get the same document under a new name.

Are my files uploaded?

No. The text is read in your browser and the renamed files are saved straight to your device.

Updated

Comments

Share a tip, ask a question or tell others how the tool worked for you.
Copied to clipboard