Watermark PDFs
Adds a large, semi-transparent text watermark such as CONFIDENTIAL or DRAFT across every page of a set of PDFs, writing watermarked copies.
Watermark PDFs writes one line of text across the middle of every page of every PDF in the input folder. By default it runs corner to corner, light grey at 15% opacity, and is sized to fit each page. It is placed as the page is displayed, so rotated, cropped and landscape pages come out right. The watermarked copies keep their original names and folders; the originals are not changed.
By default the watermark is drawn as letter shapes rather than text. It looks the same but is not found by searching, text extraction or copy and paste, so it does not add a word to every page of your search results or extracted text. Turn on searchable if you want it to be found.
Use it when
- Documents are to be released under a confidentiality regime and every page must show it.
- You are circulating drafts or review copies and want each page to be clearly marked as such.
- Scanned documents need a visible marking that does not hide the page content.
How to run it
- Choose the folder of PDFs as Input. Only
.pdffiles are watermarked. - Choose an Output folder outside the input folder.
- Type the watermark text, for example
CONFIDENTIALorDRAFT - NOT FOR SERVICE. - Adjust opacity, colour and layer if needed; the defaults suit most documents.
- Click Run.
- Click Open report, then open a few of the watermarked files to check the look before relying on the set.
Settings
Every setting has the same help beside it in the app. On the command line, pass each as --name value; ltk help watermark-pdfs lists them.
Settings
| Setting | What it does | Type and default |
|---|---|---|
Text--text |
Watermark text (plain keyboard characters). Plain keyboard characters only (A-Z, digits, punctuation). Accented letters and other symbols stop the run before it starts. |
textCONFIDENTIAL |
Angle--angle |
Diagonal (default): corner to corner on each page, as the page is displayed. Or an angle in degrees, e.g. 0 for horizontal or 45.diagonal runs from the bottom-left to the top-right corner of each page, so the angle differs between portrait and landscape pages. Type a number such as 0 for horizontal text or 45 for the same angle on every page. |
textdiagonal |
Opacity (%)--opacity |
How solid the watermark is, 1-100 percent. 15 is a light watermark that keeps the page readable. 1-100. The default of 15 is light enough to read through. Raise it for a bolder mark, especially with Behind. |
number15 |
Font size (pt)--font-size |
Text size in points. 0 (default) sizes the text to fit each page. 0 (default) sizes the text so it fills about 80% of each page. A fixed size (up to 500 points) gives the same size on every page, but long text may run off small pages. |
number0 |
Colour--colour |
Watermark colour. | choice: Grey, Red, BlueGrey |
Layer--layer |
Over: on top of the page. Behind: blended in under the page's text so it never obscures it. A plain underlay would be hidden by the image on scanned pages, so Behind is blended rather than placed underneath, and still shows on scans. Over lays the watermark on top of everything. Behind blends it so it only darkens the page: dark text shows through unchanged, and it still appears on scanned pages. |
choice: Over, BehindOver |
Searchable--searchable |
Write the watermark as real text, so searching the PDF finds it on every page. Off (default): it is drawn as letter shapes that look the same but are not picked up by search, text extraction or copy and paste. Off by default. Turn it on only if recipients need to find the watermark by searching. When on, the watermark text will also appear in any text extracted from the PDFs. |
yes/nofalse |
Common settings
| Setting | What it does | Type and default |
|---|---|---|
Input required--input |
Folder (or single file) to read. It is opened read-only and never modified. | folder empty |
Output required--output |
Folder for reports. Must not be inside the input folder. Each run gets its own sub-folder. | folder empty |
Recurse--recurse |
Include sub-folders. | yes/notrue |
Extensions--extensions |
Only process these extensions (e.g. .pdf, .docx). Empty means the tool's default set. | list empty |
Parallelism--parallelism |
Files processed at once. Use 1-2 for spinning disks or network shares. | number4 |
What you get
Each run creates its own folder inside the output folder, with the report watermark-pdfs.csv, errors.csv and manifest.json (see Run folders and manifests).
files\…: The watermarked PDFs, with the same names and folder structure as the input.watermark-pdfs.csv: One row per PDF: the number of Pages, the Destination of the watermarked copy and its MD5 hash.errors.csv: PDFs that could not be opened, for example because they are password-protected or damaged.
Report columns
RelativePathFileNamePagesDestinationMD5SourcePath
Check the result
- Open a sample of the watermarked files, including any landscape, rotated or scanned pages, and confirm the watermark is visible but the page is still readable.
- Check
errors.csv. Password-protected PDFs cannot be watermarked; remove the password with Decryption first. - Read the notes. If the watermark could not be drawn as shapes, a note says it was written as text instead, which means searching the PDFs will find it.
- Drawing the watermark as shapes needs the Arial font that comes with Windows. If it cannot be read, the tool falls back to searchable text and says so in the notes.
- The watermark is marked as a page artifact, so screen readers and tools that respect tagged PDFs can skip it.
- If you also need Bates numbers, you can run Bates Stamp on the watermarked copies.
- Watermarking changes the PDF, so the output files have different hashes from the originals. Keep the originals and the run's
manifest.jsonif you need to show what was changed. - With searchable on, the watermark word appears on every page for search and text extraction; that can swamp search results for words such as CONFIDENTIAL.
- The free edition watermarks up to 25 documents per run.
From the command line
The command line is part of LitTechKit Pro. See Command line.
ltk run watermark-pdfs --input "D:\Matter\For release" --output "D:\Matter\Watermarked" --text "CONFIDENTIAL" --opacity 20 --layer Behind
Related tools
- Bates Stamp: Stamps sequential Bates numbers and an optional legend (e.g. CONFIDENTIAL) on every PDF page, correctly placed on rotated and cropped pages, writing stamped copies with a Beg/End Bates report.
- Decryption: Removes known passwords from PDF, Word, Excel and PowerPoint files, writing unlocked copies and reporting which password number opened each file (the passwords themselves are never saved). Encrypted .docx/.xlsx/.pptx files are decrypted without Office, so the unlocked copy is the original document exactly.
- Flatten PDFs: Bakes form fields, comments and other annotations into the page so they can no longer be edited, hidden or deleted, writing flattened copies. Links are kept unless you choose otherwise. Annotations with nothing to draw, or not shown on screen, are left and reported. Comment text that is not shown on the page is saved to comments.csv.
- Combine PDFs: Combines PDFs into one: all of them, one per folder (e.g. an email with its attachments), or one per family by name. Each document is bookmarked, with its own bookmarks kept beneath.