All formats

PDF libraries for Java

Java has 3 mature open-source PDF libraries:

Pick PDFBox to read, extract text, render or modify files; OpenPDF to generate documents under a business-friendly license; iText when you need advanced signatures or conformance and can accept the AGPL or a license fee. For HTML-to-PDF without AGPL, OpenHTMLToPDF uses PDFBox.