HTML2PDF is a PHP class using FPDF for the PHP4 release, and TCPDF for the PHP5 release. It can convert valid HTML and xHTML to PDF. More details and examples on

HTML2PDF is now on GitHub :

Project Activity

See All Activity >



Follow html2pdf

html2pdf Web Site

Other Useful Business Software

The Sight of Sound The Sight of Sound Icon
The Sight of Sound Icon

­ Improve VoIP Visibility from SIP to RTP

Cloudbased voice solutions are common in enterprise networks and frustrating for operations teams to manage. Simplify VoIP monitoring by having a proactive analysis of on-prem, hybrid and UCaaS voice services. Try the ThousandEyes VoIP monitoring solution today, free.

Rate This Project

Login To Rate This Project

User Ratings

ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 1 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 2 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 2 / 5

User Reviews

  • script tag and some HTML tags are not working. I'm trying to convert web page to pdf but not a single web page is converting properly. This library is good to make receipt, ticket voucher, table printing etc.

  • not working to real html.....

  • Beware! This program has the Xerox compression bug (google it) which can alter the pdf in ways you will not notice. Everything seems to work great, but then portions of the output are moved around or replaced in surprising ways. I'm rating this poor in every way to get your attention, even though it is very nice except for this bug. Use wkhtmltpdf instead. It is being actively developed and does not appear to suffer from this problem.

  • Works nicely, but sometimes it's hard to figure out what went wrong

  • This is very good, even works better for me than tcpdf. I will surely donate when I earn some money with help of this software

Read more reviews >

Additional Project Details


French, English

Intended Audience


Programming Language