Get Started

play_arrow

Learn more

play_arrow

Common use cases

play_arrow

Open a document

play_arrow

Save a document

play_arrow

Viewer

play_arrow

UI Customization

play_arrow

Annotations

play_arrow

Collaboration

play_arrow

Forms

play_arrow

Signature

play_arrow

Measurement

play_arrow

PDF.js Express REST API

play_arrow

PDF.js Express annotations

In PDF.js Express Web Viewer annotations can be created both through the UI and programmatically.

Annotations allow users to mark up and comment on PDFs without altering the original authors content.

Try Online Demo

PDF.js Express Web Viewer SDK Benefits include:

  • Export annotations to FDF, XFDF, text, or PDF annotation summary
  • Sticky (Note)
  • Comments
  • Text markup (highlight, squiggly, underline, strikeout)
  • Add shapes (line, arrow, polyline, rectangle, ellipse, polygon, cloud)
  • Cloud annotations
  • Apply freehand ink annotations
  • Signatures
  • Support for custom annotations
  • FreeText, Callout
  • TextHighlight, TextUnderline, TextSquiggly, TextStrikeout
  • Stamp

Get started

Importing and exporting annotations
To import and export annotations with a PDF document.

Merge and extract annotations
To merge and extract annotations using PDF.js Express REST API

Creating annotations
To create annotations programmatically with a PDF document.

Creating custom annotations
To create custom annotations programmatically with a PDF document.

Annotation permissions
To control which users can modify which annotations.

Annotation events/triggers
To listen for annotation events and handle various callbacks.

Annotation tools
An introduction to annotation tools.

Custom annotation tools
To customize annotation tools for grouping, enable/disable, style changes, or behaviour enhancement

Default tool styles
To customize the default annotation style properties of tools.