Introducing WebKitTool

WebKitTool.pngWebKitTool is a simple command line tool using Apple’s WebKit framework¬†for converting web pages to PDF- or image files.

When creating PDFs, you can either create one page containing the whole web page or multiple pages, landscape or portrait.


Creating a single page PDF of

./WebKitTool google.pdf

Creating a multipage PDF of

./WebKitTool -p engadget.pdf

Creating a big PNG image of

./WebKitTool engadget.png


The tool is 100% open source. The source code and the universal binary are hosted on GitHub. WebKitTool requires Mac OS X 10.4 or later. Enjoy!

This entry was posted in Mac, Software, Terminal. Bookmark the permalink.

Comments are closed.