PDF Signer Online: Draw & Add Signature to PDF

Sign a PDF in your browser with pdf-lib. Draw a signature and stamp it on page 1 locally. Visual stamp, not PKCS#7. Nothing uploaded.

Produces signed-document.pdf. Sign and Click download to run the conversion. Upload a local PDF, draw on the canvas, then click Sign and download. The page uses pdf-lib to embed that canvas as a PNG on page 1 at x: 50, y: 50 (150×50 points, origin bottom-left). You cannot drag the stamp, pick another page, or upload a signature image. This is a visual stamp, not PKCS#7 or PAdES. This page does not combine JPEG or PNG files into a PDF. For image-to-PDF conversion, see /images-to-pdf/. Nothing is uploaded.

The signature is placed on the first page. Nothing is uploaded.
Document

No PDF uploaded

Signature

Draw with your mouse or trackpad

PDF waitingSignature waiting

How to sign a PDF online

  1. Click Upload PDF and select your file. The preview appears on the left.
  2. Draw your signature on the canvas using your mouse or trackpad.
  3. Click Sign and download to stamp the signature onto page 1 and save the result.

How it works

The tool uses pdf-lib to read your PDF, embed the signature canvas as a PNG image at the bottom-left of page 1 (150×50 points at x:50, y:50), and save the result as signed-document.pdf. Your file is processed locally—nothing is uploaded.

Limitations

  • Signature placement is fixed (cannot drag to reposition)
  • Only the first page can be signed
  • No support for uploading an existing signature image
  • Not a cryptographic/legal digital signature
  • Drawing requires a mouse or trackpad and does not work with touch on phones or tablets

Sign a PDF in Node

Sign and download on this page is pdf-lib 1.17 (PDFDocument.load, embedPng, drawImage at x: 50, y: 50, 150×50 points). Node can run that same constructor. There is no POSIX PNG-stamp-at-coordinates converter, and CPython has no stdlib PDF stamper — pypdf, ReportLab, and pdftk are other tools, not this page. This page draws on a canvas and stamps that PNG; Node has no HTML canvas or toDataURL — pass PNG bytes from a file. Combining JPEG or PNG files into a new PDF belongs on Images to PDF. For the browser walkthrough, see How to Sign a PDF Online Free.

Node.js with pdf-lib 1.17

Confirmed here with pdf-lib 1.17.1. getPages()[0] is the same object as getPage(0). Units are PDF points (1/72 inch) with the origin at the bottom-left of the page's user space. The snippet uses the same stamp box this page writes, then save() to signed-document.pdf. Run it in an async function:

const { PDFDocument } = require('pdf-lib');
const fs = require('fs');

const pdfDoc = await PDFDocument.load(fs.readFileSync('document.pdf'));
const firstPage = pdfDoc.getPages()[0];
const signatureImage = await pdfDoc.embedPng(
  fs.readFileSync('signature.png')
);
firstPage.drawImage(signatureImage, {
  x: 50,
  y: 50,
  width: 150,
  height: 50,
});
const signedPdfBytes = await pdfDoc.save();
fs.writeFileSync('signed-document.pdf', signedPdfBytes);

The content stream translates to (50, 50) then scales the image to 150×50 (1 0 0 1 50 50 cm then 150 0 0 50 0 0 cm then Do). A PNG is stored as FlateDecode / DeviceRGB. Later pages are not stamped — only index 0 gets that Do. Non-PNG bytes fail with The input is not a PNG file! (canvas toDataURL() is PNG; this page never calls embedJpg). A file that is not a PDF fails with No PDF header found. 50 pt is about 17.6 mm from the left and bottom of whatever MediaBox the loaded page has (A4 is 595.28 × 841.89 pt; US Letter is 612 × 792). A /Rotate entry is not compensated — this page still uses x: 50, y: 50 in user space. save returns a Uint8Array; in Node that writes signed-document.pdf in the working directory. This is a visual PNG stamp, not PKCS#7 or PAdES. qpdf --overlay and pdftk stamp overlay a PDF page, not a PNG at 50, 50 — not cloned as a second card. Combining images into a new PDF belongs on the Images to PDF tool.

FAQ

Does this signer upload my PDF?
No. Upload PDF, draw, Sign and download, and Clear run in your browser with pdf-lib. The page does not send the PDF or the canvas PNG to a server.
What file does Sign and download create?
Produces signed-document.pdf. Sign and Click download to run the conversion. The stamp is a PNG of the canvas, embedded with pdf-lib on page 1 at x: 50, y: 50 (150×50 points, origin bottom-left). You cannot drag the stamp, pick another page, or upload a signature image. This page does not combine JPEG or PNG files into a PDF. For image-to-PDF conversion, see /images-to-pdf/.
Is this a PKCS#7 or PAdES digital signature?
No. Downloads signed-document.pdf. The stamp is a visual PNG on page 1, not a cryptographic digital signature. It does not create PKCS#7 or PAdES, attach a certificate, or prove identity. For a certificate-backed signature, use a dedicated e-signature service.
Can I place the stamp anywhere or on later pages?
No. Only page 1 is stamped. pdf-lib places the PNG at x: 50, y: 50 with width 150 and height 50. There is no drag handle and no page picker. Downloads signed-document.pdf.

Related guides

Related tools