How do you convert multiple HTML files into PDF files?

I have a folder full of HTML files which I want to convert into PDF files. How can I do this? And is there a way of directing all those new PDF files into a new folder?

Pandoc should be able to do so.

If you open the HTML in Chrome choose print then save as PDF and pick your destination.

You’ve got a few options: the Dompdf library can handle it, or you can use Chrome. If you’re looking for an online tool, there’s also one available for converting HTML to PDF.

Check out my version, it lets you convert an unlimited number of files without having to upload them…github