Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Looking to say "http://example.com/index.html -o website.png"

Is there an existing program to do this? I'm ok with doing html to png. Is there a program for that?

share|improve this question

migrated from stackoverflow.com May 7 '11 at 21:45

This question came from our site for professional and enthusiast programmers.

Do you want webpage screenshots? –  PENDO May 7 '11 at 12:02
@PENDO yes screenshots. @Mohamed Meligy looking to script something in the shell. –  keith May 7 '11 at 12:15
If you want to "script something in the shell" then you need a command-line application to do it, and @Mohamed Meligy's comment still applies. –  pavium May 7 '11 at 12:21
I think you need a html to pdf and image converter. –  user117055 Feb 6 '12 at 17:06

3 Answers 3

While it is no direct solution, the browsershots project is open source and basically provides what is requested here.

share|improve this answer

quick search turns up this program

Main features

  • Create full size screenshots of website pages.
  • Supports JPG, GIF, PNG, BMP image formats.
  • Supports command line usage.
  • Supports batch convert with command line.
  • Simple, very fast and easy-to-use.
  • Freeware, not paid for use.
share|improve this answer

I assume from what you say mentioning "Shell" that you want something on Unix/Linux/Mac. Unfortunately the only script I have is a .NET (C#) code to fire IE browser control and take a screenshot of that.

However, check the answer to this question. It seems the same as yours: Command line program to create website screenshots (on Linux)

If it's Windows thought, check also:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.