Generate PDF using Contact Form 7


Generate PDF using Contact Form 7 plugin provides an easier way to download PDF documents, open the PDF document file after the successful form submission.

Here, a user can set the document file (PDF) from the ‘Form Setting’ Page of each Contact form.

When the user fills the form and submits it, the same document will get open in a new tab. Once it gets opened, the user would be able to download it to the local system.

Also, in case an admin does not want any user to open it in-browser, admin can adjust settings and send that particular PDF as an email attachment.

For PDF we have used MPDF library so in admin side it’s support Below HTML and CSS with editor to generate PDF.


  • Attach PDF file to the Form Notifications Emails that are sent to the user and/or administrator, from the Admin side.
  • In the message, the link of the attached PDF file is displayed, along with Thank You Message of the Form Submission
  • Admin can add different PDFs with different Contact Forms and can create multiple forms.
  • Admin can create their own PDF with submitted Data in the Form
  • Admin can customize your PDF form by adding a logo on the Header and other relevant Form * Fields while sending a Thank You Message to the user.
  • Ablity to Update PDF Header/Footer Text.
  • Ability to add file option with our PDF attachement in mail.


  • Screenshot 'screenshot-1.png' Shows PDF settings of upload PDF in the Contact form.
  • Screenshot 'screenshot-2.png' PDF settings of Customize PDF in the Contact form.


  1. Download the plugin zip file from plugin site to your desktop / PC
  2. If the file is downloaded as a zip archive, extract the plugin folder to your desktop.
  3. With your FTP program, upload the plugin folder to the wp-content/plugins folder in your WordPress directory online
  4. Go to the Plugin screen and find the newly uploaded Plugin in the list.
  5. Click ‘Activate Plugin’ to activate it.


Can I set different types of files instead of PDF files?

No, only PDF file Generated.

Can I set the custom body of PDF?

Yes,you can customize the PDF body as per your choice from the HTML editor.

Is the PDF file sent as an attachment to the user’s mail?

Yes, you can use mail 2 option from contact form 7

Is there a need to increase WP Upload size for this Plugin?

Yes, there is a need to increase WP Upload size, the maximum size allowed is up to 10M.

Why PDF not generated?

Please make sure plugin-name/attachments folder have read/write permission.


August 18, 2020
The awesome plugin which do exactly what it meant! Thanks alot ZealousWeb Technologies
August 3, 2020
WordPress and the "contact form 7" plugin updated, I configured the "Generate PDF Using Contact Form 7", the plugin folder has read and write permission. Unfortunately for me it doesn't work right now.
July 19, 2020
This plugin produces a PDF from your Contact Form 7 form with ease with very little configuration required. There are options to add a logo and additional text to the header and footer.
Read all 4 reviews

Contributors & Developers

“Generate PDF using Contact Form 7” is open source software. The following people have contributed to this plugin.




  • Add – Now plugin support with Contact Form 7 file option with our PDF attachment.


  • Fix – Issue fixed regarding tooltip with latest version of WordPress 5.5.


  • Fix – Now plugin support in version 5.2 and less then 5.2 of Contact Form 7.


  • Add – Set Default Font to FreeSans for PDF file.


  • Fix – We have fixed for support Dropdown and Radio button in PDF generate.


  • Add – Add New Feature to edit PDF Header/Footer Text.


  • Add support Link.


  • Release version.