Title: Save Page to PDF
Author: api2pdf
Published: <strong>November 13, 2018</strong>
Last modified: November 13, 2018

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/save-page-to-pdf.svg)

# Save Page to PDF

 By [api2pdf](https://profiles.wordpress.org/api2pdf/)

[Download](https://downloads.wordpress.org/plugin/save-page-to-pdf.zip)

 * [Details](https://wordpress.org/plugins/save-page-to-pdf/#description)
 * [Reviews](https://wordpress.org/plugins/save-page-to-pdf/#reviews)
 *  [Installation](https://wordpress.org/plugins/save-page-to-pdf/#installation)
 * [Development](https://wordpress.org/plugins/save-page-to-pdf/#developers)

 [Support](https://wordpress.org/support/plugin/save-page-to-pdf/)

## Description

WordPress Plugin Code for [Api2Pdf REST API](https://www.api2pdf.com/documentation)

Api2Pdf.com is a REST API for instantly generating PDF documents from HTML, URLs,
Microsoft Office Documents (Word, Excel, PPT), and images. The API also supports
merge / concatenation of two or more PDFs. Api2Pdf is a wrapper for popular libraries
such as **wkhtmltopdf**, **Headless Chrome**, and **LibreOffice**.

This plugin adds a Save to PDF functionality to WordPress. It will take the HTML
contents of your page, convert it to PDF, and request the web browser to download
it.

The plugin will add the shortcode **savepagetopdf** and also the javascript function**
window.SavePageToPdf()**

## Installation

This section describes how to install the plugin and get it working.

e.g.

 1. Upload the plugin files to the `/wp-content/plugins/savePageToPdf` directory, or
    install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Use the Settings->PDF Settings to configure the plugin
 4. You will need a valid Api2Pdf.com API Key. You can create a key here: [api2pdf.com](https://portal.api2pdf.com/register)

## FAQ

  How do I include a link or button to generate a PDF?

You can use the shortcode **[savepagetopdf]**, this will generate a link that will
generate a PDF of the current page. You can style this link by modifying the CSS
class *savePageToPdf***

  What if I wish to include PDF Generation via my Theme, for example via a header
widget?

You can set the onclick event of any HTML elevent, for example [Make me a PDF](https://wordpress.org/plugins/save-page-to-pdf/void(0);?output_format=md)

## Reviews

![](https://secure.gravatar.com/avatar/6cfc8c01f1ea3a75ec6f7dba8f2a014ef4cca4fd63a50fb3c8772e492e472ecc?
s=60&d=retro&r=g)

### 󠀁[Subscription](https://wordpress.org/support/topic/subscription-49/)󠁿

 [Dennis Bareis](https://profiles.wordpress.org/dbareis/) April 14, 2023

Certainly doesn’t go out of it’s way to tell you the cost up front.

![](https://secure.gravatar.com/avatar/33ad53a58ffd5bc1ee2657ff863153032c6d16b670eaa930e3a550e4b256168b?
s=60&d=retro&r=g)

### 󠀁[Page not found](https://wordpress.org/support/topic/page-not-found-326/)󠁿

 [phomar](https://profiles.wordpress.org/phomar/) May 10, 2019

Doesn’t work for me.

![](https://secure.gravatar.com/avatar/2bb933e7166109ddb05c0ad47c528e1afb06d5c2aa50a1ba5916feb08debf4aa?
s=60&d=retro&r=g)

### 󠀁[Works great, can’t wait for some updates!](https://wordpress.org/support/topic/works-great-cant-wait-for-some-updates/)󠁿

 [John Lund](https://profiles.wordpress.org/johnlund1/) April 13, 2019

I just started using this plugin to generate highly customized PDFs and it worked
perfectly. I have some very specific needs and the plugin developers helped me quickly
and solved my problems successfully. Very happy and highly recommended for advanced
PDF needs. Their API service has a lot of helpful features that I would love to 
see implemented in this plugin when time permits. 😉

 [ Read all 2 reviews ](https://wordpress.org/support/plugin/save-page-to-pdf/reviews/)

## Contributors & Developers

“Save Page to PDF” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ api2pdf ](https://profiles.wordpress.org/api2pdf/)

[Translate “Save Page to PDF” into your language.](https://translate.wordpress.org/projects/wp-plugins/save-page-to-pdf)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/save-page-to-pdf/),
check out the [SVN repository](https://plugins.svn.wordpress.org/save-page-to-pdf/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/save-page-to-pdf/)
by [RSS](https://plugins.trac.wordpress.org/log/save-page-to-pdf/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1

 * Fix naming convention

## Meta

 *  Version **1.0**
 *  Last updated **8 years ago**
 *  Active installations **10+**
 *  WordPress version ** 4.1 or higher **
 *  Tested up to **4.9.31**
 *  PHP version ** 5.2.4 or higher **
 * Tags
 * [pdf](https://wordpress.org/plugins/tags/pdf/)[wkhtmltopdf](https://wordpress.org/plugins/tags/wkhtmltopdf/)
 *  [Advanced View](https://wordpress.org/plugins/save-page-to-pdf/advanced/)

## Ratings

 3 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/save-page-to-pdf/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/save-page-to-pdf/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/save-page-to-pdf/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/save-page-to-pdf/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/save-page-to-pdf/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/save-page-to-pdf/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/save-page-to-pdf/reviews/)

## Contributors

 *   [ api2pdf ](https://profiles.wordpress.org/api2pdf/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/save-page-to-pdf/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://www.api2pdf.com)