> For the complete documentation index, see [llms.txt](https://docs.apryse.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.apryse.com/web/get-started/guides/features/annotation.md).

# JavaScript PDF Annotation Library

Learn how to import and export annotations, set style properties, add sticky notes, links, and stamps, and remove annotations from PDF documents. The Apryse Web SDK streamlines secure, serverless docu

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

Apryse SDK Benefits include:

* Infinite Undo/Redo
* Support for annotation flattening
* Support for annotation appearances
* XFDF Import
* 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
* Save the annotations into the PDF file
* File attachments
* Sound, movie, and 3D annotations
* Support for custom annotations
* FreeText, Callout
* TextHighlight, TextUnderline, TextSquiggly, TextStrikeout
* Stamp
* Redaction

## Get started

[Import annotations](/web/get-started/guides/features/annotation/import.md) To import XFDF into FDF, then merge data from FDF into PDF.

[Export annotations](/web/get-started/guides/features/annotation/export.md) To extract data from PDF to FDF, then export FDF as XFDF.

[Style properties](/web/get-started/guides/features/annotation/style.md) To set an annotation style property such as color, interior color, border style, padding, etc to an annotation.

[Add sticky note](/web/get-started/guides/features/annotation/text-annotation.md) To add sticky note (text annotation) to a PDF Document.

[Add link annotation](/web/get-started/guides/features/annotation/link-annotation.md) To add a hyperlink or intra-document link annotation to a PDF Document page.

[Add stamp annotation](/web/get-started/guides/create-annotation-stamp.md) To add a stamp annotation with an image, text, or page to a PDF Document page.

[Remove annotation](/web/get-started/guides/features/annotation/remove.md) To remove an annotation from a document.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.apryse.com/web/get-started/guides/features/annotation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
