Numbering, header, footer, stamp and watermark in a single pass
On a single PDF you often want several marks at once: a page number at the bottom, the file name in the header, a CONFIDENTIAL stamp in a corner and Bates numbering for legal files. Here each one is a layer you switch on or off, with the preview updated on the thumbnails and on the open page, and the PDF comes out with all of them in one go. The page number takes seven formats (1, Page 1, Page 1 of 10, 1/10, - 1 - and roman numerals), a start number, skipping the cover, mirroring left and right on even pages (for double-sided printing) and a margin in millimeters. Headers and footers have three zones and accept the variables {page}, {total}, {date} and {filename}. The watermark can be text with an angle and transparency, centered with automatic size fitting or repeated in tiles, or an image (logo). The stamp comes with a frame and presets such as CONFIDENTIAL, COPY, DRAFT, APPROVED and URGENT. Bates numbering joins a prefix, a zero-padded counter and a suffix, and is used to identify every page of case documents. Layers apply to all pages or only the odd ones, the even ones or a range like 1-3, 5. The PDF's original content is not changed: the marks are added on top, in your browser, with pdf-lib.
How to use
From PDF to marked file in three steps
Drop the PDF. The "Page 1 of N" numbering already shows at the bottom center in the preview of the first page.
Switch on the layers you want: Bates, header, footer, watermark, logo or stamp. Pick the scope (all, odd, even or a range) and use the thumbnails to check page by page.
Click Download PDF. The file keeps its name plus the -stamped suffix; the original is not changed.
Embed
Use this tool on your site
Paste the code into your HTML and the tool shows up on your page, without J-Kit's navigation and ads. It still runs in the browser of whoever visits your site.
<iframesrc="https://jkit.tools/embed/en-US/pdf-page-numbers-watermark"width="100%"height="600"style="border:0"loading="lazy"referrerpolicy="no-referrer-when-downgrade"title="Add Page Numbers and Watermark to PDF"></iframe><p style="font-size:12px;margin:6px 0 0">Tool by <a href="https://jkit.tools/en/tools/pdf-page-numbers-watermark">J-Kit</a></p>
Cite
Cite or link to this tool
Using it in a paper, class or post? Copy the link or a ready-made reference. The access date is today's.
<a href="https://jkit.tools/en/tools/pdf-page-numbers-watermark">Add Page Numbers and Watermark to PDF</a>
References
Sources and references for this tool
These references help contextualize formulas, standards, APIs and limitations used on this page. They do not replace professional validation when a result has legal, financial, medical or operational impact.
Turn on Skip the first page. The cover stays unnumbered and the second page gets the start number (1 by default). The total "of N" follows: in a 10-page PDF, page 2 comes out as "Page 1 of 9" and page 10 as "Page 9 of 9". If you would rather have the second page show "2", set the start number to 2; the total becomes 10.