Home > html, php > Convert HTML to PDF

Convert HTML to PDF

In this thread you will find a list of “HTML to PDF” converters, e.g.:


Simple shell utility to convert html to pdf using the webkit rendering engine, and qt.

You can get its binary executable here. Then, you can convert an html to pdf like this:

wkhtmltopdf-i386  test.html  test.pdf

The result will be similar to exporting the page in PDF in a browser. This is not a surprise, wkhtmltopdf contains the WebKit rendering engine.

  1. Ali
    July 6, 2012 at 02:36

    I would say it is the perfect solution, although executable size is large than usual but it works perfect with inline css or whatever. I now use this one to render my html lectures in pdf.

    Thanks for sharing…

  2. Clarissa
    May 16, 2013 at 08:47

    Here is my pdf converter solution in c#, share with all, welcome all suggestions.

  1. No trackbacks yet.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: