PDF Watermark

PDF

Add text watermarks to PDFs with custom font, size, color, opacity, rotation and position. Tile across all pages or place it in a corner, all browser-based.

Ready · 100% client-side

About PDF Watermark

This PDF watermark tool adds text watermarks to PDF documents locally in your browser using pdf-lib, so files never leave your device. It draws watermark text onto each page via drawText with control over font size, color (RGB), opacity (0 to 1), rotation and coordinates. Three layout modes are available: centered, tiled across the full page, and custom coordinates, plus a page-range selector so you can watermark only certain pages (e.g. 1-3,5). Typical labels include "Confidential", "Draft", "Sample" and "Internal Use". It is worth setting expectations: a text watermark is a semi-transparent overlay that deters unauthorized copying and aids traceability, but a determined editor can theoretically remove it, so treat it as protection-in-depth rather than encryption. Due to pdf-lib's built-in font limits, Latin and English text works out of the box while Chinese generally needs an embedded CJK font — English or pinyin labels are recommended. Watermarking never touches your original content and adds only a few KB to the file. Stacking order decides whether the mark is fully visible, the first thing to confirm. A watermark placed beneath background images or shapes is partly hidden by the content, and while most tools append above content, a file with a full-page background can still cover part of it. Check the first page, a page with images and the last page afterwards. Opacity must be tuned to the complexity beneath. A low value reads clearly on flat colour yet is nearly invisible on a photo, where higher opacity or text with an outline and shadow works better. Conversely, on information-dense images the mark should stay small, or it both harms reading and invites cropping away. Its boundary with marking source material: a watermark applies to the final layout for provenance and status, while marking a source file affects every later use. Watermark files meant for distribution and leave intermediate drafts unmarked, or editing means removing and reapplying, which costs more and risks more. Text extraction interference is an easily missed side effect. The mark is a text object on the page and extraction tools read it, so a consumer comparing or searching content must filter the watermark layer by position or colour. Tell the recipient that the layer exists rather than letting them mistake it for body text. Finally, keep parameters identical across pages when adding in bulk, including position, angle and opacity. Per-page tweaks make the mark sit differently on each page and read as a layout error. Where specific pages need the mark to avoid content, use one consistent scheme with a configurable position and record the exceptions rather than adjusting silently. How removable a watermark is depends on whether it is rasterised or an independent object. Added as a text or graphic object it can be located and deleted despite appearing on top, while one flattened into the page merges with the content and removal always damages quality. A watermark states provenance, so it is not a confidentiality measure; restrict circulation with permissions instead. A watermark also affects accessibility. A screen reader reads every text object on the page in turn, and if the mark is the largest text it may come first, so a listener hears "internal" before the body. For documents with accessibility requirements, mark it as decorative so it stays out of the reading order and the copy buffer.

How It Works Internally

Watermarking overlays content on each page, so the original objects are unchanged, though every page gains a drawing layer and the size grows slightly. Opacity and placement matter: too light is easily ignored or cropped, too heavy harms reading, and tiling resists simple cropping better than a single mark. The overlay also enters text extraction and can disturb later processing.

InputExtracting text after adding a translucent watermark
OutputThe watermark text comes out too — filter it by position or colour before comparing content downstream

Measured on This Page

Watermark lands in the content streamOutput is 1125 bytes over 2 pages and pypdf's extract_text reads WATERMARK-OK — the text is genuinely drawn into the page content stream, not merely layered over a preview
Page count preserved2 pages in, 2 pages out; nothing merged or dropped
Adjustable optionsText, size, opacity, angle, colour and tiling are adjustable, applied immediately
Downloadable outputApplying produces a fresh PDF blob for download; the original file is untouched

Geometry, not looks, is where stamps break: an anchor tuned on portrait A4 lands off-centre on a landscape page or a custom size, so the drawing has to be derived from each page's own box instead of copied from the first page. Rotation hides a second trap — spinning about the origin pushes the text outside the visible area unless the transform is first moved to the page centre. Keep expectations calibrated too: this is a visible deterrent, not access control; stopping copies takes encryption and permission flags.

How this was measured: A 400x600 document with 2 blank pages received the unique string WATERMARK-OK; the emitted PDF bytes were captured from the page and handed to pypdf, which searched each page's extract_text for that string. · Measured 2026-10-31

How to Use

  1. Open "PDF Watermark"
  2. Drop a PDF or click to browse for one
  3. Type the watermark text and adjust size, opacity and angle
  4. Pick a position and colour; the preview updates live
  5. Click "Apply watermark", then download the file

Use Cases

  • Confidential Marking — Add a "Confidential" watermark to internal contracts and financial statements to signal sensitivity and reduce leakage risk.
  • Draft Status — Stamp unfinished reports or proposals with "Draft" so incomplete versions are not mistaken for final.
  • Sample Protection — Watermark externally shared samples or demos with "Sample" to discourage unauthorised copying.
  • Copyright Notice — Add copyright information to courseware, e-books and white papers to assert ownership.
  • Exam Anti-Cheating — Watermark electronic exam papers with candidate names or IDs to trace the source of any leak.

FAQ

Can the watermark be removed?

The text watermark overlays page content and cannot be removed by simple text copy. However, professional PDF editors can theoretically delete it - watermarks serve mainly as a deterrent and traceability aid.

Are Chinese watermarks supported?

Due to pdf-lib's built-in font limitations, English and basic Latin characters are supported by default. Chinese watermarks require an embedded CJK font file - English or pinyin labels are recommended.

Can I watermark only some pages?

Yes. Specify pages by range (e.g. 1-3,5); only those pages get the watermark while the rest stay clean.

Can position and angle be customised?

Yes. Choose preset positions like centred or tiled, or set a custom rotation angle (e.g. 45° diagonal) and opacity to suit your needs.

Will the file get larger?

A text watermark is tiny - typically a few KB - so the impact on overall file size is negligible.

Will the watermark hide the body text?

By default the watermark is semi-transparent and faint enough to read through; you can also adjust placement and tile density to avoid covering key content.

The watermark is hidden behind content on some pages?

Watermarks layer above content (obscuring text) or below it (hidden by opaque images and fills). The common compromise is below-content with 10–20% opacity, visible on white areas without blocking anything.

How do I offset the watermark on every page?

A fixed position cannot stagger; use tiled mode to repeat the watermark across the page, or compute an offset from the page number. Tiling is the strongest deterrent (hard to crop out) but visually noisy — for documents prefer one corner at low opacity.