Take screenshots of websites from command line in Windows

October 23, 2012 · Posted in Development 

There are many tools to take/capture screenshots from command line in Windows.

If you are looking for command line tools in Linux – read this post.


http://cutycapt.sourceforge.net/, http://iecapt.sourceforge.net/

These are my favourite tools.

CutyCapt or IECapt – both are similar in execution but differ slightly in the way they render web pages.

CutyCapt uses WebKit engine (same as Google Chrome or Safari).

IECapyt uses Internet Explorer as an engine to render web pages.


The usage is simple as:

CutyCapt --url=http://www.google.com/ --out=google.png




import command line tool allows you to capture some or all of a screen and save the image to a file.

To save the entire screen as a jpeg:

import -window root screen.jpeg

If you want to use the mouse to click inside a window or select a screen region & save a a png, just use:

import box.png




You can run it via command-line as shown here: http://www.etcwiki.org/wiki/IrfanView_Command_Line_Options.







A simple tool to take a screenshot of a desktop or any window selected by widow title. It is also possible to select rectangle to capture. The result is stored as a png file.






Discussions on StackOverflow and SuperUser:

- http://superuser.com/questions/75614/take-a-screen-shot-from-command-line-in-windows


  • http://maxivak.com/take-screenshots-of-websites-from-command-line-in-linux/ Take screenshots of websites from command line in Linux : Max Ivak Personal Site

    [...] Read how to take screenshots from command line in Windows in this my post. [...]

  • http://maxivak.com/taking-screenshots-of-websites-with-php/ Taking Screenshots of Websites with PHP : Max Ivak Personal Site

    [...] command lines tools you can use to take a screenshots of a web page. See the list of tools here: in Windows, in [...]