Usage Clone this repository, open a terminal inside html_to_pdf/ and run npm install, place your index.html file and others in a folder NAMEME/, place NAMEME/ in one of the folders inside data/, reuse terminal inside html_to_pdf/ and run node index.js, and check out your PDFs inside pdfs/! Tips If your PDFs does not look correct, use <style>...</style> tags inside your index.html file instead of external .css files for styling. Add html { -webkit-print-color-adjust: exact; } inside your <style>...</style> tags for better colors!