How to Remove Page Numbers and Repeated Text from a PDF
Question details
The user needs to delete repeated text, such as page numbers, headers, or footers, that appear in the exact same location across multiple pages in a PDF document.

- Product
- PDF Editor
- Device & OS
- not provided
- Scenario
- Editing a PDF document to remove repetitive background elements or pagination.
- Observed behavior
- Repeated text like page numbers or headers must be permanently removed from all pages of the document without altering the rest of the content.
Ensure you have a backup copy of your original PDF document before proceeding, as applying redactions or running removal scripts will permanently delete the selected content.
Use Redaction Tools to Remove Repeated Text
Utilize built-in redaction tools to mark and permanently remove repetitive text or headers across multiple pages.
Redaction is the most secure way to permanently remove visible text and graphics from a document. You can use it to target specific repeated items like page numbers and footers.
By marking a specific area and choosing to repeat that mark, you save time compared to manually editing each page.
Open your target document in your PDF application. Go to the 'Tools' menu and select 'Redact' to activate the redaction features.
Select the page number, header, or repeated text you want to remove. Right-click the newly created redaction mark and choose 'Repeat Mark Across Pages' to apply it to the entire document or a specific page range.
Click 'Apply' in the Redact toolbar. This action will permanently remove the marked content from all the specified pages.

Apply Redactions via JavaScript
For advanced scenarios, use a JavaScript routine to place redaction annotations at identical coordinates throughout the entire document automatically.
Easily Remove Page Numbers and Headers with WPS Office
WPS Office provides an intuitive PDF Editor that allows you to directly delete page numbers, headers, footers, and other repeated text without needing complex redaction tools or JavaScript.
- 1. Open your PDF: Launch WPS Office and open your PDF file.
- 2. Access Header and Footer Settings: Navigate to the 'Edit' tab on the top ribbon.
- 3. Delete Repeated Elements: Click on 'Header and Footer' and select 'Delete Header and Footer' to instantly remove all repeated pagination and headers from the document.
- 4. Manually Edit Content: Alternatively, click the 'Edit Content' tool to manually select and delete specific text blocks on any page.

Frequently Asked Questions
Can I recover the redacted text after clicking Apply?
No, applying redactions permanently removes the text or images from the document. Always keep a backup of the original file before applying redactions.
Why isn't the repeated text disappearing when I mark it for redaction?
Marking the text only outlines the area intended for removal. You must click the 'Apply' button in the redaction toolbar to finalize and permanently delete the content.
Is there a faster way to remove headers and footers than manual redaction?
Yes, if the PDF was created with standard header/footer metadata, dedicated PDF editors like WPS Office offer a specific 'Remove Header and Footer' function under their Edit or Page Organize menus.
Does removing page numbers affect the document's layout?
Deleting page numbers or footers usually just removes the text itself and leaves the space blank. It will not automatically reflow or change the position of the rest of the document's content.




