Do you need a clean copy of a report without its running header and page numbers? The Remove Header & Footer tool whites out the top and bottom strip of every page. It then rebuilds each page as a picture, so the covered text is gone from the file.
That fix has a cost. The new PDF has no selectable or searchable text, and links, bookmarks, and form fields are not carried over. Read the limits below before you share the result.
Table of Contents
- What the Tool Does
- How to Use It, Step by Step
- How It Works
- Walkthrough: Cleaning a Report
- What Is Really Removed
- Choosing the Strip Heights
- Limitations and Assumptions
- FAQs About the Remove Header & Footer Tool
What the Tool Does
The tool clears the margins at the top and bottom of every page. It does not find headers, and it does not read any text.
- Header Margin Height (pt): the height of the top strip, which starts at 40.
- Footer Margin Height (pt): the height of the bottom strip, which starts at 40.
- Download Cleaned PDF: builds the new file and saves it as cleaned-header-footer.pdf.
- A status line that reads "Ready" until you load a file.
How to Use It, Step by Step
- Click the dashed drop box and pick a PDF, or drop a file onto it.
- Wait for the status "PDF loaded. Ready to cover the header and footer strips."
- Type a number from 0 to 150 in Header Margin Height (pt).
- Type a number from 0 to 150 in Footer Margin Height (pt).
- Press Download Cleaned PDF and open the file to check every page.
Set one height to 0 to leave that side alone. If both are 0, the tool asks you to set at least one height above 0.
How It Works
The tool draws each page onto a canvas in your browser at 144 DPI. It fills the top and bottom strips with white. It then saves the page as a JPEG at quality 0.85 and builds a new PDF from those images.
Pick a PDF→Set Header and Footer Heights→Pages Drawn, Strips Whited Out→Download Cleaned PDF
A point is 1/72 of an inch, so the default 40 points is about 0.56 inch. The strips span the full page width. The strips follow what a viewer shows, so rotated pages and cropped pages line up.
All of this happens in your browser. The code sends no file to a server, so the PDF is not uploaded. The page does load the pdf.js and pdf-lib code from public CDNs.
Walkthrough: Cleaning a Report
Tomas Herrera has a 20 page report with a company name at the top of each page. A page number sits near the bottom. He wants a plain copy for a handout.
He picks the file and sees "PDF loaded. Ready to cover the header and footer strips." He types 50 for the header and 30 for the footer. He presses Download Cleaned PDF.
While it runs, the status shows the page count. When it finishes, it reads "Done. Covered the top 50 pt and bottom 30 pt of 20 pages. Every page is now an image with no selectable text. Your download has started."
What Is Really Removed
Anything inside a strip is painted over before the page is saved as an image. The original header and footer text no longer exists in the new file. This includes body text that reaches into a strip.
The rest of each page is also a picture now. Text there is no longer selectable or searchable, and files may grow larger. Open the result and try selecting text to confirm what you have.
For blacking out private details in a chosen spot, a redact PDF tool may suit you better. Always open the output and check it.
Choosing the Strip Heights
Measure your header first, since most documents keep headers within the top 36 to 72 points. A strip that is too short leaves part of the text visible.
A strip that is too tall removes real body text. The tool cannot tell a header from a first line of content. Check the first and last pages of your result.
If the two heights would cover a whole page, the tool names that page and asks for smaller heights. For example, 60 plus 60 on a 100 pt page is refused.
To trim empty edges instead of whiting them out, use the crop PDF tool or the remove PDF margins tool. For page numbers alone, see the PDF page number remover.
After cleaning, you can stamp new text with the add PDF footer tool. The PDF tools hub lists related options.
Limitations and Assumptions
- The strips are always white, so on colored or photo pages the white bands will show.
- Both strips apply to every page, including the cover. You cannot skip a page or pick a range.
- Pages become 144 DPI images, so text looks softer and files can be larger.
- Very large pages are scaled down so the longest side stays within 4,000 pixels.
- Heights outside 0 to 150, or a blank field, show a message instead of running.
- An encrypted PDF shows "This PDF is encrypted or password protected. Remove the password first, then try again."
- The tool keeps no copy, so you must pick the file again next time.
FAQs About the Remove Header & Footer From PDF Pages
Does the tool delete the header text?
Yes, for the strip you set. The page is rebuilt as an image, so no text remains under the white area.
Is my PDF uploaded to a server?
The code shows no upload. The browser reads the file and builds the new PDF locally.
Can I remove only the header?
Yes. Set the footer height to 0, and only the top strip is cleared.
Why are there white bars on my colored pages?
The strips are pure white. They cannot match a colored background or a photo.
Will it find the header for me?
No. You pick a height in points, and the tool clears that much of each page edge.
Can I undo the change?
The tool saves a new file and leaves your original alone. Keep the original if you need the header or the text back.
This tool runs in your web browser and may not handle every PDF file, font, or browser the same way. Keep a backup of your original file. Reviewed for general accuracy by Prof. Dr. Khalil Mudassar, PhD.