Skip to content
GPLWP Guides

How to generate PDF files from WordPress form submissions

Forms Time About 20–40 minutes 7 steps Updated 30 Sep 2026

FORMS
The short answer

You can manually open a stored form entry and save it as a PDF from your browser, but WordPress does not provide automatic form-to-PDF generation by itself. For branded PDFs, automatic downloads, or email attachments, use a PDF add-on for your form plugin or custom development.

The route
  1. 01Decide what the PDF must do
  2. 02Use the manual browser route
  3. 03Make sure submissions are stored
  4. 04Install a PDF generation add-on
  5. 05Build and name the PDF template
  6. 06Attach and test every notification
  7. 07Choose the fast route

What you need

  • A WordPress form plugin that stores submissions
  • Administrator access to WordPress
  • A clear PDF layout and filename format
  • SMTP or working WordPress email delivery if PDFs will be emailed

Decide what the PDF must do

Decide whether staff will create PDFs manually, or whether each submission should produce a file automatically. Also decide whether the PDF is for internal records, a visitor download, an email attachment, or all three.

List the fields, logo, header, footer, page numbers, filename format, and any uploaded files that must appear. This prevents you from building a template that later omits signatures, uploads, or important consent text.

Use the manual browser route

If you only need an occasional copy, open the individual submission in your form plugin’s submissions screen. Use the browser’s Print command, select Save as PDF, check the page preview, and save the file.

This route is fine for low-volume internal work and needs no PDF extension. It is not a proper automation workflow: the result may include admin-screen styling, it does not normally create a branded template, and it will not automatically attach a PDF to notification emails.

Make sure submissions are stored

Automatic PDF generation needs access to the submitted values. Enable your form plugin’s submission-storage or entry-recording action before configuring the PDF. With Ninja Forms, the PDF documentation specifically says that the Store Submission action must be enabled for the document body to work.

Do not assume that an email notification is a permanent record. Check that entries appear in the form plugin’s submissions area and review who can access them.

Install a PDF generation add-on

Install the PDF extension made for your form plugin, then activate it. The form plugin and the PDF extension are separate parts of the workflow; a form builder alone may collect and email data without creating a PDF.

For Ninja Forms, the PDF Form Submissions add-on adds PDF export and PDF customisation features. Its documentation says the add-on must be installed and activated before those features appear.

Build and name the PDF template

Open the form’s PDF settings and create the document title and body using the form’s merge tags. Add the company logo and contact details to the header, then configure the footer, pagination, disclaimer text, and filename.

With Ninja Forms, these options are available under the form’s Advanced settings. The filename can use merge tags so each PDF receives a useful name based on submitted data. For uploaded images, the documentation provides a PDF-embed modifier; signatures may need a custom body containing the {fields_table} merge tag to render as an image.

Attach and test every notification

Edit the email action that should receive the file and enable its PDF attachment option. In Ninja Forms, this is under Emails & Actions: edit the email action, open its advanced settings, and turn on Attach PDF. The generated PDF is then added to that email.

Submit the form with short and long answers, empty optional fields, special characters, an uploaded file, and a signature if applicable. Check the PDF layout, filename, attachment size, and email delivery. A PDF can be generated correctly but still fail to arrive because of WordPress mail or server configuration; Ninja Forms also notes that the server needs the PHP mbstring extension with mbregex support for PDF generation.

Choose the fast route

If you use Ninja Forms and need branded PDFs without writing custom PHP, Ninja Forms PDF Form Submission is the practical shortcut. It supports customised document content, headers, footers, filenames, manual export, and automatic PDF attachments to form emails.

Keep the manual browser method for occasional one-off exports. Use the add-on when every submission must produce a consistent file, be downloadable, or reach an administrator or customer by email.

The fast route

Let Ninja Forms PDF Form Submission do it

Creates customizable PDFs from Ninja Forms entries and emails them automatically, ideal for branded submission records.

Get Ninja Forms PDF Form Submission

Sources

  1. ninjaforms.com /docs/pdf/?utm_source=openai

Questions

Can I generate a PDF from a WordPress form without a plugin?
Yes, but only as a manual process unless you write custom code. Open the stored submission in the WordPress admin, use the browser’s Print command, and choose Save as PDF. This works for occasional records, but it does not provide automatic branded PDFs, reliable email attachments, or a repeatable visitor download workflow.
Does WordPress automatically turn form submissions into PDFs?
No. WordPress does not include a general form-submission-to-PDF workflow. Your form plugin must collect the entry, and automatic PDF creation normally comes from a compatible PDF extension or custom development. The extension must be able to read the stored submission and integrate with the form’s email or confirmation actions.
Why is my generated PDF blank or missing fields?
A blank or incomplete PDF usually means the submission was not stored, the template uses the wrong merge tag, or the PDF body is not configured correctly. In Ninja Forms, the Store Submission action must be enabled for the document body to work. Test field tags with real entries and check optional fields, uploads, and signatures separately.
Can the PDF be emailed automatically after submission?
Yes, if your form plugin’s PDF extension supports email attachments. In Ninja Forms, edit the relevant email action under Emails & Actions, open its advanced settings, and enable Attach PDF. Test delivery separately because PDF generation can succeed while WordPress email delivery fails.
How do I include a signature or uploaded image in the PDF?
Use the PDF extension’s embedded-file or signature options rather than displaying only the field value. Ninja Forms documents a PDF-embed modifier for uploaded images and recommends a custom document body containing the fields-table merge tag for signatures to appear as images. Test the actual generated attachment, not just the form preview.