Android Office Libraries
for Kotlin

Read and write Excel, Word, and PowerPoint files natively on Android. Lightweight, fast, and affordable — built for mobile from the ground up.

Why DroidOffice?

Built specifically for Android — not ported from Java desktop libraries

ðŸŠķ Lightweight

~235KB AAR. No 50MB+ dependency bloat like Apache POI or Aspose.

⚡ SAX Streaming

Memory-efficient streaming parser. Works within Android's 256-512MB heap limits.

ðŸŽŊ Kotlin-First

DSL-style API designed for Kotlin. Expressive, concise, type-safe.

💰 Affordable

$99/year for commercial use. Compare to Aspose at $1,175+/year. Free for personal/OSS.

🔒 Secure

Office-compatible password protection (AES encryption). Opens in LibreOffice and MS Office.

🔄 Async Ready

Kotlin Coroutines support. Every API has a suspend fun variant.

Simple, Expressive API

Create an Excel file in 10 lines of Kotlin

val workbook = Workbook()
val sheet = workbook.addSheet("Sales")

// Write data
sheet["A1"].value = "Product"
sheet["B1"].value = "Revenue"
sheet["A2"].value = "Widget"
sheet["B2"].value = 12345.67

// Style with Kotlin DSL
sheet["A1"].style {
    font { bold = true; size = 14.0 }
    fill { foregroundColor = OfficeColor.Rgb(47, 85, 151) }
    border { all = BorderStyle.THIN }
}

// Add formula & save
sheet["B3"].formula = "=SUM(B2:B2)"
workbook.save(outputStream)

Products

One library per Office format — use only what you need

Available

DroidXLS

.xlsx — Excel 2007+

  • Read/write .xlsx files
  • Styles, formulas (~30 functions)
  • Images, charts, data validation
  • Password protection (Office-compatible)
  • CSV and HTML export
  • SAX streaming, ~235KB
Available

DroidDoc

.docx — Word 2007+

  • Paragraphs, styles (Heading 1-6, Title)
  • Tables, images, bullet/numbered lists
  • Headers, footers, sections, hyperlinks
  • Password protection (Office-compatible)
  • HTML and plain text export
  • SAX streaming, Kotlin DSL
Available

DroidSlide

.pptx — PowerPoint 2007+

  • Slides, text boxes, preset shapes
  • Images, tables, charts
  • Speaker notes, themes, layouts
  • Password protection (Office-compatible)
  • HTML export
  • SAX streaming, Kotlin API

How DroidOffice Compares

The right balance of features, size, and price for Android

DroidXLSAspose.CellsApache POISpire.XLS
Price$99/year$1,175+/yearFree$500+
Library Size~235 KB~30 MB~50 MB~15 MB
APIKotlin DSLJavaJavaJava
MemorySAX StreamingDOMDOMDOM
AndroidNativeOfficialUnofficialOfficial
Free TierFull featuresNoneFull5 sheets/200 rows
CoroutinesYesNoNoNo

Pricing

Free for personal use. One simple plan for commercial.

$99 / year per product

vs. Aspose at $1,175+/year per product — save over $1,000

  • All features, no restrictions
  • License key delivered instantly
  • Updates for subscription duration
  • GitHub Issues support
DroidXLS — $99/yr DroidDoc — $99/yr DroidSlide — $99/yr

Free for personal, open source, NPO, and educational use.
No feature restrictions on the free tier.

Ready to Get Started?

Add DroidOffice to your Android project in 2 minutes

// build.gradle.kts — pick what you need
dependencies {
    implementation("com.github.youichi-uda:droidxls:0.1.0")   // Excel
    implementation("com.github.youichi-uda:droiddoc:0.1.0")   // Word
    implementation("com.github.youichi-uda:droidslide:0.1.0") // PowerPoint
}