GrabzIt
Tools to Capture and Convert the Web

Convert Webpages to PDF Documents Webpage to PDF

Save Website for Offline Viewing

GrabzIt provides multiple ways of converting webpages into PDF documents for free by using either our API or Online Tool. Allowing you to produce great PDF's quickly and easily with all the basic features provided for free, just sign up to get started.

To see the API in action please enter below the URL of a web page you wish to convert into a PDF document. The completed PDF will then be automatically download when our service has finished converting the webpage.

We boost the speed of your PDF generation by using our Global network of servers to convert web pages from around the world faster than ever before!

Webpage to PDF API

Embed GrabzIt's Webpage to PDF functionality directly into your application by using our API and one of eight supported programming languages. To get started converting pages just select the appropriate language from the below options to see some example code snippets and instructions.

The following code snippet illustrates how easy it is to convert a URL into a PDF using ASP.NET. To start creating PDF screenshots just download the ASP.NET Library, get your Application Key and Secret and then use the demo contained within. Finally check out the API documentation for ASP.NET to find out all the ways you can use GrabzIt's API.

GrabzItClient grabzIt = new GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret");
grabzIt.URLToPDF("http://www.google.com"); 
grabzIt.SaveTo("documents/result.pdf");

The following code snippet illustrates how easy it is to convert a URL into a PDF using Java. To start creating PDF screenshots just download the Java Library, get your Application Key and Secret and then use the demo contained within. Finally check out the API documentation for Java to find out all the ways you can use GrabzIt's API.

GrabzItClient grabzIt = new GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret");
grabzIt.URLToPDF("http://www.google.com"); 
grabzIt.SaveTo("documents/result.pdf");

The following code snippet illustrates how easy it is to convert a URL into a PDF using JavaScript. To start creating PDF screenshots download GrabzIt's JavaScript Library. Then get your Application Key and Secret, add the domain you want to use the JavaScript on and then check out the API documentation for JavaScript to find out all the ways you can use GrabzIt's API.

<script src="grabzit.min.js"></script>
<script>
GrabzIt("Sign in to view your Application Key").ConvertURL("http://www.google.com", 
{"format":"pdf"}).Create();
</script>

The following code snippet illustrates how easy it is to convert a URL into a PDF using Node.js. To start creating PDF screenshots just download the Node.js Package, get your Application Key and Secret and then use the demo contained within. Finally check out the API documentation for Node.js to find out all the ways you can use GrabzIt's API.

var grabzit = require('grabzit');

var client = new grabzit("Sign in to view your Application Key", "Sign in to view your Application Secret");
client.url_to_pdf("http://www.google.com");
client.save_to("documents/result.pdf");

The following code snippet illustrates how easy it is to convert a URL into a PDF using Perl. To start creating PDF screenshots just download the Perl Library, get your Application Key and Secret and then use the demo contained within. Finally check out the API documentation for Perl to find out all the ways you can use GrabzIt's API.

#!/usr/bin/perl

use GrabzItClient;

$grabzIt = GrabzItClient->new("Sign in to view your Application Key", "Sign in to view your Application Secret");
$grabzIt->URLToPDF("http://www.google.com");
$grabzIt->SaveTo("documents/result.pdf");

The following code snippet illustrates how easy it is to convert a URL into a PDF using PHP. To start creating PDF screenshots just download the PHP Library, get your Application Key and Secret and then use the demo contained within. Finally check out the API documentation for PHP to find out all the ways you can use GrabzIt's API.

include("GrabzItClient.class.php");

$grabzIt = new GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret");
$grabzIt->URLToPDF("http://www.google.com"); 
$grabzIt->SaveTo("documents/result.pdf");

The following code snippet illustrates how easy it is to convert a URL into a PDF using Python. To start creating PDF screenshots just download the Python Library, get your Application Key and Secret and then use the demo contained within. Finally check out the API documentation for Python to find out all the ways you can use GrabzIt's API.

import GrabzItClient

grabzIt = GrabzItClient.GrabzItClient("Sign in to view your Application Key", "Sign in to view your Application Secret")
grabzIt.URLToPDF("http://www.google.com") 
grabzIt.SaveTo("documents/result.pdf") 

The following code snippet illustrates how easy it is to convert a URL into a PDF using Ruby. To start creating PDF screenshots just download the Ruby Gem, get your Application Key and Secret and then use the demo contained within. Finally check out the API documentation for Ruby to find out all the ways you can use GrabzIt's API.

require 'grabzit'

grabzItClient = GrabzIt::Client.new("Sign in to view your Application Key", "Sign in to view your Application Secret")
grabzItClient.url_to_pdf("http://www.google.com")	
grabzItClient.save_to("documents/result.pdf") 	

Additionally you can customize your PDF's with multiple PDF Templates, which allow you to create highly flexible headers and footers for any of the PDF documents you generate.

Save Webpage as PDF

If you want to enable the users of your website, CMS or blog to be able to save the current webpage they are on as a PDF document, or if you want your users to be able to save a specified URL as a PDF document when a link or button is clicked. Then GrabzIt's Save As PDF Plugin is for you.

Other ways to Convert the Web to PDF

Rather than just convert one webpage to PDF at a time, an entire website can be converted to PDF by using this special web scraper template. This template will instruct the web scraper to crawl an entire website and convert every URL it finds into a PDF document.

If you don't want to convert URL's you can also use our API to convert HTML directly into PDF documents.

Try all our premium features for free with a 7 day free trial. Then from $5.99 a month, unless cancelled.
  • More Captures
  • More Features
  • More API's
  • Bigger Scrapes
  • Bigger Screenshots
  • Bigger Everything
Start Free Trial