Save as PDF plugin by Pdfcrowd

Let your visitors save pages as PDF in a single click. Reliable, fast and highly customizable.

The Save as PDF plugin is easy to use. Just install the plugin and activate it. The plugin puts a “Save to Pdf” button in your web pages. The button enables to save the current web page (the default), or only a part of the page or an arbitrary page in one click.

The plugin internally uses the Pdfcrowd API web service. The Pdfcrowd API is a professional solution for converting web pages and HTML documents to PDF and various image formats.

The plugin is highly customizable, you can:
* customize the button style, text and icon
* choose between the “screen” and “print” layout (CSS @media)
* convert password-protected pages
* customize page size and margins, page orientation, header and footer, run custom JavaScript, add a watermark, and many more …

You can customize the plugin on the Settings page.


The [save_as_pdf_pdfcrowd] shortcode places a button in the web page. Clicking the button downloads the page as PDF.

The enclosing [block_save_as_pdf_pdfcrowd] shortcode downloads the enclosed part of the page as PDF.

The shortcodes can customize the button style and the conversion output by overriding the settings specified on the plugin Settings page.

For example, to change the page size to Letter and create a red button use:

[save_as_pdf_pdfcrowd page_size='letter' button_background_color='red']

Create Button in PHP

The conversion button can be created directly in your PHP code with the create_save_as_pdf_pdfcrowd_button($options = array()) function.

<?php create_save_as_pdf_pdfcrowd_button(array('page_size' => 'letter', 'button_hidden' => 0)); ?>

Button CSS Customization

The button style can be customized also by setting CSS properties on the save-as-pdf-pdfcrowd-button-wrap or save-as-pdf-pdfcrowd-button classes.

.save-as-pdf-pdfcrowd-button {
    font-family: Georgia;


The output PDF can be either downloaded or opened directly in the browser. This can be configured with the “Button Click Action” option.

The output file name is generated automatically or can be specified in custom options, e.g.

[save_as_pdf_pdfcrowd output_name='my-page.pdf' button_background_color='red']


Please contact us on [email protected] us if you need any help.
We recommend that you check our FAQ. It contains answers to many common questions.

Pdfcrowd License

The plugin does not require any registrations. It is fully functional, the free version just adds a watermark over the content.

A valid Pdfcrowd API license removes the demo watermark. To enable the API license on the plugin, just enter your Pdfcrowd username and the API key in the plugin settings in the Pdfcrowd API Credentials tab.

A single Pdfcrowd API license can be used for both our plugins on multiple WordPress websites. Moreover, the API license enables you to use Pdfcrowd conversion API directly.

  1. Go to your WordPress backend, search for “Save as PDF by Pdfcrowd” and then click “Install”. Or you can download the file and unzip it.
  2. If you downloaded the zip, upload the save-as-pdf-pdfcrowd folder into wp-content/plugins folder.
  3. Activate the plugin.

Can I convert password-protected pages?

Yes, set “Conversion Mode” to “upload” or “development” on the Settings page or enable HTTP Basic Authentication for your site or choose other methods for accessing your pages (Client Certificate, Custom Cookies, Custom HTTP Headers).

Can I convert my localhost pages?

Yes, set “Conversion Mode” to “upload” or “development” on the Settings page.

Are my data safe?

Yes, Pdfcrowd is GDPR compliant. All data for the conversion are kept only for the time necessary to efficiently process the conversion and then permanently deleted.

More answers can be found on Pdfcrowd FAQ page.


  • Refactor description in the plugin settings.
  • Added a flag describing the button creation mode.


  • Fix of conversion auto mode.


  • New value “auto” for the Conversion Mode.
  • New option “Auto Use Cookies” for an automatic use of the current cookies for the conversion.
  • Avoid double-click on the conversion button.
  • Better error message for error code 452.


  • New option “Custom HTML” which allows to specify custom HTML for the conversion button.
  • New option “PDF Created Callback” which allows to manipulate with the output file.
  • New option “Conversion Mode”. The “Run in DEV Mode” option was removed, you can use the “Conversion Mode” values “url” or “development” instead.
  • New options: Page Watermark Url, Multipage Watermark Url, Page Background Url, Multipage Background Url.
  • Improved conversion of password-protected pages.
  • Admin settings reordered.


  • Fixed issue with missing input when create_save_as_pdf_pdfcrowd_button is used.


  • Initial version
  1. Default button appearance.

    Default button appearance.

  2. Sample of settings.

    Sample of settings.