How to Add Page Numbers, Header & Footer to a PDF Free
Search “add header and footer in pdf” or “add footer to pdf” when you need the same line on every page of an invoice pack — company name at the top, “Confidential” at the bottom — without an Acrobat license. FlashKit’s add header and footer to PDF tool draws that stamp with pdf-lib in this browser. The file is not uploaded. It does not auto-number pages. People type “page numbers” into Google; this page tells you honestly what the button does.
Related PDF jobs: best free PDF tools, split a PDF, merge PDF and JPG. Compress after stamping if the portal has a kilobyte cap: compress to 200 KB.
Stamp a header or footer in this tab
Text or a small PNG/JPG, left/center/right. Helvetica 10. No upload, no Page X of Y token, no preview.
Open add header & footerWhat you can stamp
| Control | Options |
|---|---|
| Header type | Text or image (Choose Image PNG/JPG) |
| Footer type | Same independent toggle |
| Alignment | Left, center, or right icon buttons |
| Font | Standard Helvetica, size 10, gray rgb(0.5,0.5,0.5) — not a font picker |
| Image size | Scaled to 30px height; 40px side margins, 20px from the edge |
Placeholder text is “Enter Header Text...” / “Enter Footer Text...”. Success copy: “PDF processed successfully!” then Download Modified PDF as modified_{filename}.
Step-by-step
- Unlock a password PDF elsewhere first. This tool rejects encryption.
- Open add header & footer. Drop the file (drag/drop or picker,
accept="application/pdf"). - Type a header such as “Acme Ltd — Q4 report” and center it. Type a footer such as “Internal — do not forward” and left-align it. Or switch a section to image for a small PNG logo.
- Click Apply Changes / wait for “Processing PDF...”.
- Download and open page 1 and the last page. Confirm the stamp did not cover signatures or form fields you still need.
Worked example
A 6-page invoice export needs the legal entity on every sheet. Header text, centered: Northwind Traders · GSTIN 22AAAAA0000A1Z5. Footer text, left: Not a tax invoice until signed. Apply. Every page gets the same two gray Helvetica lines. Page 3 does not say “3 of 6” — if a clerk requires that, stamp a static “Invoice pack” here and add true page numbers in a desktop tool, or print via a driver that can number.
Tips
- Do not cover content — 20px from the edge is tight on a scanned page that already has a footer. Crop or rotate first (rotate PDF).
- Logo contrast — a 2000px PNG is still drawn 30px tall. Export a small, high-contrast mark.
- Forms — stamping can flatten or hide widgets. Keep the original.
- Size — adding a JPEG header can grow the file. Compress afterwards if a portal cap applies.
This is a stamp, not Acrobat. No running headers that change per chapter, no {page}/{pages} fields, no preview. For letterhead that must look designed, compose the PDF in a layout tool, then use this page only for a confidentiality line.
Order of operations with merge, rotate, and compress
Stamp last, or at least after rotate. A page that is still sideways will get a header along the wrong edge. Use rotate PDF first. If you are combining invoices, merge first so the header is consistent across the pack; stamping each file separately with slightly different strings is how “Acme Ltd” and “Acme LTD” both appear in one ZIP. Compress after the stamp if a portal cap applies — a JPEG header image can add tens of kilobytes; the PDF compressor 200 KB walkthrough is the kilobyte target, not this page.
Margins: 40px from the left/right and 20px from the top/bottom in PDF user space as implemented. A scanned contract that already has a bank footer in the last 20px will collide. There is no “move down 8mm” slider. Crop in a desktop tool, or accept a slightly overlapping gray line. Images are forced to 30px height; a wide logo becomes a thin strip. Export a square-ish mark if you need it readable.
Worked pair: header image = 200×60 PNG of a wordmark, footer text = Page file — not numbered so nobody thinks the tool numbered the pages. Apply. Open page 1 in a reader at 150%. If the wordmark sits on the letterhead art, switch that section to text instead. Encrypted PDFs fail on purpose; unlock a copy. Very large files can freeze a phone tab — use a desktop browser, same advice as the compressor’s 25 MB warning.
Interactive forms: a fillable IRS-style PDF may lose widget focus after a stamp. Always keep the original. Digitally signed PDFs can show a broken signature after any pdf-lib rewrite. This is a drawing tool, not a signatory workflow.
You can stamp only a header, only a footer, both, or an image in one slot and text in the other. Empty fields are skipped. Alignment icons are left / center / right, not justified, and not “spread across the margin.” Helvetica 10 gray is the only type style — no bold toggle, no color picker. If a brand guide demands a pantone footer, this is the wrong tool. If you needed “Page 3 of 6,” type a static label here and number in a desktop PDF editor, or print through a driver that can number. Search results for this URL mention page numbers because that is what people type; the honest product is a repeated header/footer stamp in the current tab with no upload.