PDFCloak
LOCAL
HomeAdd Watermark

Add Watermark

Add text, logos, or visible signatures. Stamp every page.

In-browserNo upload

This tool stamps a text or image watermark across every page of a PDF — free, in your browser, with nothing uploaded to any server. A watermark tells everyone who sees your document what its status is: Draft. Confidential. Sample. Do Not Distribute. It is the simplest way to communicate intent without relying on someone reading a cover page or email disclaimer. This guide covers how PDF watermarks work internally, what choices you have, and what limitations exist.

OUTPUT SETTINGS
Batch mode
Local-only session
Files processed inthis browser tab
Bytes sent to server0 / 0
Tab close discardseverything
Enginepdf-lib · client-side

This tool stamps a text or image watermark across every page of a PDF — free, in your browser, with nothing uploaded to any server. A watermark tells everyone who sees your document what its status is: Draft. Confidential. Sample. Do Not Distribute. It is the simplest way to communicate intent without relying on someone reading a cover page or email disclaimer. This guide covers how PDF watermarks work internally, what choices you have, and what limitations exist.

When to use this tool

Watermarks serve two broad purposes: status communication and deterrence.

Status communication is the most common use. You are circulating a document that is not final, and you need readers to understand they are looking at a draft. Or you are sharing sensitive material and need a visible reminder that it is confidential. A diagonal text stamp accomplishes this instantly.

Deterrence is softer. A watermark does not prevent copying — someone can always screenshot or retype content. But it discourages casual redistribution. When your name or company logo is stamped across every page, people think twice before forwarding the document to unauthorized readers.

Specific scenarios:

  • Marking contracts as DRAFT before final signatures
  • Labeling financial reports as CONFIDENTIAL for board distribution
  • Stamping SAMPLE on product documentation shared with prospects
  • Adding a company logo to internal documents before external sharing
  • Placing DO NOT COPY on exam papers or proprietary training materials
  • Adding date stamps to time-sensitive documents so outdated copies are obvious

How watermarks work in PDF

A PDF page has a content stream — a sequence of operators that tell the viewer what to draw and where. Adding a watermark means appending (or prepending) additional operators to that stream.

The graphics state. Before drawing the watermark, we push a new graphics state onto the stack using the q operator. This isolates our watermark instructions from the page's existing content. When we are done, Q pops the state back, leaving the original graphics state untouched.

Setting transparency. PDF supports transparency through Extended Graphics State objects (ExtGState). We create an ExtGState dictionary with a /CA entry (for stroking opacity) and a /ca entry (for non-stroking opacity), both set to your chosen value between 0 and 1. The gs operator activates this state before we draw anything.

Positioning and rotation. The watermark's position is controlled by a transformation matrix set with the cm operator. For a diagonal watermark, we apply a rotation (typically 45 degrees counterclockwise) and a translation to center the text on the page. The coordinate system origin in PDF is the bottom-left corner of the page, so centering requires knowing the page dimensions.

Drawing text. Text watermarks use the BT (begin text), Tf (set font and size), Tj (show text string), and ET (end text) operators. The font must be referenced in the page's resource dictionary. We use standard PDF fonts (Helvetica, Times, Courier) because they are guaranteed to be available in every PDF viewer without embedding font files.

Overlay vs. underlay. If we append watermark operators after the existing content stream, the watermark draws on top of everything. If we prepend them before the existing content, the watermark draws behind everything. Overlay is the default for most use cases because it guarantees visibility even over images. Underlay works better when you want the watermark visible in margins and white space but not obscuring content.

Repeated references. For efficiency, we define the watermark appearance once as a Form XObject and reference it from each page with a Do operator. This means a 200-page document does not store 200 copies of the watermark drawing instructions — it stores one definition and 200 single-line references.

Common issues

Watermark appears behind images. This happens when the watermark is added as an underlay (prepended to the content stream) and the page contains images that paint over it. Solution: use overlay mode, which draws the watermark after all other content.

Watermark is invisible on dark pages. A white or light-gray watermark on a dark background or full-bleed photograph is nearly invisible. If your pages have dark backgrounds, use a lighter color with higher opacity or switch to a contrasting color.

Font not rendering in some viewers. This occurs when a non-standard font is specified without embedding. Stick with Helvetica, Times, or Courier for maximum compatibility. These three font families are part of the PDF specification and must be supported by every conforming viewer.

Opacity behaves differently in older viewers. Transparency in PDF was introduced in version 1.4 (Acrobat 5). Extremely old viewers may ignore the ExtGState opacity settings and render the watermark at full opacity. In practice this affects almost no one today, but it is worth knowing if your audience uses legacy software.

Watermark positioned incorrectly on mixed page sizes. A document with both letter and A4 pages, or pages in landscape and portrait orientation, needs per-page coordinate calculations. A watermark centered on a letter page (612 by 792 points) will be off-center on an A4 page (595 by 842 points). Our tool reads each page's dimensions individually and adjusts the transformation matrix accordingly.

Scanned PDFs with rotation flags. Some scanners produce pages that are physically stored in landscape but display in portrait via a /Rotate entry in the page dictionary. The watermark must account for this rotation flag, otherwise it appears sideways. We read the /Rotate value and adjust our transformation matrix to match the visual orientation.

What to expect from our tool

You choose your watermark text, font size, color, opacity, rotation angle, and position. The preview shows you exactly how the stamp will look on the first page before you apply it to the entire document.

Processing is fast because watermarking only modifies content streams — it does not re-encode images or re-render pages. A 100-page document watermarks in under a second. The output file size increases by less than 1 KB per page for text watermarks.

The watermarked PDF retains all original properties: bookmarks, links, form fields, and embedded attachments remain intact. We do not flatten or re-process anything beyond adding the watermark operators.

For repeating watermarks (tiled across the page), you can set a grid pattern that stamps the text multiple times at regular intervals. This is common for CONFIDENTIAL documents where you want the stamp visible no matter how the page is cropped or zoomed.

One thing this tool does not do: it cannot add watermarks that are impossible to remove. A determined person with pdf-editing software can locate and delete the watermark operators from the content stream. If you need tamper-proof protection, combine watermarking with password protection so that casual editors cannot modify the file.

Related tools
What the tool does

Built for documents you can't afford to lose.

Runs in your browser
No server round-trip. Your file is processed by WebAssembly right in this tab.
Preserves quality
No re-encoding by default. Structure, links, and metadata survive intact.
Nothing to leak
Files never leave your device. Close the tab and everything is gone.
Add Watermark · FAQ

About this tool, specifically.