Kharabeesh
On-device ع

PDF Header & Footer

Add a header and footer to a PDF: left, centre and right text with page number, total, date and file-name tokens. Control size, colour and margin, skip the first page. Arabic supported.

Free, no sign-up Your data stays on your device Works offline after first open

The tool

Loading the tool…

How to use

  1. Choose a PDF or drop it in the box.
  2. Type text in the header or footer boxes (left/centre/right) and use the token buttons to insert the page number, date or file name.
  3. Pick size, colour and margin, skip the first page or choose a page range, and check the preview.
  4. Press “Add & download”.

Privacy & how it works

Processes your data in the browser and stores nothing.

  • Engine: pdf-lib + pdfjs (open-source libraries bundled with the site).
  • Works offline after you open it once.

Frequently asked questions

Is Arabic text in the header selectable?

No. English text and digits are written as real text, but any Arabic text is drawn as a high-resolution image so the letters join correctly, which means it cannot be selected or searched. This is the limit of doing it inside the browser.

Which tokens exist?

{page} the current page number (its real number in the file), {total} the number of pages, {date} today’s date, {file} the file name without extension. Type them in curly braces exactly as shown.

Why do some texts overlap?

Long texts in all three boxes on the same line collide. The preview warns you; lower the font size, shorten the text or use a single box.

Do rotated pages work?

Yes. The header and footer follow the page direction as displayed on screen.

Related tools