PDF Editing Issues

How to Keep Existing Headers When Adding PDF Page Numbers

Anum MushtaqAnum Mushtaq Nov 5, 2026 869 views

Question details

Users experience existing headers disappearing when attempting to add new page numbers as a header or footer in a PDF document.

How to Keep Existing Headers When Adding Page Numbers to a PDF
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.
Before you start

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.

Solution 1Recommended

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.

1
Open the original file

Open your original document in Microsoft Word or your preferred word processor.

2
Insert page numbers

Navigate to the 'Insert' tab on the top ribbon and select 'Page Number'.

3
Adjust layout and export

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.

Add Page Numbers in the Original Word Document
Best Practice: Handling layout formatting in the original word processor guarantees that headers and footers remain intact during the PDF conversion.
Easy PDF Editing with WPS Office

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. 1. Open your PDF: Launch WPS Office and open your target PDF file.
  2. 2. Access Insert Tools: Navigate to the 'Insert' tab on the top menu and click on 'Header and Footer'.
  3. 3. Configure Layout: Insert your page numbers carefully, using the layout preview to ensure they are placed alongside existing text without overwriting it.
  4. 4. Save the Document: Click 'OK' to apply the changes and save your newly formatted PDF document.
Easily add, modify, or remove PDF headers and page numbers.Seamlessly convert between Word documents and PDFs while strictly preserving layouts.Highly compatible with Microsoft Office formats (DOCX) and standard PDF files.
microsoft office alternative - wps office

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.