OpenPDF is an open-source Java library for creating, editing, rendering, and encrypting PDF documents, as well as generating PDFs from HTML. It is licensed under the LGPL and MPL.
Rather not self-host? These services do the same job out of the box.
Hostinger
Hosting & VPS
Affordable hosting, VPS and domains — enough to run a site, n8n, bots or self-host the repos listed here.