Skip to content
@groupdocs-watermark

GroupDocs.Watermark Product Family

Comprehensive document watermark generator and removal APIs for PDF, Images, Microsoft Word, Excel, PowerPoint and Visio documents

GroupDocs.Watermark

Document Watermarking API for 40+ Document and Image Formats

GroupDocs.Watermark is an on-premise document-watermarking API that adds text and image watermarks to PDF, Word, Excel, PowerPoint, Visio, email and image files - with control over position, size, rotation, opacity, tiling and locking - and searches, edits and removes the watermarks a document already carries, including ones added by other tools. SDKs for .NET, Java, Node.js and Python.

Product Page Docs Demos API Blog Search Support Temp License

Latest Watermark News & Updates

Supported Platforms & Repository Groups

.NET Document Watermarking (C#, ASP.NET, WinForms)

Add, search, edit and remove watermarks in PDF, Office, Visio, email and image files on .NET Framework 4.5+ and .NET 6, 8 and 10.

using GroupDocs.Watermark;
using GroupDocs.Watermark.Watermarks;

using (var watermarker = new Watermarker("document.pdf"))
{
    var watermark = new TextWatermark("Confidential", new Font("Arial", 36));
    watermark.ForegroundColor = Color.Red;
    watermark.Opacity = 0.5;
    watermarker.Add(watermark);
    watermarker.Save("watermarked.pdf");
}

Java Document Watermarking (Maven, Spring)

Native Java library for watermarking PDF, Office, Visio, email and image files.

import com.groupdocs.watermark.Watermarker;
import com.groupdocs.watermark.watermarks.Color;
import com.groupdocs.watermark.watermarks.Font;
import com.groupdocs.watermark.watermarks.TextWatermark;

// Add a text watermark to a PDF
Watermarker watermarker = new Watermarker("document.pdf");
TextWatermark watermark = new TextWatermark("Confidential", new Font("Arial", 36));
watermark.setForegroundColor(Color.getRed());
watermark.setOpacity(0.5);
watermarker.add(watermark);
watermarker.save("watermarked.pdf");
watermarker.close();

Node.js Document Watermarking (Node.js via Java)

Add watermarking to Node.js services and scripts with the Java engine.

const groupdocs = require('@groupdocs/groupdocs.watermark');

// Add a text watermark to a PDF
const watermarker = new groupdocs.Watermarker('document.pdf');
const watermark = new groupdocs.TextWatermark('Confidential', new groupdocs.Font('Arial', 36));
watermark.setForegroundColor(groupdocs.Color.getRed());
watermark.setOpacity(0.5);
watermarker.add(watermark);
watermarker.save('watermarked.pdf');
watermarker.close();

Python Document Watermarking (Python via .NET)

A self-contained Python package with the .NET runtime embedded: pip install groupdocs-watermark-net, Python 3.5 - 3.14.

from groupdocs.watermark import Watermarker
from groupdocs.watermark.watermarks import TextWatermark, Font, Color

with Watermarker("document.pdf") as watermarker:
    watermark = TextWatermark("Confidential", Font("Arial", 36.0))
    watermark.foreground_color = Color.red
    watermark.opacity = 0.5
    watermarker.add(watermark)
    watermarker.save("watermarked.pdf")

MCP Server for AI Agents (Claude, Cursor, Copilot)

Let AI agents watermark documents through the GroupDocs engine, locally over MCP: no uploads, works in evaluation mode out of the box and with your existing license.

# Install and run in one command (.NET 10), then ask your agent:
dnx GroupDocs.Watermark.Mcp --yes

"Add a diagonal CONFIDENTIAL watermark to every PDF in my contracts folder." "Find the old draft watermarks in report.docx and remove them."

MCP documentation | NuGet | Docker | MCP Registry

Business Use-Cases

  • Stamp "Confidential" or "Draft" across contracts, NDAs and reports before they leave the company.
  • Brand outgoing documents with a logo watermark, tiled or placed per page.
  • Lock watermarks in Word documents so recipients cannot edit or delete them.
  • Find and remove outdated watermarks, including ones added by other tools, in bulk.
  • Watermark page previews for document portals and review workflows.

API Key Features & Benefits

  • 40+ formats: PDF, Word (DOC, DOCX, RTF, ODT and templates), Excel (XLS, XLSX and templates), PowerPoint (PPT, PPTX and shows), Visio (VSD, VSDX and more), email (EML, EMLX, MSG, OFT) and images (PNG, JPG, BMP, GIF, TIFF, WEBP, JPEG 2000).
  • Text and image watermarks with font, color, opacity, rotation, alignment, margins, sizing and tiling.
  • Format-specific placement: PDF artifacts and annotations, slide and worksheet backgrounds, headers and footers, Visio pages, locked Word sections.
  • Search watermarks by text, regular expression, image similarity or formatting, then edit or remove them.
  • Document info and page previews; password-protected documents.

Getting Started

  • .NET: dotnet add package GroupDocs.Watermark
  • Java: add com.groupdocs:groupdocs-watermark from the GroupDocs repository, https://releases.groupdocs.com/java/repo/
  • Node.js: npm install @groupdocs/groupdocs.watermark
  • Python: pip install groupdocs-watermark-net
  • Run the sample projects from the repositories above to add, search and remove watermarks.

Technical Support & Resources

Tags

document-watermark pdf-watermark add-watermark remove-watermark watermark-search content-protection watermarking-api python mcp mcp-server ai-agents

Pinned Loading

  1. GroupDocs.Watermark-for-.NET GroupDocs.Watermark-for-.NET Public

    GroupDocs.Watermark for .NET examples, plugins and showcase projects

    16 7

  2. GroupDocs.Watermark-for-Java GroupDocs.Watermark-for-Java Public

    GroupDocs.Watermark for Java examples, plugins and showcase projects

    14 3

  3. GroupDocs.Watermark-Docs GroupDocs.Watermark-Docs Public

    Public documentation for GroupDocs.Watermark

    Batchfile 6

Repositories

Showing 10 of 14 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…