Free trial

Pick a framework to get started

close

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

Searching

play_arrow

Measurement

play_arrow

PDF.js Express REST API

play_arrow

Migration Guides

play_arrow

Saving a document with annotations

The pure client side of PDF.js Express does not have the ability to bake annotations directly into the PDF on save. The most common use case is saving the annotations (as XFDF) as a seperate layer in your database. See this guide for more information.

However, PDF.js Express does provide a REST API that merge or set annotations directly into the document.

Read the documentation