PDF Editing Issues

How to Add a PDF File Name Header and Link Text in Acrobat

Amos GikundaAmos Gikunda Nov 5, 2026 871 views

Question details

The user wants to know how to automatically place the PDF file name into a header on every page and how to create hyperlinks connecting related titles or locations within the same document.

How to Add a PDF File Name Header and Link Text in Acrobat
Product
Adobe Acrobat Pro
Device & OS
not provided
Scenario
Automating document formatting by inserting the file name into headers across all pages and setting up internal navigation links.
Observed behavior
The user needs a method to automate header insertion and create internal links that point to specific document locations.
Before you start

Ensure you have Adobe Acrobat Pro installed, as the Action Wizard feature required to automate batch header insertion is not available in the free Adobe Acrobat Reader.

Solution 1Recommended

Use Action Wizard to Automate File Name Headers

Utilize Acrobat Pro's Action Wizard combined with a custom script or header settings to automatically apply the file name to every page.

The Action Wizard in Acrobat Pro allows you to run a series of commands on a single PDF or a batch of files. To insert a dynamic file name, a simple script is typically executed within the action.

1
Open Action Wizard

Go to 'Tools' in Adobe Acrobat Pro and select 'Action Wizard' from the tool menu.

2
Create a New Action

Click 'New Action' in the top toolbar to open the Create New Action dialog box.

3
Add Header & Footer Tool

Under 'Pages', select 'Add Header & Footer' and click the plus icon to add it to your action steps. Alternatively, add 'Execute JavaScript' if you are using a script to pull the exact file name dynamically.

4
Configure Settings and Run

Uncheck 'Prompt user' if you want the action to run automatically. Save the action, name it, and then click on it in the Actions List to run it on your open document.

Use Action Wizard to Automate File Name Headers
Static vs Dynamic Text: Standard headers applied in Acrobat do not dynamically update if the file name changes later. You would need to re-run the action or use an advanced JavaScript for dynamic synchronization.
Powerful PDF Editor

Easily Add Headers, Footers, and Links with WPS PDF

WPS Office offers a robust PDF editor that simplifies document formatting. You can quickly add file names, page numbers, or custom text to headers and footers across all pages, and seamlessly create internal links without needing complex scripts or premium software.

  1. 1. Open Your PDF: Launch WPS Office and open your PDF document.
  2. 2. Insert Header and Footer: Go to the 'Insert' tab, select 'Header and Footer', and choose 'Add Header and Footer'.
  3. 3. Add Your File Name: Type your file name into the preferred header section (left, center, or right) and click 'OK' to apply it to all pages.
  4. 4. Add Internal Links: Navigate to 'Edit' > 'Link', draw a box over your title text, select 'Jump to Page', and enter the destination page number.
Intuitive tools to insert and customize headers and footers across multiple pages.Easily create interactive internal links and bookmarks for document navigation.Fully compatible with standard Adobe PDF formats.Lightweight, fast, and feature-rich alternative to Adobe Acrobat.
microsoft office alternative - wps office

Frequently Asked Questions

Will the PDF header update automatically if I rename my file?

No, standard headers and footers inserted into a PDF are static text. If you rename the PDF file in your operating system later, the header will remain exactly as it was when you applied it.

Can I add the same header to multiple PDF files at once?

Yes. In Adobe Acrobat Pro, you can use the Action Wizard to batch process an entire folder of PDF files, applying the same header and footer configurations to all of them simultaneously.

Why is the Action Wizard missing from my Adobe Acrobat?

The Action Wizard is a premium automation feature exclusive to Adobe Acrobat Pro. It is not available in Acrobat Standard or the free Adobe Acrobat Reader.