How to overlay a design template onto an existing pdf
- Step 1Design a frame/border template with a transparent centre — Build a single-page template at the document's size (A4/Letter, correct orientation) with your header, footer, border, and accents around the edges, and a fully transparent body where the document text will appear. Export it as a single-page PDF.
- Step 2Convert a PNG template if needed — The template must be a PDF. If yours is a PNG or JPEG, convert it with image-to-pdf onto a document-sized page first.
- Step 3
- Step 4Add the content PDF first, the template second — The first PDF is the base content; the second is the template overlay. Drop the content document first, then the template PDF, and check the order in the queue.
- Step 5Process and review legibility — Click Process 2 files. Because the template draws on top at 50% opacity, confirm the body text is still readable and the frame elements aren't washing over content. Keep templates light/frame-only for the cleanest result.
- Step 6Download and (optionally) compress — Save
yourdoc.stamp.pdf. Embedding a full template on every page increases file size, so run lossless compression if you'll email it.
Template overlay: assumptions vs reality
Two common beliefs about template overlays that don't hold for this tool.
| Common assumption | Reality in this tool |
|---|---|
| The template renders behind the content (background) | It renders on top of the content — there is no z-order setting |
| The template's opacity can be lowered so text shows through | Fixed 50% opacity; rely on a transparent body in the template instead |
| Different templates for different page ranges in one pass | One template, all pages — vary it by splitting and re-merging |
| The template auto-fills to the page size | It is fit-scaled (down only) and centred — match the page size to avoid drift |
| PNG/JPEG templates work directly | PDF only — convert with image-to-pdf |
Designing a template that overlays cleanly
Because the template draws above the content at 50% opacity, design matters more than tool settings.
| Template element | Guidance | Why |
|---|---|---|
| Body/content area | Fully transparent | Anything opaque there half-covers the document text |
| Frame / border | Keep near the page edges | Drawn on top, so an edge frame doesn't collide with body text |
| Header / footer bands | Confine to top/bottom strips | Leaves the centre clear for content |
| Colour intensity | Author bolder than target | 50% opacity lightens everything |
| Page size & orientation | Match the content exactly | Mismatches are fit-scaled and re-centred, misaligning the frame |
Free vs Pro limits (PDF tools)
Per-file limits; the content PDF and template PDF count separately.
| Limit | Free | Pro |
|---|---|---|
| Max file size (per PDF) | 2 MB | 50 MB |
| Page limit (per PDF) | 50 pages | 500 pages |
| Processing | In-browser | In-browser |
Cookbook
Template-overlay recipes that respect the on-top, fixed-opacity, every-page, centred behaviour.
Branded frame over a plain report
A frame-only template (border + header + footer, transparent centre) over a generated report.
template PDF: frame-a4.pdf (border + header band + footer band, transparent body) base: report.pdf (16 pages, A4) Process 2 files → frame centred + fit-to-page at 50% on all 16 pages Output: report.stamp.pdf
Canva template exported to PDF
A Canva design is exported to PDF and used as the overlay.
Canva → Download → PDF Print → template.pdf (designed with a transparent/empty content area) pdf-stamp: base: export.pdf stamp: template.pdf → export.stamp.pdf
Template blocks the document text
The template had a solid background, which half-covers the body at 50% opacity.
Symptom: body text washed out / greyed
Cause: opaque template background drawn on top
at 50% opacity (no z-order or opacity control)
Fix: re-export the template with a transparent
body — only edge/header/footer elements paint.Two templates across page ranges
Pages 1–2 need a cover template; pages 3+ need a body template. Split, stamp, merge.
1. split: pages 1-2 → part1.pdf, pages 3-n → part2.pdf 2. pdf-stamp: part1.pdf + cover-template.pdf → p1.stamp.pdf 3. pdf-stamp: part2.pdf + body-template.pdf → p2.stamp.pdf 4. pdf-merge: p1.stamp.pdf + p2.stamp.pdf → final.pdf
PNG template → overlay
A flattened PNG mock-up becomes a stamp PDF.
image-to-pdf: template.png (on an A4 page) → template.pdf pdf-stamp: base: data-export.pdf stamp: template.pdf → data-export.stamp.pdf
Edge cases and what actually happens
Template blocks document content
design issueThe template is drawn on top of your content (no z-order control) at 50% opacity, so any opaque area — including a solid page background — half-covers the document. Re-export the template with a transparent body so only the frame/header/footer elements paint.
You wanted the template behind the text
By designThere is no option to render the template behind the content — it always draws above it. To keep text fully readable, design a frame/border-only template with a transparent centre rather than relying on z-order.
Different templates per page range in one pass
single templateOne template is applied to every page. To vary templates by page range, split the document, stamp each part with its own template, and reassemble with pdf-merge.
Template is a PNG/JPEG
invalid inputOnly PDFs are accepted as the stamp. Convert the image template with image-to-pdf onto a document-sized page first.
Template and document differ in size
fit + centreA mismatched template is fit-scaled (down only) and re-centred, so the frame drifts from the page edges. Export the template at the document's exact size and orientation.
Multi-page template PDF
first page usedOnly the first page of the template PDF is used and repeated on every page; other pages are ignored. For a cover-vs-body design, use the split-stamp-merge approach instead.
Template colours look washed out
ExpectedThe fixed 50% opacity lightens the whole template. Author the design bolder than the intended final appearance so it lands correctly after the half-opacity draw.
Only one file uploaded
errorTwo PDFs are required. The Process button stays disabled until both the content PDF and the template PDF are queued.
Output file significantly larger
ExpectedEmbedding a full template on every page increases file size. Run the result through lossless compression to reduce it while keeping text selectable.
Over free-tier limit
tier limitFree tier caps each PDF at 2 MB and 50 pages; Pro raises this to 50 MB and 500 pages. Compress or split a large content PDF, or upgrade.
Frequently asked questions
The template blocks my document content — what do I do?
Ensure the template's content/body area is fully transparent. There is no z-order or opacity control in this tool — the template always draws on top at a fixed 50% opacity — so the only way to keep your text visible is to design the template as a frame/border with a transparent centre. Re-export it without a solid page background and re-stamp.
Can I put the template behind the document text?
No — the overlay always renders above the content; there's no z-order setting. To get the same visual effect (text on top of a designed frame), build the template so its centre is transparent and only its edges/header/footer carry artwork. The text then shows clearly through the transparent middle.
Can I use different templates for different page ranges?
Not in a single pass — one template is applied to all pages. To vary it, split the document into page groups, stamp each group with its own template PDF, then reassemble with pdf-merge. A common case is a cover template on page 1 and a body template on the rest.
My template is a PNG/JPEG — can I use it?
Only as a PDF. Convert it with image-to-pdf onto a page matching your document's size, then use that PDF as the template. Most design tools (InDesign, Canva, Illustrator) can export directly to PDF, which avoids the conversion step.
Can I scale or reposition the template?
No — the template is centred and fit-scaled to the page (never enlarged), with no manual size or position control. Match the template's page size and orientation to the document so it aligns, and design elements where you want them on the page.
Why do the template colours look faded?
The overlay is drawn at a fixed 50% opacity, which lightens everything. There's no opacity setting to compensate, so author the template with bolder/darker colours than the final look you want; after the 50% draw they'll land at the intended intensity.
Will the overlaid template increase the file size significantly?
Embedding a full template on every page does increase the file size. Run the output through lossless compression to shrink it while keeping text selectable. Avoid lossy compression here, as it would rasterise your crisp template and document text.
Does the order of the files matter?
Yes — the first PDF added is the content (base), the second is the template overlay. Add the content document first, then the template PDF, and confirm the order in the file queue before processing.
Does the template apply to every page?
Yes — the overlay is applied to all pages, which is usually what you want for a consistent layout. There is no per-page option; for page-specific templates use the split-stamp-merge workflow.
Is my document uploaded to a server?
No. Both the content PDF and the template are processed entirely in your browser. Generated reports and data exports never leave your device; only an anonymous usage counter is recorded when you're signed in.
How large a document can I template?
Free tier allows up to 2 MB and 50 pages per PDF; Pro raises this to 50 MB and 500 pages, applied independently to the content and template files. Compress or split larger documents first.
What's the difference between this and merging?
pdf-merge joins documents end to end (page after page). The Stamp tool overlays the template on top of every existing page — the template and content occupy the same pages. Use merge to concatenate; use stamp to superimpose a template onto existing pages.
Privacy first
All PDF processing runs locally in your browser using PDF-lib and pdf.js. No file is ever uploaded — only metadata counters are saved for signed-in dashboard stats.