PDFVertex Logo
    PDFVertex
    Back to Blog
    November 4, 20262 min readPDFVertex Team

    How to Add a Header and Footer to a PDF

    Put a title, date, confidential label or page count in the top or bottom margin of every page of a PDF. Six positions, no upload.

    PDFVertex header and footer icon, a page with text in the top and bottom margins, beside the page numbers and watermark icons

    Headers and footers carry what every page needs: the document title, a "Confidential" label, the date, the page count. Adding them after the PDF is made is simple.

    Steps

    1. Open Add Header and Footer.
    2. Add your PDF.
    3. Type text into any of six boxes: header left, center or right, and footer left, center or right. Leave a box empty to skip it.
    4. Choose font, color, size and distance from the edge.
    5. Select "Add to PDF" and download the file.
    The Add Header and Footer page with CONFIDENTIAL typed in the header center box and Page {page} of {pages} in the footer right box
    Type text in any of the six boxes. {page} and {pages} are replaced with the real numbers on every page.

    Page numbers inside the text

    Two placeholders are replaced on every page:

    • {page} becomes the page number.
    • {pages} becomes the total number of pages.

    So Page {page} of {pages} in the footer right box becomes "Page 3 of 9" on page 3. If you only need numbers, Add Page Numbers has ready formats.

    Ideas that work well

    WhereText
    Header centerCONFIDENTIAL
    Header leftThe document title
    Footer leftDraft v2, 4 November 2026
    Footer right{page} / {pages}

    Limits to know

    • Latin characters only. The built-in fonts can draw English and other Latin-script text, numbers and common symbols. Characters outside that set, such as Chinese or Arabic, are left out. In our test, 中 was dropped and the rest of the text was kept.
    • Same text on every page. Other than the placeholders, each box shows the same text everywhere.
    • Long text. Keep headers short. A long line can run into the other boxes.

    Header versus watermark

    A header sits in the margin. A watermark sits behind or across the page content. For a large "DRAFT" across the page, use Add Watermark instead.

    Is it private?

    The text is added in your browser. The file is not uploaded.

    Related guides

    Try Our Free PDF Tools

    Put what you learned into practice with our free online PDF tools.

    Explore Tools