Web to PDF Tips


This page offers a few practical tips on how to convert web pages to PDF.

Convert Web Page to PDF

You can easily convert any web page using the Pdfcrowd HTML to PDF online service. Just enter the address of the page you want to convert and click the Convert to PDF button.

Convert HTML to PDF

Save to PDF Link

Do you have a blog or a web site? Add a simple link to your web pages and let your visitors save your web pages to PDF. Insert this HTML code into your pages:

<a href="http://pdfcrowd.com/url_to_pdf/">Save this page to a PDF</a>

Here is a demonstration: Save this page to a PDF

You can customize the PDFs, learn more at the Save to PDF home page.

Save as PDF Add-on

The Save as PDF add-on lets you save the current web page to PDF in one click:

Save as PDF addon

Application Developers

Start creating PDFs in your applications in a minute with the Pdfcrowd HTML to PDF API. You can use either the REST API or API libraries for PHP, .NET, Java, Python, Ruby, and Node.js.

The integration is easy and free. You don't need any third-party libraries. Here is a complete example of converting a web page to PDF in PHP:

require 'pdfcrowd.php';

$client = new Pdfcrowd("username", "apikey");
$pdf = $client->convertURI('http://www.example.com/');

You can also find examples of server side PDF generation in this Convert HTML to PDF in PHP tutorial.