How to Add a Header and Footer to a PDF (Page Numbers, Date, Logo)

To add a header and footer to a PDF, open Add Header & Footer, choose your PDF and type into the boxes for the top and bottom of the page: left, centre and right. Add {page}, {total}, {date} or {file} where you want them, add your logo if you like, check the live preview and press Add header & footer. Every page gets the same layout with its own page number. It's free and runs in your browser.

Many free tools can't do this properly. Smallpdf's own guide suggests adding a text box with its editor and copying it to each page by hand, with page numbers from a separate tool (Smallpdf: add header to PDF). In Adobe, the Header & Footer feature is part of Acrobat's desktop editing tools (Adobe: Add headers, footers, and Bates numbering). Bytenix does it in one step, for free.

Step by step

  1. Open bytenix.in/p/add-header-footer-to-pdf and choose the PDF.
  2. Type into the six boxes: Header left, centre, right and Footer left, centre, right. Leave a box empty to keep that spot blank.
  3. Click a token to insert it where you are typing:
    • {page}: the page number
    • {total}: the number of pages
    • {date}: today's date, in the format you choose (21/11/2026, 21 November 2026, 2026-11-21 or 11/21/2026)
    • {file}: the file name without ".pdf"
  4. Pick font (sans, serif or mono), size, colour, bold, and the distance from the edge and side margin in millimetres.
  5. Optional: add a logo, a thin line under the header and above the footer, leave the cover blank, or apply to some pages only (for example 2-10).
  6. Use the ‹ › arrows on the preview to check a few pages, then press Add header & footer.

Ready-made layouts

The Start from buttons fill the boxes in one click; change anything afterwards:

PresetHeaderFooterGood for
SimplenothingPage 1 of 10 in the centreAny document
ReportFile name left, date rightConfidential left, Page 1 of 10 rightOffice reports, project files
BooknothingPage number in the centre, with left and right swapped on even pagesTheses, booklets printed on both sides
LetterCompany name left, website right (type your own)Page 1 in the centreQuotations, letters, price lists

Add your logo (a simple letterhead)

Choose your logo under Logo (optional): PNG, JPG or WebP. A PNG with a transparent background looks best. Then pick its Logo position (header left, right or centre, or footer left or right) and its height in millimetres (10 mm suits most pages). Text in the same corner moves aside, so "ACME Traders" can sit right next to the logo. With a company name on the left, a phone number or website on the right and a thin line underneath, every page of a quotation or price list gets a neat letterhead.

If the original pages already have a letterhead or text near the top, increase Distance from edge, or use the PDF Editor's Cover tool to hide the old one first.

Cover pages, printed books and scanned pages

  • Leave the first page (cover) blank: no header or footer on page 1. The rest still show their real page number, so page 2 says 2 and the total still counts the cover. To start counting from a different number, set First page number.
  • Printed on both sides: tick Swap left and right on even pages (printed books), so anything you put in a corner, like a page number on the right or a logo on the left, moves to the other side on even pages and always sits on the outer edge, as in a book.
  • Sideways scans: pages stored sideways with a rotation setting still get the header at the top of the page as you see it.
  • Hindi and other languages: type them as usual. The standard PDF fonts only cover English letters, so other scripts are placed as a sharp picture of the text. They look right everywhere but are not searchable.

Header & Footer or Add Page Numbers?

Both add page numbers. Use Add Page Numbers when numbers are all you need, especially Roman numerals (i, ii, iii) for front pages. Use Add Header & Footer when you want text, a date, the file name or a logo with the number, in up to six places on the page.

If something does not look right

  • The header covers text on some pages. Increase Distance from edge a little, choose a smaller size, or apply the header only to the pages that have room with Which pages.
  • The page numbers are one off. Check First page number. If the file starts with a cover you leave blank, keep it at 1, so page 2 shows 2.
  • The logo looks too big. Lower Logo height; 8 to 12 mm is usual for letterheads. The width follows the logo's own shape.
  • "Which pages" shows an error. Use page numbers and ranges like 2-10 or 1, 3, 5-8, within the number of pages in the file.
  • The PDF is password protected. Open it with Unlock PDF first, using the password you were given.

Common uses

  • Office reports: file name and date on top, "Confidential" and Page 1 of N at the bottom.
  • Project reports and theses: college name in the header, page numbers in the footer, cover left blank.
  • Quotations and price lists: logo and company name in the header, phone and GST number in the footer.
  • Exam or court bundles: a short label such as "Annexure A" on every page, plus page numbers. After that, add a clickable contents page with PDF Bookmarks & Contents.

When everything is in place, compress the PDF if a portal limits the size.

Frequently asked questions

How do I add a header and footer to a PDF for free?

Open Bytenix Add Header & Footer, choose the PDF and type into the six boxes (left, centre and right for the header and the footer). Add {page}, {total}, {date} or {file}, check the preview, then press Add header & footer and download.

How do I put 'Page 1 of 10' in the footer?

Type Page {page} of {total} in a footer box, or press the Simple preset. Each page gets its own number and the total number of pages.

Can I add my company logo to the header?

Yes. Choose a PNG, JPG or WebP logo, pick its position (header left, right or centre, or footer left or right) and its height in millimetres. Header text in the same corner moves aside so the two don't overlap.

Can I leave the cover page without a header?

Yes. Tick 'Leave the first page (cover) blank'. The other pages still show their real page number, so page 2 says 2.

Can I write the header in Hindi?

Yes. Hindi and other scripts are placed as a sharp picture of the text, so they look right in every PDF reader.

Will it cover text already on the page?

It writes in the top and bottom margins, 10 mm from the edge by default. If a page has text close to the edge, increase 'Distance from edge' or make the text smaller, and check the preview.

Is my PDF uploaded?

No. The header and footer are added inside your browser.

Try Add Header & Footer to PDF

Titles, dates, page numbers and your logo on every page.

Open Add Header & Footer to PDF