How to Keep Existing Headers When Adding PDF Page Numbers
Question details
Users experience existing headers disappearing when attempting to add new page numbers as a header or footer in a PDF document.

- Product
- PDF Editors
- Device & OS
- not provided
- Scenario
- Adding page numbers to a PDF that already contains headers from a previously converted document.
- Observed behavior
- The newly added page numbers overwrite and replace the existing headers, causing the original header content to be lost.
Determine whether you have access to the original source file (such as a Word document), as editing headers and page numbers is highly recommended before converting the document to PDF.
Add Page Numbers in the Original Word Document
The most reliable way to avoid header conflicts is to add your page numbers in the source document before exporting it to PDF.
When a document is converted from Word to PDF, the headers and footers are often transformed into special artifacts. Editing them later in a PDF editor can sometimes cause overwriting issues.
Open your original document in Microsoft Word or your preferred word processor.
Navigate to the 'Insert' tab on the top ribbon and select 'Page Number'.
Position the page numbers so they do not overlap with your existing header text. Save the document, then go to 'File' > 'Save As' and choose PDF to export the file.

Use the 'Add New' Option in Your PDF Editor
If you must edit the PDF directly, ensure your PDF software is set to add new elements rather than overwriting existing ones.
Remove Header and Footer Artifacts First
If existing headers are causing unavoidable formatting conflicts, clear them out and recreate the entire header block including the page numbers.
Manage PDF Headers and Page Numbers Effortlessly in WPS Office
WPS Office provides a comprehensive PDF editing suite that allows you to easily manage headers, footers, and page numbers without losing your existing document formatting. You can seamlessly switch between Word and PDF formats to optimize your workflow.
- 1. Open your PDF: Launch WPS Office and open your target PDF file.
- 2. Access Insert Tools: Navigate to the 'Insert' tab on the top menu and click on 'Header and Footer'.
- 3. Configure Layout: Insert your page numbers carefully, using the layout preview to ensure they are placed alongside existing text without overwriting it.
- 4. Save the Document: Click 'OK' to apply the changes and save your newly formatted PDF document.

Frequently Asked Questions
Why do my original headers disappear when I add PDF page numbers?
Many PDF editors default to replacing existing header and footer metadata with the new input. If your converted PDF recognizes the old text as a header block, adding a new header automatically overwrites the original content.
Can I edit headers and footers in a converted PDF?
Yes, but it depends on how the PDF was generated. If the original headers were flattened into regular text during conversion, you might have to edit the text directly rather than using the dedicated header tool.
Is it better to add page numbers in Word or the PDF editor?
It is generally better to add page numbers in the original Word document before exporting. This ensures perfect layout control and prevents formatting conflicts in the final PDF file.




