PDF Annotation Library for Android

PSPDFKit for Android is a library for creating, removing, or editing PDF annotations. It offers developers a robust API for programmatic annotation management, as well as a beautiful UI for working with 17 PDF annotation types.

PSPDFKit SDKs are deployed in some of the world’s most popular applications, such as those made by Autodesk, Disney, DocuSign, Dropbox, IBM, and Lufthansa.

Key Capabilities

  • 17 annotation types - Highlight, text, ink, note, shapes, and more

  • Create, edit, remove - Programmatically or by using the UI

  • Import & export - Manage annotations in XFDF or JSON files

  • Annotation events - Trigger workflows or automations

  • Cloudy annotations - Cloudy border effect

  • Synchronize - To a server, multiple users, devices, or sessions

  • Customizable UI - Hide buttons or create custom inspectors

  • Extendable - Add signing, editing, forms, and more

Guides for Annotation

What Are Annotations?
Learn about the basics of PDF annotations

Supported Annotation Types
Learn about the types of annotations supported by PSPDFKit

Annotation Data Formats
Learn about using external files to manage annotations

Bounding Boxes
How to access and change an annotation’s bounding box

Synchronization Overview
Learn about the different approaches to annotation sync’ing

Storing Annotation Data
Learn best practices for storing annotation data

Concurrent User Conflict Resolution
Learn best practices for conflict resolution with concurrent users

Saving Annotations Overview
Learn the ways PSPDFKit allows making changes to documents

Embed Annotations Into the PDF
How to embed annotations into the PDF document

Save Annotations to an External Source
How to save annotations to an external source

Auto Save Annotations
How to configure the way changes are automatically saved

Import and Export To/From PSPDFKIt Server
How to import/export annotations to/from the optional PSPDFKit Server

Import and Export To/From Instant JSON
How to import/export annotations to/from Instant JSON

Import and Export To/From XFDF
How to import/export annotations to/from XFDF

Programmatic Creation, Editing, or Removal
How to programmatically create, edit, or remove annotations

Detect Changes to Annotations
How to detect annotation changes that originate from the UI

Attach a File
How to programmatically create a file annotation with an embedded file

Disable Annotation Editing
How to disable the modification of individual annotations or types

Annotation Flags
How to configure annotation behaviour and capabilities

Copy and Paste
How to configure annotation copy and paste

Undo and Redo
Learn about the undo and redo functionality for annotations

Annotation Author Name
How to configure the author name for annotations

Annotation Z-Index
How to change the z-index of an annotation

Customize Appearance Streams
How to render existing appearance streams

Hiding Annotations
How to hide individual annotations or annotation types

Customize Default Properties
How to configure the default value for annotation properties

Customize the Note Icon
How to customize or hide the note icon

Store Custom Data in an Annotation
How to store and process custom data inside an annotation

PDF JavaScript API
How to set a JavaScript action on a PDF annotation

Annotation Replies & Reviews
Learn about annotation replies and reviews

Stamp a Document With Built-in Stamps
How to stamp a document programmatically or with the UI

Stamp Configuration
How to create a custom stamp

Flatten Annotations
How to flatten annotations and burn them into the PDF

Video Annotations
How to embed video into a PDF

Multimedia Annotations
How to display multimedia/gallery annotations

Sound Annotations
How to read and create sound annotations with embedded audio data

Annotate on an Image
How to annotate a PNG or JPG

Image Document Specification
Learn how PNGs and JPGs are annotated by PSPDFKit

PDF Actions Support
Learn about the PDF actions supported by PSPDFKit

Link Annotations
How to create, detect, and customize link annotations

Freeform Annotation Rotation
Learn about annotation rotation and how to configure this

Magic Ink
How to add and configure the Magic Ink tool

Free Trial

Enjoy unlimited trial usage of all our products. Get guidance and tech support from developers who built the product, and get started within minutes.