PDF pages do not contain a built-in header region

A word-processing file can store a reusable header object. In a PDF, page content is positioned explicitly. Text added near the top may look like a header, but structurally it is simply another page object. The same applies to a footer.

Placement must be calculated for every page

Because there's no shared header object, adding one line of header text to a 50-page document means literally drawing that same text 50 separate times, once per page; and if the text should be centered, its horizontal position has to be recalculated per page too, since centering depends on the pixel width of the rendered text (which varies by content) and the width of that particular page (which can technically differ page to page, even within one PDF). None of this is visible to someone just typing "Confidential" into a header field; it's handled automatically; but it's exactly what a tool has to do under the hood.

Tokens create page-specific text

A template replaces {page} with the current page number and {pages} with the document total. In Page {page} of {pages}, the surrounding words remain fixed while the values are substituted for each page. Date tokens follow the format implemented by the tool.

Headers offer more control than bare page numbers

A page-number tool can expose a few preset positions. Headers and footers need arbitrary text, alignment and token replacement, which makes them a broader operation. Keeping the interfaces separate lets a simple numbering task stay simple without limiting custom repeated text.

Before you export

Headers and footers can use different text and alignment. Check that neither overlaps page content, especially when pages have mixed sizes or orientations.

An unambiguous date format avoids month/day confusion, although it may not match every reader’s regional preference.

Adding vector text does not require rasterizing the page, but it still modifies the PDF. It can overlap content, affect tagged reading order and invalidate digital signatures. Font embedding and extraction behavior depend on the implementation.

Add a header or footer to a PDF

Orisod’s PDF Header & Footer tool adds custom text with page-number and date tokens in your browser. Inspect pages with different sizes or rotations before downloading.

Add header & footer →

A PDF header or footer is repeated page content placed at calculated coordinates. Tokens supply changing values, while a multi-page preview helps catch collisions and alignment problems before download.