pdf-lib
pdf-lib.js.org
Spec sheet
- Purpose
- pdf-lib creates and modifies PDF documents in JavaScript environments.Read 11 Oct 2026 · pdf-lib.js.org
- Integrations
- The documentation includes JSFiddle demos and shows browser use with an iframe and fetch, plus Deno usage.Read 11 Oct 2026 · pdf-lib.js.org
- License
- The GitHub repository identifies the project as MIT licensed.Read 11 Oct 2026 · github.com
- Distribution
- The project documents installation through npm or Yarn and provides UMD modules through unpkg and jsDelivr CDNs.Read 11 Oct 2026 · pdf-lib.js.org
- Drawing and fonts
- It can draw text, images, PDF pages, vector graphics, and SVG paths, and embed fonts with UTF-8 and UTF-16 character set support.Read 11 Oct 2026 · github.com
- Forms
- It can create, fill, read, and flatten PDF forms, including text fields, check boxes, radio groups, dropdowns, and option lists.Read 11 Oct 2026 · github.com
- Help
- The project identifies GitHub Discussions as the best place to ask questions and learn more about pdf-lib.Read 11 Oct 2026 · github.com
- HTML and CSS limitation
- It does not support using or embedding HTML or CSS when adding content to PDFs.Read 11 Oct 2026 · github.com
- Metadata and attachments
- It can set and read document metadata and viewer preferences, and add attachments.Read 11 Oct 2026 · github.com
- PDF editing
- It can create PDFs, modify existing PDFs, and add, insert, remove, or copy pages.Read 11 Oct 2026 · github.com
- Runtime support
- The project says it works in browsers, Node, Deno, and React Native, and is written in TypeScript compiled to pure JavaScript with no native dependencies.Read 11 Oct 2026 · pdf-lib.js.org
- Security limitation
- pdf-lib does not currently support encrypted documents and warns against using it with them.Read 11 Oct 2026 · github.com
- Text editing limitation
- It does not provide APIs to remove or edit page text outside of form fields.Read 11 Oct 2026 · github.com
- Text extraction limitation
- It can extract text from form fields but cannot extract plain page text outside form fields.Read 11 Oct 2026 · github.com
Plans and prices
pdf-lib Free MIT-licensed JavaScript library · no paid plans listed Read 11 Oct 2026 · github.com
Where Specifiction places it
- PDF Creation Software#27 of 467.4
- PDF SDKs#27 of 317.4