PDF Generation
Create PDFs with text, images, and tables. Full font embedding (TTF/OTF) including CJK support. Standard 14 fonts built in.
Kotlin-native PDF generation, editing, and manipulation. An iText7 alternative — $99/year for commercial use. Free for personal projects. 7-day free trial.
// Generate a PDF in 5 lines
val writer = PdfWriter(outputStream)
val pdf = PdfDocument(writer)
val document = Document(pdf)
document.add(Paragraph("Hello, DroidPDF!").setFontSize(16f))
document.add(
Table(3).apply {
addCell("Name")
addCell("Age")
addCell("City")
}
)
document.close()
Create PDFs with text, images, and tables. Full font embedding (TTF/OTF) including CJK support. Standard 14 fonts built in.
Merge multiple PDFs, split by page ranges, rotate, reorder, insert, and delete pages with a fluent API.
11 annotation types: highlights, underlines, sticky notes, stamps, shapes, ink drawing, and hyperlinks.
Create and fill text fields, checkboxes, radio buttons, and dropdowns. Read and write form data programmatically.
Protect PDFs with AES-128 or AES-256 encryption. Set granular permissions: printing, copying, modifying, and more.
Extract text from existing PDFs page by page. Search with case-insensitive matching and get results with page references.
| DroidPDF | iText7 | PdfiumAndroid | |
|---|---|---|---|
| PDF generation | Yes | Yes | No |
| Page operations | Yes | Yes | No |
| Annotations | Yes | Yes | No |
| Forms | Yes | Yes | No |
| Encryption | Yes | Yes | No |
| Kotlin-native | Yes | Java | C++ / JNI |
| Transparent pricing | $99/yr | Quote required | Free |
| Android optimized | Yes | JVM port | Yes |
For learning, non-commercial, and open-source projects
For any commercial app — any team size, any revenue