Skip to content

Page layout

Add a header, footer and page numbers to a PDF

In short

Use a header or footer when every page needs repeated context such as a project name, filename or issue date. Place each item in its own left, centre or right slot. Preview the longest expanded text before exporting so references and page counts stay readable.

3 min read

Document pages with a running title area and a separate footer count
Separate slots keep a title and page count aligned without padding with spaces.

What belongs in each slot?

Use the header for information that identifies the document when a page is separated from the rest. A project name on the left and file reference on the right can be enough. Use the footer for a page count, issue reference or other short label. Do not repeat a full paragraph on every sheet.

Header & Footer gives each band three independent positions. Left, centre and right are separate text items rather than a single line held together with spaces. This keeps a short project name from pushing the page count out of alignment.

What did our twelve page layout create?

We used KovaPDF's header and footer builder on a 12 page report. The header held Project Cedar at the left and the filename at the right. The footer held Page {n} of {total} at the right. The builder produced 36 text placements, three for each page.

The first footer resolved to Page 1 of 12. The filename became report.pdf. That test shows how independent slots and tokens expand; it does not show that any arbitrary long filename will fit the same space. The longest real value is the one to inspect in your own preview.

Which tokens can I use?

TokenIntended value
{n}The running number for the targeted page
{total}The document total
{filename}The supplied file name
{date}The date resolved when the text is prepared

The header workflow uses {total}. The dedicated numbering tool uses {p} for its range total. Do not copy a format between the two without checking the preview. For a report whose cover is excluded from its numbering, read page ranges and starting numbers before choosing the footer wording.

How do I build a useful running band?

  1. Open the final document and enable the header or footer you need.
  2. Put a short identifier into one slot and the dynamic label into another.
  3. Set the target pages and starting number deliberately.
  4. Preview the first, middle and last targeted page, including rotated pages.
  5. Reopen the saved PDF and check that body text remains clear.

For a fixed issue date, type the approved date as text. A dynamic date is convenient for a working copy but can be misleading on a document issued on a different day. A footer is part of the page appearance, not independent proof of when the document was approved.

What if the text is too long?

Shorten the label before making the type tiny. A complete storage path is rarely useful on a printed page; a short document reference usually is. Check a filename containing spaces, a large page count and the longest title together. They compete for the same band even though each slot is independently aligned.

The preview may reduce the font to keep text inside its allocation. That is a reason to inspect readability, not evidence that every long line is acceptable. Keep header and footer colours clear against the page and leave room between the band and the original text.

When is a divider a better place for the information?

A heading repeated on every page should be brief. Put a full section title, scope note or instructions on a divider page, then use a short running label on the pages that follow. This helps a reader identify a loose sheet without filling its margins with repeated explanation.

If you are making a text file into a report, convert the text first, review its pagination, and add the running information afterwards. Conversion can change the page count; a footer prepared too early can become a correct looking label on the wrong final layout.

If the source is a desktop note, first save and convert the Notepad file. Check its characters before adding running information.

Common questions

Can the header show a title and filename separately?

Yes. Use independent left, centre and right slots rather than spacing one long string by hand.

Which total token belongs in a header or footer?

Use {total} in this workflow. The dedicated page numbering tool uses {p}, so check formats before switching tools.

Does the date in the footer prove when I signed?

No. It is visible page text. It does not supply a trusted signature timestamp.

What should I do when a filename makes the footer too small?

Use a shorter document reference and inspect the longest expanded text in the preview and saved PDF.

KovaPDF on your computer and phone

Use KovaPDF on your computer, where many tools work with no internet, and on your phone. The same account works in both.