Skip to content
GrabzIt enables you to convert HTML and URL's into JPG's, PNG's, DOCX's, PDF's and more. Transform online videos into animated GIF's or convert HTML tables to JSON, CSV and Excel spreadsheets.
HTML JavaScript C# Java Python Ruby Other
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
aspnet Initial support for SEO API Oct 15, 2019
java Added support for CSS Media Types to PDF Sep 6, 2019
javascript Added media key to mjs version Sep 6, 2019
nodejs Updated package.json Sep 6, 2019
perl Minor doc update Sep 6, 2019
plugins Added the latest javascript API code for all the latest features Sep 7, 2019
python Added support for CSS Media Types Sep 6, 2019
ruby Added CSS Media Type to Ruby Sep 6, 2019
scraper Updated nuget version Aug 28, 2018
.gitignore Fixed timeout issue Aug 1, 2019
Instructions.txt Added COM support Aug 17, 2015 Update Apr 19, 2018
composer.json Finished PHP upgrade for animated GIF Aug 12, 2014
license.txt Overall license Nov 25, 2016

Convert the Web!

GrabzIt aspires to allow any programming language no matter how basic to turn a website or HTML into a fully rendered Image, PDF, DOCX. As well as converting HTML tables into JSON, XML, CSV or Excel and online videos into animated GIF's.

To do this we provide client libraries that enables a developer to create a capture, once complete, our server then sends a callback to your app to allow it to be processed.

While we currently support ASP.NET, Java, Javascript, Node.js, PHP, Perl, Python and Ruby we aim to create a library for as many programming languages as possible. If you would like to help us achieve this please do!


We have made the programming libraries as simple as possible to use. To create a capture you must first call a method that specifies what you want to capture such as the URLToImage method followed by the Save method. You will need a application key and application secret, but you can get these for free from


//Create the GrabzItClient class
//Replace "APPLICATION KEY", "APPLICATION SECRET" with the values from your account!
$grabzIt = new GrabzItClient("APPLICATION KEY", "APPLICATION SECRET");
//Take the picture the method will return the unique identifier assigned to this task
$id = $grabzIt->Save("");

Notice that in the above example the location of the handler.php is defined this is used to handle the callback when the capture is complete.

The handler that accepts the callback and saves the image is below.


$message = $_GET["message"];
$customId = $_GET["customid"];
$id = $_GET["id"];
$filename = $_GET["filename"];
$format = $_GET["format"];

//Custom id can be used to store user ids or whatever is needed for the later processing of the
//resulting screenshot

$grabzIt = new GrabzItClient("APPLICATION KEY", "APPLICATION SECRET");
$result = $grabzIt->GetResult($id);

if (!$result)

//Ensure that the application has the correct rights for this directory.
file_put_contents("results" . DIRECTORY_SEPARATOR . $filename, $result);

And that's it! Your website should now be taking screenshots!


For further more in depth documentation go to

You can’t perform that action at this time.