JavaScript PDF Fillable Form Library
PSPDFKit for Web is a JavaScript library for filling, reading, creating, and editing PDF AcroForms. It offers developers an API for programmatic access to PDF form objects, as well as a beautiful UI for form filling.
Key Capabilities
With the UI or programmatically
Export, submit, or embed into the PDF
Drag and drop fields to turn PDFs into fillable forms
APIs to generate forms and fields from scratch
Style colors, backgrounds, borders, and widths
Execute JavaScript to validate form data
Trigger workflows or automations
Add signing, annotation, editing, and more
What Are Forms?
The concept of forms in PDFs is similar to that of a form in the physical world. Forms allow a user to enter unique information into a preformatted page. As it’s an electronic format, PDF offers certain advantages to users — for example, the ability to edit entered information at a later date.
Essential Guides
Fill Forms
Programmatic Form Fill
Learn the different approaches to programmatically filling form fields
Fill Form Fields Using the UI
Learn how end users can fill form fields with the built-in UI
Attach a File to a PDF
How to attach a file to a PDF as an image annotation
Add an Image to a PDF
How to add an image to a PDF as an image annotation
Detect User Form Field Input
How to subscribe to form events to detect form field input
Form Field Permissions
How to configure form fill permissions
Fonts
How to dynamically load fonts when users enter text
Headless Form Fill
How to fill PDF forms without presenting the UI
Import Form Data
Form Data — Read, Extract, Submit, or Save
Extract Form Data
How to extract form field values present in a PDF document
Read Form Fields
How to read all form objects present in a PDF document
Submit or Save Form Data Using Server-Backed
How to submit or save form data in Server-Backed mode
Submit or Save Form Data to an External Source
How to submit or save form data to an external source
Embed Form Data into a PDF
How to embed form data into a PDF document
Auto Save Forms
How to configure the way forms are automatically saved
JavaScript Validation
How to validate form field values using JavaScript
Create, Edit, or Remove Forms
Create a Fillable Form
How to programmatically create a fillable PDF form
Add a Signature Field
How to add a signature form field to a PDF document
Edit Form Fields
How to update a form field or widget annotation
Remove Form Fields
How to remove a form field from a PDF document
Form Creator
How to build an app where fields can be dragged and dropped onto a PDF
Form Field Flags
How to configure form behavior and capabilities
PDF Actions Support
Learn about the PDF actions supported by PSPDFKit
Integrations
PSPDFKit for Web is compatible with SharePoint, Microsoft Teams, Microsoft OneDrive, and Salesforce.