PDF Forms

Last updated May 28, 2026

pdf

Can I export my SurveyJS form as a PDF document?

Yes. SurveyJS allows you to export forms as PDF documents using SurveyJS PDF Generator.

SurveyJS PDF Generator is a UI component that uses the same SurveyJS JSON schema powering your web form to render a matching PDF version. This means you define your form once and generate both interactive web forms and printable or shareable PDF documents from the same schema.

You can export SurveyJS forms as:

  • Editable PDF forms with interactive fillable fields
  • Pre-filled PDFs populated with responses collected through SurveyJS web forms

Because PDF Generator and Form Library now also share the same design system based on CSS variables, web and PDF forms stay visually aligned by default. At the same time, PDF layout can still be customized independently to accommodate print and paper-specific requirements. For more details, see the PDF Appearance Customization guide.


pdf

I already have PDF forms, can I populate them with responses collected through web forms?

Yes. You can automatically populate existing PDF forms with responses collected through SurveyJS web forms.

SurveyJS includes a PDF form-filling plugin that allows you to map SurveyJS form fields to fields of an existing PDF document. Users complete a dynamic web form built with SurveyJS, and their responses are automatically transferred into the corresponding PDF fields.

SurveyJS supports implementations using the pdf-lib and PDF.js third-party libraries. For details and demos, see the Fill PDF Form with Web Form Responses guide.


pdf

We've got scanned and photographed paper forms and PDFs. Can I digitize this data and store it alongside web form responses?

Yes. SurveyJS supports hybrid paper and digital form data collection, allowing scanned paper forms, photographed forms, and PDFs to be converted into the same structured data format as web form responses.

SurveyJS provides a unified workflow for organizations that collect responses through both digital and paper-based channels. Instead of maintaining separate systems for online and paper forms, you define the form once and process all responses into a single standardized structure.

The process works like this:

  • A single SurveyJS JSON schema defines the form structure.
  • Respondents complete the form online or on paper.
  • Paper forms are scanned or photographed.
  • An AI extraction service reads responses from images or PDFs.
  • Extracted answers are mapped to SurveyJS schema fields.
  • Teams can review and correct extracted data if needed.
  • All responses are stored in the same JSON format used by web submissions.

The resulting data object is identical whether the response originated from an online form, scanned paper document, photographed questionnaire, or completed PDF.

The solution is built using the following free, MIT-licensed libraries:

Unlike traditional OCR tools, SurveyJS AI Form Response Extractor uses a multimodal LLM guided by your SurveyJS schema. Because the system already knows expected field names, answer types, validation rules, and choice options, it can read and extract structured responses more accurately and consistently than generic document recognition systems.

To learn more about extracting responses from scanned paper forms and PDFs with AI, please refer to the Hybrid Paper and Digital Form Data Collection guide.

Send feedback to the SurveyJS team

Need help? Visit our support page

pdf

Your cookie settings

We use cookies to make your browsing experience more convenient and personal. Some cookies are essential, while others help us analyse traffic. Your personal data and cookies may be used for ad personalization. By clicking “Accept All”, you consent to the use of all cookies as described in our Terms of Use and Privacy Statement. You can manage your preferences in “Cookie settings.”

Your renewal subscription expires soon.

Since the license is perpetual, you will still have permanent access to the product versions released within the first 12 month of the original purchase date.

If you wish to continue receiving technical support from our Help Desk specialists and maintain access to the latest product updates, make sure to renew your subscription by clicking the "Renew" button below.

Your renewal subscription has expired.

Since the license is perpetual, you will still have permanent access to the product versions released within the first 12 month of the original purchase date.

If you wish to continue receiving technical support from our Help Desk specialists and maintain access to the latest product updates, make sure to renew your subscription by clicking the "Renew" button below.