What adding a watermark to a PDF means
To add a watermark to a PDF means drawing semi-transparent text on top of every page, so anyone who opens, prints or forwards the document can see how it should be treated. The classic marks are status words — CONFIDENTIAL, DRAFT, SAMPLE, DO NOT COPY — and ownership marks, such as a company name, a client name or a date. The watermark is part of the page content: it prints with the page, it shows in every reader, and it travels with the file wherever the file goes. When people search for a way to watermark a PDF online, this visible, travelling mark is almost always what they mean.
Technically, this tool loads your document with the pdf-lib library, embeds a standard bold font, and draws your text once — or many times, in tiled mode — on each page, with the opacity, rotation and colour you chose. Nothing about the underlying pages is rewritten: the original text, images and layout stay exactly as they were, and a new layer of drawing instructions is added on top. That is why the job is fast and why quality cannot drop. It is also why the honesty section of this guide matters: an added layer can be removed by someone determined, and this page says so plainly rather than selling you a false sense of security.
How to add a watermark, step by step
The workflow has four steps. Step one: add your PDF with the file picker. The tool opens it locally, counts the pages and measures the first page so it can estimate how many stamps a tiled layout will need. Step two: type your watermark text and style it — size, opacity, rotation, placement and colour are all covered in the next two sections. Keep the text short: one to three words stamp cleanly at large sizes. Step three: read the summary panel. It restates your text, settings, page count and stamps per page, so a typo or a wrong angle is caught before anything is built. Step four: click Add Watermark and save the download, which is named after your original with “-watermarked” added.
Two habits make the result reliable. First, open the downloaded file and look at two or three pages — the first, a middle page and the last — before you send it anywhere. Watermarking is uniform by design, so if those pages look right, every page is right. Second, if the document will also be protected with a password, watermark first and protect second: an encrypted file cannot be opened here at all, so the order of operations is unlock, watermark, then re-protect with our Protect PDF tool if needed. Attempts are unlimited and your original is never modified, so experimenting costs nothing.
Text, size, colour and opacity explained
Text. Say the status, not a sentence. CONFIDENTIAL tells a reader the handling rules; DRAFT tells them the content may change; SAMPLE and SPECIMEN tell them the document is an example; a name tells them whose copy it is. Personalised marks — “Prepared for A. Client” shortened to a name — are quietly effective because a leaked copy identifies its source. Avoid long phrases: at the sizes that look good, a long line either shrinks to fit nothing or sprawls off the page.
Size is measured in points, the same unit PDF uses for fonts. On an A4 or Letter page, 36 to 60 points is the working range for a centre stamp: large enough to read across a desk, small enough to sit behind the content politely. Tiled layouts usually want less — 24 to 40 points — because the repetition does the work. Opacity is how solid the text is: 10% is a whisper, 50% is a shout. The everyday band is 15% to 30%. Colour carries meaning as well as style: grey is neutral and professional, red reads as a warning or restriction, blue suits internal and technical documents, and a dark neutral works when the mark is also a branding element. The custom picker accepts any colour, so an exact house colour is possible.
Centre or tiled: choosing a placement
Centre placement draws one stamp in the middle of each page. It is the right choice for most office documents: reports, letters, contracts and statements where the reader should register the mark once and then read through it. A single centre stamp at a diagonal angle is the most recognised watermark in business — it is what readers expect a DRAFT to look like, and expectations are half of what a watermark does.
Tiled placement repeats the text in a grid across the whole page, with the rows offset so the pattern covers evenly. Choose tiling when a single stamp could be avoided: drawings and plans that might be cropped, price lists and catalogues that might be screenshotted in part, certificates and exam papers where every corner matters, and photographs or proofs where a corner crop is the obvious cheat. Tiling is visually busier, so drop the opacity a few points and consider a smaller size. The tool estimates the stamps per page for your first page and shows the count in the summary — on a small page with short text the grid is sparse; on a large page with long text it is dense, and both are normal.
Opacity and rotation guidance by use case
The settings interact, so choose them as a set rather than one at a time. The table below collects the combinations that work for the jobs this tool is used for most. They are starting points, verified against this page during its own testing — run the tool, look at the result, and adjust one notch at a time. Diagonal means the −45° setting unless a row says otherwise.
| Use case | Opacity | Rotation | Placement | Colour |
|---|---|---|---|---|
| Draft shared for internal review | 20% | Diagonal −45° | Centre | Grey |
| Confidential contract or statement | 25–30% | Diagonal −45° | Centre | Red or grey |
| Sample or specimen document | 30–40% | Diagonal −45° | Tiled | Grey or red |
| Price list marked do not copy | 20–25% | Diagonal −45° | Tiled | Grey |
| Approved final, lightly branded | 10–15% | Horizontal 0° | Centre | House colour |
| Exam paper or controlled form | 25% | Diagonal −45° | Tiled | Blue |
| Client proof or review copy | 20% | Diagonal −45° | Centre | Grey |
Reading the table: the more the document must resist casual reuse, the higher the opacity and the more the layout leans to tiling. The more the document must simply be labelled, the lighter and simpler the mark can be. If a row almost fits, take its opacity and placement and change only the colour — colour is the cheapest setting to personalise and the least likely to break readability.
Worked example: marking a draft report
Here is the exact job this page was verified against during its own testing. A test PDF was generated with three pages of different sizes — a full A4 page, a smaller page, and a small square page — so placement maths had to cope with all three. The watermark text was set to CONFIDENTIAL, size 48, opacity 25%, diagonal −45°, centre placement. The tool reported 3 pages to watermark and 1 stamp per page before anything was built. The downloaded result was then re-opened and inspected: it contains exactly 3 pages, the file is larger than the original because it carries the embedded font and the new drawing instructions, and the decoded content stream of the pages contains the watermark text operator drawing “CONFIDENTIAL” — the mark is really in the file, not a preview trick.
The same test was run a second time with the small square page on its own and diagonal placement, the combination most likely to break naive centring maths, and the stamp was drawn without error. The example generalises directly: pages keep their order and their content, every page gains the same mark, and the arithmetic is always pages out equals pages in. If you ever doubt a result, open it, flip to any page, and the mark should be there at the angle you chose; then check the file name ends in -watermarked so you know you are looking at the copy, not the original.
Privacy: your file never leaves your device
Most tools that watermark a PDF online ask you to upload your document to their server, stamp it there, and offer it back for download — which means a copy of your contract, statement or ID document sits on a machine you know nothing about, for a retention period you cannot verify. That is a strange bargain for a document you are marking CONFIDENTIAL. This page works the other way. The pdf-lib library is loaded with the page and runs as ordinary JavaScript inside your browser tab. Your file is read from your device with the browser File API, stamped in memory, and handed back as a download generated locally. No upload takes place at any step — the privacy is not a policy promise, it is the architecture of the page. You can confirm it yourself: load the page, switch your device to flight mode, and the tool still works end to end.
The consequences are practical. There is no account holding a history of your documents and no server copy to be breached or quietly kept. Closing the tab clears everything, because the file existed only in that tab memory. The flip side is equally plain: because nothing is stored, the page cannot recover a result for you after you close it — save the download before you close the tab. For documents sensitive enough to need a watermark, this trade is the right one, and it is the same design every PDF tool on this site follows.
Honest limits: a watermark is not protection
This section exists because watermark tools are often sold with implications they cannot keep. A visible watermark added this way is an overlay. The text is drawn as ordinary page content on top of your pages, which means a person with a PDF editor can open the file, select the watermark objects and delete them, or copy the underlying pages into a fresh file without them. Screenshots and re-prints can also shed a light mark. None of that makes watermarking pointless — it makes its real purpose clear. A watermark communicates: it stops honest mistakes, deters casual forwarding, labels drafts so they are not mistaken for finals, and identifies whose copy leaked. Most document mishandling is careless, not criminal, and a watermark is exactly the right strength for carelessness.
What a watermark is not: it is not encryption, because the content is fully readable; it is not DRM, because nothing controls what readers can do with the file; and it is not legal protection, because a label creates no rights by itself — contracts, licences and the law do that. If a document genuinely must not be read by the wrong person, the control is a password: use our Protect PDF tool to encrypt it, and treat the watermark as the label on the locked box, not the lock. This page would rather lose a little shine than have you rely on a stamp for a job only encryption can do.
Encrypted and damaged PDFs
A password-protected PDF is encrypted: its contents are scrambled with a key derived from the password, and no tool can draw on its pages without first unlocking it — that is the entire point of the protection. When this page receives an encrypted file, pdf-lib cannot open it, and the tool tells you plainly that the file could not be read and may be encrypted. It does not guess, and it certainly does not crack anything. The legitimate route is simple: open our PDF Password Remover, type the password you know, and save the unlocked copy. Watermark that copy here, then re-protect it with Protect PDF if the finished document still needs a password. If the password is forgotten, there is no route — not here, and not anywhere honest — because the password is the key the content is locked with.
Damaged files fail the same honest way. A PDF truncated by a bad download, or corrupted on a failing drive, may refuse to open or may open with errors. The tool reports the failure rather than producing a silently broken result. Re-download or re-export a clean copy and try again. A related case: a file that is not a PDF at all — a Word document renamed, or a picture — will also be refused, because the picker accepts PDFs and the library checks what it is actually given. Convert first, with the Word to PDF or JPG to PDF tools, then stamp the result here.
Quality, file size and mixed page sizes
Because the tool adds a drawing layer instead of rebuilding pages, quality cannot drop: existing text stays selectable and searchable, images keep their original bytes and resolution, and vector drawings stay vectors. Print the watermarked file next to the original and the only difference is the mark itself. File size grows slightly — the output embeds the standard bold font once and adds a short instruction per stamp — typically a few kilobytes for a centre stamp, a little more for a dense tiled grid on many pages. If the result must be as small as possible, run it through the PDF Compressor afterwards; compression and watermarking do not interfere.
Mixed page sizes are handled per page, because the placement maths runs on each page own width and height: a landscape drawing page gets its stamp centred on that page, a small insert page gets its own, and rotated diagonal text is positioned from the same per-page measurements. Two honest caveats follow. First, a stamp sized for A4 can overwhelm a very small page — if your document mixes a tiny label page with full pages, check that page in the result and consider stamping the sections separately with the PDF Splitter and Merger. Second, pages that are themselves rotated in the file keep their rotation, and the watermark follows the page coordinate system, which is what readers expect. The practical limit is device memory: the file is held and stamped in the browser tab, so a very large PDF on a low-memory phone may struggle, while ordinary documents of a few hundred pages are handled in seconds.
Common mistakes and how to avoid them
Text too long. A sentence at 48 points will not fit a page width, so it sprawls or shrinks the visual balance. Keep it to a word or a short phrase; if you need a name and a date, use the name as the watermark and put the date in the file name. Opacity too high. A 50% stamp over dense text makes both hard to read — the mark wins and the document loses. Start at 20–25% and only climb if the result looks shy. Opacity too low on scans. The reverse trap: a 10% grey mark can vanish against a grey scanned background. Scanned pages often need 30% or a stronger colour.
Stamping the only copy. This tool never edits your original, but people then overwrite the original with the download when saving. Save the -watermarked file alongside the original until you have checked it. Expecting security. Sending a watermarked but unencrypted contract and treating the stamp as protection is the costliest mistake of all — re-read the honesty section, and encrypt anything that must stay unread. Watermarking after protecting. An encrypted file cannot be opened here; unlock, stamp, re-protect, in that order. Each of these mistakes is cheap to avoid and annoying to discover after the file has been sent.
Sources & References
- pdf-lib — the open-source library that opens your PDF, draws the watermark text on every page and saves the new file, entirely inside this page.
- pdf-lib on GitHub — the library source and documentation, including PDFDocument.load, embedFont, drawText with opacity and rotation, and save.
- MDN — File API: the File interface, how the browser represents a file you pick on your device.
- MDN — Blob: how the stamped PDF is packaged in the browser so it can be downloaded.
- MDN — URL.createObjectURL(): how the local download link for your watermarked PDF is created.
- MDN — FileReader: reading files stored on your own device from a web page, without any upload.
- W3C — File API specification: the standard behind reading local files in the browser.
Every figure in this guide was checked against the method described on this page, so you can reproduce each one exactly with the tool above. Sources note: all seven sources were verified live (HTTP 200) on the day this page was built; no substitutions were needed.