Free plan
PDF Watermark
Stamp text, a logo or page numbers on every PDF page
About this tool
This tool puts text, a picture or page numbers on the pages of a PDF, for example CONFIDENTIAL or DRAFT. You choose where it goes, how see-through it is, its size and colour, and which pages get it. It can also lay another PDF over or under your pages, such as a letterhead.
For example, you stamp DRAFT across every page of a report that is not final yet.
How to use it
- Choose this tool.
- Add your PDF, and a logo picture or a second PDF if you want one.
- Type the watermark text, or choose page numbers.
- Choose the position, size, colour, how see-through it is and which pages.
- Press Generate, then download the new PDF.
What you get back
You get a new PDF with the watermark on the chosen pages, ready to download.
TEST IT LIVE
Try PDF Watermark in the Studio
One click opens the Studio with this tool already selected. Add your file and see the result in seconds.
Family
PDFs
Plan
Free
Method
POST
Endpoint
/v1/pdfs/watermark
Tool ID
pdfs.watermark
Authentication
API key
Accepts
PDF
Background jobs
Yes
Usage group
Pdf
For developers
Use it from your code
cURL
curl -X POST "https://app.h2i.davixlabs.io/v1/pdfs/watermark" \
-H "X-Api-Key: $DAVIX_H2I_API_KEY" \
-F 'file=@document.pdf' \
-F 'opacity=0.3' \
-F 'margin=24' \
-F 'position=center'Node.js
const { DavixH2I } = require('@davixlabs/h2i-sdk');
const h2i = new DavixH2I({ apiKey: process.env.DAVIX_H2I_API_KEY, baseUrl: process.env.DAVIX_H2I_URL });
const result = await h2i.pdfs.watermark({
"file": 'document.pdf',
"opacity": 0.3,
"margin": 24,
"position": "center"
});
console.log(result.data, result.requestId);PHP
<?php
require 'vendor/autoload.php';
$h2i = new \Davix\H2I\Client(['apiKey' => getenv('DAVIX_H2I_API_KEY'), 'baseUrl' => getenv('DAVIX_H2I_URL')]);
$result = $h2i->pdfs()->watermark([
'file' => 'document.pdf',
'opacity' => 0.3,
'margin' => 24,
'position' => 'center',
]);
echo $result->requestId;Documentation
Guides that use this tool
More in PDFs
