Are you looking to add a PDF creation capability in your blogs or websites to allow the users to convert and download a web page in PDF file format?

If yes, don't worry, you don't need to write a complex code or don't need to but any tool for that. You can easily add PDF conversion capability to your site using Web2PDF Online service provided by pdfonline.com.

Web2PDF Online is a free service for your websites that allows your visitors to quickly save useful information in your blogs and websites to PDF files.

Web2PDF Online also keeps track of all the PDF conversion activities in your site, providing you with a metric to measure the importance of your site contents.

Adding PDF conversion capability using Web2Pdf is very easy. You need to follow below steps:

Step-1: Register with pdfonline.com

Open pdfonline.com, signup and create your account. It's free.

Step-2: Set the Conversion Options and Test it

The first step after you sign up is to set the Conversion Options for your "Save page as PDF" button.

  • Paper Orientation: Portrait or Landscape
  • Paper Margins (Top, Bottom, Left, Right): Specify the paper margins in inches

To see how the PDF is going to look like, simply type the URL of your web page and click on the "Convert to PDF" button. Tip: You can always use this feature to convert any web page into PDF.

Set the Conversion Options and Test it.

Step 3: Generate the "Save page as PDF" JavaScript

Save page as PDF

Next, click on the "Generate the JavaScript" button to generate the JavaScript necessary to embed the "Save page as PDF" button in your website. Tip: You can use your own button if you know how to do some programming.

Generate the 'Save page as PDF' JavaScript

Step 4: Copy-and-paste the JavaScript to your website

The last step is to copy-and-paste the JavaScript within the body tags of your web page(s), exactly where you want the button to show up.

Copy-and-paste the JavaScript to your website