The affordable PDF library
for Android

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()

Everything you need to work with PDFs on Android

PDF Generation

Create PDFs with text, images, and tables. Full font embedding (TTF/OTF) including CJK support. Standard 14 fonts built in.

Page Operations

Merge multiple PDFs, split by page ranges, rotate, reorder, insert, and delete pages with a fluent API.

Annotations

11 annotation types: highlights, underlines, sticky notes, stamps, shapes, ink drawing, and hyperlinks.

Forms (AcroForm)

Create and fill text fields, checkboxes, radio buttons, and dropdowns. Read and write form data programmatically.

Encryption

Protect PDFs with AES-128 or AES-256 encryption. Set granular permissions: printing, copying, modifying, and more.

Text Extraction

Extract text from existing PDFs page by page. Search with case-insensitive matching and get results with page references.

How DroidPDF compares

DroidPDFiText7PdfiumAndroid
PDF generationYesYesNo
Page operationsYesYesNo
AnnotationsYesYesNo
FormsYesYesNo
EncryptionYesYesNo
Kotlin-nativeYesJavaC++ / JNI
Transparent pricing$99/yrQuote requiredFree
Android optimizedYesJVM portYes

Simple, transparent pricing

Personal

Free

For learning, non-commercial, and open-source projects

  • All features included
  • No license key needed
  • Community support
Get Started