PDF with PHP Generating PDF with PHP + HTML + CSS. I use some libs to test what is better. Libs mPDF mPDF - mPDF is a PHP library generating PDF files from UTF-8 encoded HTML Docs: https://mpdf.github.io/ Dompdf Dompdf - HTML to PDF converter (PHP5)