Skip to content

PDF-SDK 2.4.1 is out.See what’s new

PDF-SDK
Android

The PDF editor SDK for Android

A native Android PDF SDK for Jetpack Compose and Views. Your users edit the text already in the PDF, fill and build forms, mark up and sign — on Android 8.0 and later.

Try the live demo in your browser

// Once, in Application.onCreate()
PdfEditorSdk.setLicenseKey("PE1.eyJ2Ijox…")

setContent {
    PdfEditorScreen(
        pdfPath = file.absolutePath,
        onSave = { bytes -> file.writeBytes(bytes) },
        onClose = { finish() },
    )
}

Everything your users need, in your Android app.

Change the text already in the PDF, in any script — its font, size and colour — then move, rotate or restack it.

See the Android PDF editor in action.

The full editor inside a Jetpack Compose or Kotlin app.

  • Edit text and images
  • Highlight and mark up
  • Add shapes and arrows
  • Fill in forms
  • Sign anywhere

Built for Android.

  • Compose and Views

    Use the editor as a Compose screen, or as a View in Fragments and Java code. You get the edited PDF back as bytes.

  • Gradle

    Add one dependency from the Maven repository that comes with your license.

  • Make it yours

    Choose the modes and tools, hide menu items, rename, re-icon and reorder them, add your own actions, set the colour scheme.

  • Edit and sign from code

    A document API makes the same kinds of edits without the editor, and documents can be signed without opening it.

  • Ready for Google Play

    Supports 16 KB memory pages, which Google Play requires for apps that target Android 15 or later.

  • Localized

    Translate the editor’s text into your users’ languages.

Requirements

Android
8.0 (API 26) or later
UI
Jetpack Compose or Views
Languages
Kotlin or Java
Install with
Gradle
Full Android guide

Add a Kotlin PDF editor in three steps.

  1. 1

    Add the dependency

    The SDK is the Maven artifact com.pdfsdk:pdfeditor. It comes with your license, as a hosted registry or a zip you unpack into your project.

  2. 2

    Set your license key

    In Application.onCreate, which runs before any activity. The key must list your app’s package name.

  3. 3

    Show the editor

    Use PdfEditorScreen in Jetpack Compose, or PdfEditorView with Views, Fragments and Java. Hand it a file path and get the edited bytes back.

Read the full Android guide

Android questions.

Yes. Show the editor as a Compose screen, or use it as a View in Fragments and Java code.

Android 8.0 (API level 26) or later.

Yes. The SDK supports 16 KB memory pages, required by Google Play for apps that target Android 15 or later.

Try it in your app.

A free trial unlocks every feature on every platform, in any app. Open a document today.

Talk to us

Questions about licensing, several apps, volume, or OEM and site terms — we will work out what fits.