How to Apply Different Watermarks to the Same PDF in Batch
Question details
The user wants to automatically generate multiple copies of a single PDF document, each stamped with a unique watermark sourced from an Excel spreadsheet containing 100 different codes.

- Product
- PDF Editor
- Device & OS
- not provided
- Scenario
- Distributing a document where each recipient gets a uniquely watermarked copy to track distribution or identify ownership.
- Observed behavior
- Standard PDF watermark features apply the same static text or image to all pages or files. There is no native interface to pull dynamic values from an Excel list into separate output PDF files automatically.
Organize your list of watermark codes in a clean Excel spreadsheet with a clear column header (e.g., 'WatermarkCode'), and ensure your original document is finalized before beginning the batch process.
Use Mail Merge in a Word Processor
Convert your PDF to a Word document and use the Mail Merge feature to pull watermark data from Excel, then export each merged result back to PDF.
Since standard PDF editors do not natively support database merging for watermarks, converting the document to a word processor format provides the most accessible workaround without needing to write code.
Open your PDF in a PDF editor or converter tool and export it as an editable Word document (.docx).
In the converted Word document, insert a Text Box or WordArt. Format its layout to 'Behind Text', change the font color to light gray, and set a low opacity.
Navigate to the Mailings tab, click 'Select Recipients' (or 'Open Data Source'), and import your Excel file containing the 100 watermark codes.
Place your cursor inside the watermark text box and click 'Insert Merge Field'. Select the column header that contains your watermark codes.
Click 'Finish & Merge' to generate individual documents for each code, then batch export or save these individual documents as new PDF files.

Use Adobe Acrobat JavaScript and Action Wizard
For advanced users, Acrobat allows custom JavaScript to loop through a predefined array of codes, apply watermarks, and save unique copies.
Use Dedicated PDF Mail Merge Software
Utilize specialized software or plugins designed specifically to merge Excel data directly onto PDF templates without coding.
Batch Create Watermarked PDFs with WPS Office
WPS Office provides a seamless ecosystem to convert your PDF to a document, link your Excel spreadsheet via Mail Merge, and batch-export uniquely watermarked PDFs—all within one lightweight application.
- 1. Convert PDF to Word: Open your PDF in WPS Office and use the 'PDF to Word' tool in the Tools tab to create an editable template.
- 2. Connect Your Data: Go to the 'References' tab, click 'Mail Merge', then 'Open Data Source', and select your Excel file containing the watermark codes.
- 3. Insert the Dynamic Watermark: Insert a Text Box, set its layout to 'Behind Text' with low opacity, and click 'Insert Merge Field' to add your watermark code variable.
- 4. Batch Export to PDF: Click 'Merge to Different New Document' to generate the 100 unique files, which can then be directly saved or exported as PDFs within WPS Office.

Frequently Asked Questions
Can standard PDF editors natively read Excel files for watermarking?
No. Standard 'Add Watermark' tools in most PDF editors apply the same static text or image to all selected files. Pulling dynamic data from Excel requires custom JavaScript workflows or mail-merge features.
Will exporting 100 PDFs via mail merge degrade the document quality?
No, if you use a high-quality word processor like WPS Office or Microsoft Word, the exported PDFs will retain the original text formatting, vector graphics, and resolution of the template document.
How do I make the merged text look like a real watermark?
When inserting the dynamic merge field inside a text box or WordArt, format the object's layout to 'Behind Text', change the text color to a light gray, and adjust the element's transparency or opacity to around 15-30%.
Can I add both a dynamic code and a static logo as watermarks simultaneously?
Yes. You can insert a static image (like your company logo) into the document's header/footer or background, and separately insert the dynamic text merge field for the unique codes using the mail merge tool.




