HandyBench

Add Watermark to PDF

Stamp text or a logo across your PDF pages.

How to use the Add Watermark to PDF

  1. 1 Upload your PDF.
  2. 2 Choose a text or image watermark and set position, size, color and opacity.
  3. 3 Apply to all pages or a range, then download the watermarked PDF.

How the stamp is drawn

The tool loads your PDF with pdf-lib and draws the watermark on top of the existing page content, which is why it never sits "behind" the text. For a text watermark it embeds the built-in Helvetica Bold font, measures the string with widthOfTextAtSize, and then places it according to the position you chose. Opacity is applied as a PDF transparency value, so the page content shows through.

Text positions

PositionWhat is drawn
DiagonalOne copy rotated 45 degrees, with its midpoint at the exact centre of the page
CenterOne horizontal copy centered across the page
TiledCopies rotated -30 degrees, repeated with a horizontal gap of the text width plus three font sizes and a vertical gap of four font sizes
CornersHorizontal text 28 pt from the chosen edges

Image watermarks (PNG or JPG) support center and the four corners, a scale from 5 to 100 percent of the largest size that fits the page, and the same opacity slider, with 24 pt padding in corners.

Worked example

With the defaults, "CONFIDENTIAL" at 48 pt in Helvetica Bold measures 357.3 pt wide. On a US Letter page (612 x 792 pt), the diagonal mode works out where the text must start so that, after the 45 degree rotation, the middle of the string lands on the page centre at (306, 396). The tool computes the start point from the text width and the font's cap height, so the mark stays centred at any font size.

Limits and gotchas

  • Latin characters only. The standard font uses WinAnsi encoding. Before drawing anything, the tool checks your text and, if it contains a character outside that set (Cyrillic, Arabic or CJK, for example), stops and lists the characters it cannot draw. Use an image watermark for those scripts.
  • Long text runs off the page. Nothing shrinks the text to fit, so a long phrase at 100 pt will be cropped at the page edge. Lower the font size.
  • Tiled mode on big files. It draws dozens of copies per page, so a long document grows in size.
  • Not tamper-proof. The watermark is an ordinary object in the page, so someone with an editor can delete it.
  • Page range. Untick "Apply to all pages" and use 1-3, 5 to stamp only those pages.

For photos rather than PDFs, use Watermark Image.

Examples

  • ▸ Stamping "CONFIDENTIAL" diagonally across a draft contract.
  • ▸ Tiling a © copyright notice over every page of a report.
  • ▸ Adding a company logo watermark to an invoice template.

Frequently asked questions

Can I watermark only some pages?

Yes. Turn off "apply to all pages" and enter a page range like "1-3, 5" to watermark only those pages.

Can I use my logo as the watermark instead of text?

Yes. Switch to image mode and upload a PNG or JPG — a PNG with a transparent background works best combined with the opacity slider. Image watermarks can sit in the center or any corner and scale from 5 to 100 percent of the page.

Why does my watermark text fail with a non-English alphabet?

Text watermarks use the built-in Helvetica Bold font, which only covers Latin (WinAnsi) characters. If your text contains anything else, such as Cyrillic, Arabic or Chinese, the tool tells you which characters cannot be drawn. Use an image watermark of that text instead.

Is the diagonal watermark centered on the page?

Yes. The diagonal text is rotated 45 degrees around its own midpoint, so the middle of the string sits at the centre of each page. Choose Center instead for a horizontal mark.

Can the watermark be removed afterward?

A semi-transparent, tiled or diagonal watermark is much harder to remove than a small corner mark, but no watermark on an editable PDF is completely unremovable. It is meant to deter casual reuse and mark ownership, not to encrypt the file.

Are my PDFs uploaded to a server?

No. The watermark is applied entirely in your browser with pdf-lib, so your document never leaves your device.