4 Free PHP PDF Libraries you can use to convert HTML to PDF

Use any of these 4 libraries below to easily covert your HTML to PDF files with PHP.

I’ve always used TCPDF for converting HTML, including JPEG and SVG images into PDF files, which you can download inline in the browser, save on the server or force a “save as” dialog.

  1. Free PDF – http://www.fpdf.org/
  2. TCPDF – http://www.tcpdf.org/
  3. MPDF – http://www.mpdf1.com/
  4. dompdf – https://github.com/dompdf/dompdf


Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.