GrabzIt
Tools to Capture and Convert the Web

Three easy ways to screenshot a URL with GrabzIt

Saturday, September 26, 2015
Screenshot URL

The simplest way to screenshot a URL is to use GrabzIt's Online Screenshot Tool, first create a new task enter the URL of the website you want to take a screenshot of, specify any special options and then your URL screenshot will be returned to you using the method you specified.

The next method is to use GrabzIt's JavaScript API to take a screenshot a of a URL, however using GrabzIt's Core Plugin makes this even easier, simply specify what HTML element the URL screenshot should be added to along with your Application Key and Secret as shown in the code below.

<div id="screenshot"></div>
<script>
GrabzIt("APPLICATION KEY").ConvertURL('http://www.google.com').AddTo('screenshot');
</script>

The final option is to take a URL screenshot using one of the eight server side programming language provided by GrabzIt's API's. The below example uses the PHP API to get started specify the Application Key and Secret. Then pass the URL to the URLToImage method before calling the SaveTo method as shown below to create a URL screenshot at the file location specified.

include("GrabzItClient.class.php");
$grabzIt = new GrabzItClient("APPLICATION KEY", "APPLICATION SECRET");
$grabzIt->URLToImage("http://www.google.com"); 
$grabzIt->SaveTo("screenshot.png"); 

Additionally, if you want to screenshot every URL on a website you can do so by using GrabzIt's Web Scraper tool.

View the latest blog posts
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