How to sign a PDF online
How the browser adds the signature
PDF.js renders the local page preview. PDF-lib copies the source document and draws each signature as a transparent PNG image at the position and size you selected. Positions are stored relative to the visible page, including rotated pages. The original file is not changed.
Drawn and typed signatures are converted into transparent PNG data locally. Uploaded images are decoded locally and normalized to PNG; optional near-white removal changes very light pixels to transparency. The page sets a 200 MB PDF guardrail and a 10 MB signature-image limit to reduce browser crashes. Available memory, PDF complexity, and mobile hardware can impose lower practical limits.
Important: A visible signature image is not the same as a certificate-backed digital signature. Laws and recipient policies differ, and some transactions require identity verification, consent records, audit trails, trusted timestamps, or an approved signing provider. This page does not determine whether a signature is valid for a particular purpose and does not provide legal advice.
Last implementation and sample-export review: 28 July 2026. Always open the downloaded copy and inspect every placement in the PDF viewer your recipient will use.