BrowserTools
Advertisement
Home / PDF / Add Watermark to PDF

Add Watermark to PDF

Stamp a diagonal text watermark like CONFIDENTIAL across every page of a PDF, locally in your browser.

Loading Add Watermark to PDF… If nothing happens, please enable JavaScript.

A watermark is a semi-transparent piece of text or graphics placed over the content of a document to signal its status, ownership, or sensitivity. On a PDF it is typically a word such as CONFIDENTIAL, DRAFT, SAMPLE, or a company name, drawn diagonally across the centre of every page in a light gray so the underlying text remains readable. Watermarks serve two roles at once. They communicate intent at a glance, and they discourage casual misuse, because a recipient who screenshots or reprints the document carries the mark with it.

Frequently asked questions

Are my files uploaded to a server?
No. The watermark is composited entirely inside your browser using pdf-lib. Your PDF is read from your local disk, the text is drawn onto each page in memory, and the finished file is downloaded directly to your device. Nothing is ever transmitted over the network, so even highly confidential documents stay private.
Can I change the watermark text?
Yes. The text field defaults to CONFIDENTIAL, but you can type anything, such as DRAFT, SAMPLE, COPY, or your company name. The tool measures the chosen text and scales it so it spans most of the page diagonal, so short and long words both look balanced across the page.
How light or dark can I make the watermark?
An opacity slider lets you choose a value between 0.1 and 0.5. Lower values produce a faint, barely there mark that keeps the underlying text fully readable, while higher values make the watermark more prominent. The colour is a neutral mid gray, which reads clearly over both light and dark page content.
Will the watermark appear on every page?
Yes. The tool loops over every page in the document and draws the same diagonal watermark on each one, regardless of page size or orientation. The text size is recalculated per page based on that page's width, so it stays proportional even in mixed portrait and landscape documents.
Is the watermark permanent once applied?
The watermark is drawn directly into each page's content stream, so it is part of the page itself in the downloaded file rather than a removable annotation layer. It will display and print in any PDF viewer. Note that this is a visible deterrent, not encryption or copy protection, and a determined editor could still remove it.
Does adding a watermark reduce the document's quality?
No. The original text, vector graphics, and images are untouched. The watermark is simply drawn on top using a vector font, so it adds no compression artefacts and only a tiny amount to the file size. Everything underneath remains as sharp as it was in the source PDF.
What input file formats does the tool accept?
It accepts standard PDF files (.pdf) compatible with PDF versions 1.0 through 2.0. Documents produced by Word, LibreOffice, Google Docs, Acrobat, design software, scanners, and web browsers all work. Image only scanned PDFs are watermarked the same way, since the mark is drawn over whatever the page contains.
Does this work with password-protected PDFs?
PDFs with an owner (permissions) password that restricts modification cannot be altered without that password. If the file only requires a password to open and you can view it normally, watermarking may succeed depending on the encryption mode used. Always make sure you have the right to modify the document.
Can I watermark many PDFs at once?
The browser interface processes one file at a time. For bulk watermarking, pdf-lib is available as an npm package and can be scripted in Node.js to stamp the same text across hundreds of files in a single run. The drawing logic is identical to what powers this browser tool.

About Add Watermark to PDF

This tool draws a real text watermark into the page content using pdf-lib. For each page it embeds the Helvetica Bold standard font, measures the page width, and scales the text so it spans most of the diagonal. The text is rotated roughly 45 degrees, painted in a neutral gray, and set to the opacity you choose between 0.1 and 0.5. Because the watermark becomes part of the page drawing instructions rather than a separate layer, it travels with the file wherever it goes and appears in every viewer, in print, and in any copy made from the output.

Everything happens inside your browser. Your PDF is read from local disk, the watermark is composited in memory, and the finished file downloads straight back to your device. Nothing is uploaded, which matters because the documents people most often watermark, contracts, financial statements, design proofs, internal reports, are exactly the documents that should never pass through a third party server. You stay in control of the file from start to finish, and the operation works offline once the page has loaded.

From Paper Pulp to Pixels: The Long History of the Watermark

The word watermark comes from a genuine mark left in paper while it was still wet. In thirteenth century Italy, papermakers pressed thin wire designs into the mould so that, as the pulp drained and dried, those areas became slightly thinner and let more light through. Held up to a window, the paper revealed the maker's symbol. These true watermarks identified the mill, certified quality, and over centuries became the basis for anti-counterfeiting features in banknotes and official documents, where the see-through image is still produced by varying paper thickness.

The digital watermark borrows the metaphor but works quite differently. A visible digital watermark, like the diagonal CONFIDENTIAL stamp this tool draws, is simply content composited over the page. Far more subtle are invisible digital watermarks, which hide identifying data inside the pixels of an image or the structure of a file in ways the eye cannot detect but software can later recover. Stock photo agencies, film studios, and broadcasters use these to trace leaks back to the exact account or screening that a copy came from.

In the PDF world there is an important distinction between a watermark drawn into the page content and one added as an annotation or optional content group. Content stream watermarks, the kind produced here, are baked into the page and print everywhere. Annotation based watermarks can be toggled or stripped more easily by editors. Professional preflight tools sometimes flag watermarks that sit on a separate optional content layer, because in regulated industries a mark that a viewer can switch off may not satisfy the requirement that every printed copy carry the notice.

Advertisement
Advertisement
Advertisement