Watermarks change how a reader treats a document before they have read a word of it. DRAFT tells a reviewer not to quote from it. CONFIDENTIAL tells a recipient not to forward it. A client name across a proof tells anyone who screenshots it where it came from. All three work because the mark is unmissable.
The stamping happens with pdf-lib inside the browser tab. Nothing is uploaded, there is no length limit beyond your own memory, and a bundle marked confidential does not have to be handed to a stranger's server in order to be marked confidential, which was always the awkward part of doing this online.
When to add a watermark to a pdf and what to write on it
Keep the wording short. A watermark competes with the text underneath it, and a sentence spread across a page is unreadable in both directions. One or two words at a large size reads instantly and interferes least. Where you need more detail, such as a date or a recipient name, a second shorter run at a smaller size works better than cramming it into one line.
Case matters too. Upper case reads faster at a glance and is the convention for status marks, which is why DRAFT and CONFIDENTIAL are almost never seen in lower case on a real document.
- DRAFT for anything still being reviewed and not to be quoted.
- CONFIDENTIAL or INTERNAL for documents with a restricted circulation.
- SPECIMEN or SAMPLE for a template shown as an example.
- A client or recipient name to make a leaked copy traceable back to its source.
- COPY for a duplicate that must not be mistaken for the signed original.
Setting opacity, rotation and size in this PDF watermark tool
Watermark opacity is the control that decides whether the result is usable. Between 10 and 20 percent the mark is clearly present but the body text underneath stays comfortable to read, which is the right range for a document people actually have to work with. Push above 35 percent and reading becomes tiring. Drop below 8 percent and the mark disappears entirely when the page is printed on a laser printer.
Rotation is mostly convention. A diagonal draft stamp at 45 degrees is the familiar look, it crosses the most page area, and it is obviously deliberate rather than something that could be mistaken for content. Zero degrees suits a short mark placed as a band across the middle. Any angle between minus 90 and 90 is allowed here.
Size should be set relative to the page rather than the text. On A4 a single word at 60 to 90 points spans most of the diagonal. The tool measures the string with real font metrics and centres it on the page, so the mark stays centred whatever you type and whatever page size the document uses.
A watermark is a signal, not a security control
The text is drawn into the page content, which means it cannot be toggled off in a reader and does not sit in a separate layer that a viewer can hide. It is genuinely part of the page. What it is not is protection. Anyone determined enough can crop the page, cover the mark, rasterise and edit the result, or simply retype the content.
Treat a watermark as a clear statement of intent that survives casual copying and forwarding. If a document must not be readable by the wrong person, that is a job for encryption and access control, not for a diagonal word across the middle of the page.
Long documents, mixed page sizes and printing
Every page is measured individually, so a file that mixes A4 portrait with A3 landscape gets a correctly centred mark on both. Rotated pages are handled through the same measurement, since the size reported for a page already accounts for how it will be displayed.
For print, remember that ink coverage on paper looks heavier than the same value on a backlit screen. A mark that seems subtle at 20 percent on a monitor can come out fairly bold on a laser printer, so if the document is destined for paper it is worth stamping a test page first and looking at it under the lights of the room where it will be read.
How this PDF watermark tool works without a server
pdf-lib loads the document, embeds one of the standard Helvetica fonts and appends a text drawing operation to each page with a graphics state that carries your chosen opacity. Nothing that was already on the page is decoded, re encoded or moved, so text stays selectable, images keep their exact original bytes and the file grows by only a small fixed amount per page.
Because everything runs locally there is no upload, no queue and no retention question to worry about. The one thing the browser cannot do is open a password protected document, since it has no key to decrypt it with. In that case the tool reports the problem plainly instead of writing out a damaged file.
| Text | Opacity | Angle | Typical use |
|---|---|---|---|
| DRAFT | 15 percent | 45 degrees | Documents under review |
| CONFIDENTIAL | 12 percent | 45 degrees | Restricted circulation |
| SPECIMEN | 25 percent | 45 degrees | Templates and examples |
| Client name | 10 percent | 0 degrees | Traceable proofs |
How to watermark a PDF
- 1
Add your document
Drop a .pdf file onto the drop area or click to choose one. It is read on your device and never uploaded.
- 2
Type the watermark text
One or two words in upper case reads best. DRAFT and CONFIDENTIAL are the two most common choices.
- 3
Set opacity, angle and size
Start at 15 percent opacity and 45 degrees, then adjust the size until the mark spans most of the page.
- 4
Stamp and download
Press the button to mark every page, then download the stamped copy. Your original file is unchanged.
Related tools worth bookmarking
Sources and further reading
- pdf-lib documentationThe library used here to embed a font, set a graphics state opacity and draw rotated text onto a page.pdf-lib.js.org
- ISO 32000-2, the PDF specificationDefines page content streams and the extended graphics state that carries the transparency value.iso.org
- MDN: Using files from web applicationsHow a browser reads a dropped file locally, which is why the document never needs to be uploaded.developer.mozilla.org
Frequently asked questions
Common questions about the pdf watermark tool.
Not easily by a normal reader, because it is drawn into the page content rather than kept as a separate removable layer. Someone with an editing application and enough determination can still strip it, so treat the mark as a clear signal rather than as protection.
Between 10 and 20 percent works for documents people still have to read. Go higher only for a specimen or sample that is not meant to be worked with, and avoid going below 8 percent because the mark can disappear when the page is printed.
No. Existing content is never re encoded. A short drawing instruction is appended to each page, so images keep their original bytes, text stays selectable and searchable, and the output file is only marginally larger than the input.
Not with this PDF watermark tool, which draws text only. For a logo, place the image into the document in the application that produced it, or use an image editor to build a combined mark before exporting the file to PDF.
Every page in the document is marked. If you need a mark on a subset, extract those pages into their own file first, stamp that file, and merge the parts back together in the original order afterwards.