How to Hide Page Numbers on Specific Pages in a PDF
Question details
The user wants to hide page numbers and headers on specific insert pages (such as poetry sections) within a PDF cookbook, while maintaining continuous page numbering for the book's index.

- Product
- PDF Editor
- Device & OS
- not provided
- Scenario
- Formatting a multi-page PDF book or cookbook for publishing, requiring custom page numbering rules for different sections.
- Observed behavior
- Page numbers appear uniformly on all pages by default, disrupting the clean visual layout desired for special insert pages.
Before modifying your document's layout, make a list of the exact page ranges that require numbering and ensure you have a backup copy of your original PDF file.
Adjust Header and Footer Settings in a PDF Editor
Use a dedicated PDF editing tool to apply or remove page numbers only on specific page ranges.
Most advanced PDF editors allow you to control exactly where headers and footers appear by defining specific page ranges.
Open your document in your PDF Editor. Navigate to the 'Edit' or 'Pages' tab and locate the 'Header & Footer' option.
If your document already has page numbers applied globally, select 'Remove' or 'Delete Header and Footer' to clear them.
Click 'Add Header and Footer'. Set up your preferred page number format, then click on 'Page Range Options'. Enter the specific pages you want numbered (e.g., 1-10, 15-50), purposely excluding the pages where you want the numbers hidden.
Click 'OK' to apply the new page numbers. Review the document to ensure the specific pages are blank, then save your file.

Use Adobe InDesign for Advanced Book Layout
For professional book publishing, page layout software provides the best control over master pages, sections, and complex numbering.
Manage PDF Page Numbers Easily with WPS Office
WPS PDF provides intuitive, built-in tools to add, edit, or remove headers, footers, and page numbers on specific page ranges, making document formatting incredibly simple.
- 1. Open the PDF: Launch WPS Office and open your PDF document using the WPS PDF tool.
- 2. Access Header and Footer: Navigate to the 'Edit' tab on the top ribbon and click the 'Header and Footer' button.
- 3. Clear Existing Numbers: Select 'Delete Header and Footer' to strip out the global page numbers that currently exist.
- 4. Configure Page Range: Click 'Add Header and Footer'. Insert your page number macro, then specify the 'Page Range' to exclude your special insert pages.
- 5. Apply Changes: Click 'OK' to apply the formatting and check your document to ensure the numbers are hidden on the correct pages.

Frequently Asked Questions
Can I hide a page number without changing the overall page count?
Yes. Removing or hiding the visual page number from a specific page's header or footer does not alter the document's logical page count. The numbering will still flow correctly for your index.
Why can't I edit the page numbers directly in my PDF?
If the PDF was flattened or exported without editable text layers, the page numbers essentially become part of the background image. In this case, you will need to use a whiteout or redaction tool to visually cover them.
Is it better to use InDesign or a PDF Editor for formatting a cookbook?
For complex layouts with varying page styles, bleeding images, and custom typography, InDesign is highly recommended. However, for compiling text and images with simple header adjustments, a modern PDF editor is often sufficient and much easier to learn.




