Laravel PDF annotation library

Nutrient Web SDK is a JavaScript library for creating, removing, and editing PDF annotations. It is fully compatible with Laravel and offers developers a robust API for programmatic annotation management, as well as a beautiful UI for working with 17 PDF annotation types in any Laravel-based web app.

Try for free Launch demo

Nutrient SDKs are deployed in some of the world’s most popular applications, such as those made by Autodesk, Disney, UBS, 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 and export — Manage annotations in XFDF or JSON files

  • Annotation events — Trigger workflows or automations

  • Cloudy annotations — Cloudy border effect

  • Custom appearances — Replace or enhance annotation rendering

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

  • Customizable UI — Hide annotation types or create custom tooltips

  • 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 Nutrient

Annotation data formats
Learn about using external files to manage annotations

Geometry primitives
Learn about the basic geometry data types exposed by Nutrient

Working with annotations
Learn how Nutrient loads annotations

Synchronization overview
Learn about the different approaches to annotation syncing

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 two ways Nutrient allows making changes to documents

Embed annotations into a PDF
How to embed annotations into a PDF document

Save annotations to external storage
How to save annotations to external storage

Auto save annotations
How to configure the way changes are automatically saved

Import and export using server-backed
How to import/export annotations using server-backed mode

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

Import and export to/from a database
How to import/export annotations to/from a database

Create an annotation
How to create an annotation

Edit an annotation
How to edit an annotation

Remove an annotation
How to remove an annotation

Annotation permissions
How to configure annotation editing permissions

Add an image annotation
How to add an image to a PDF as an annotation

Detect changes to annotations
How to detect annotation changes that originate from the UI

Annotation flags
How to configure annotation behavior and capabilities

Annotation author name
How to configure the author name for annotations

Customize annotation display logic
How to configure the logic used to display annotations in the viewer

Customize appearance streams
How to render existing appearance streams

Annotation customization
How to create a custom annotation

Hiding annotations
How to hide individual annotations or annotation types

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

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

Annotation replies
Learn about displaying annotation replies as threaded conversations

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

Annotate on an image
How to annotate a PNG, JPG, or TIFF

Image document specification
Learn how PNGs, JPGs, or TIFFs are annotated by Nutrient

PDF actions support
Learn about the PDF actions supported by Nutrient

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

Free Trial

Start your free trial for unlimited access and expert support.

FAQ

Here are a few frequently asked questions about annotations in Nutrient Web SDK.

What is Nutrient Web SDK?

Nutrient Web SDK is a JavaScript library that allows developers to create, edit, and manage PDF annotations in web applications.

How many annotation types does Nutrient support?

It supports 17 different annotation types, including highlights, ink, notes, and shapes.

Can annotations be managed programmatically?

Yes, annotations can be created, edited, and removed programmatically or via the UI.

What file formats are supported for importing and exporting annotations?

Nutrient supports importing and exporting annotations in XFDF and JSON formats.

Is the Nutrient UI customizable?

Yes, you can customize the UI, including hiding annotation types and creating custom tooltips.