---
title: "Cut, copy, paste & duplicate PDF annotations in JavaScript | Nutrient"
canonical_url: "https://www.nutrient.io/guides/web/annotations/create-edit-and-remove/cut-copy-duplicate/"
md_url: "https://www.nutrient.io/guides/web/annotations/create-edit-and-remove/cut-copy-duplicate.md"
last_updated: "2026-05-19T18:11:34.003Z"
description: "Learn to enable clipboard actions in Nutrient Web SDK to cut, copy, paste, and duplicate PDF annotations using keyboard shortcuts for improved workflow."
---

# Cut, copy, paste, and duplicate annotations in PDF using JavaScript

Nutrient Web SDK allows users to perform clipboard actions like cutting, copying, pasting, and duplicating annotations using the keyboard shortcuts Control/Command + X, Control/Command + C, Control/Command + V, and Control/Command + D, respectively.

This feature isn’t turned on by default, so you have to turn it on by setting [`NutrientViewer.Configuration#enableClipboardActions`](https://www.nutrient.io/api/web/NutrientViewer.Configuration.html#enableClipboardActions) to `true`:

```js

NutrientViewer.load({
  // Other options.
  enableClipboardActions: true
});

```

We recommend you also turn on the undo and redo feature for a better experience with clipboard actions:

```js

NutrientViewer.load({
  // Other options.
  enableClipboardActions: true,
  enableHistory: true
});

```
---

## Related pages

- [Add image annotations to PDFs using JavaScript](/guides/web/annotations/create-edit-and-remove/add-image.md)
- [Annotation flags](/guides/web/annotations/annotation-flags.md)
- [Defining the author of an annotation](/guides/web/annotations/annotation-author-name.md)
- [Create PDF annotations using JavaScript](/guides/web/annotations/create-edit-and-remove/create.md)
- [Detect changes in annotations](/guides/web/annotations/detecting-if-annotations-have-changed.md)
- [Edit PDF annotations using JavaScript](/guides/web/annotations/create-edit-and-remove/edit.md)
- [Select PDF annotations using JavaScript](/guides/web/annotations/create-edit-and-remove/multiple-selection.md)
- [Customizing annotation permissions](/guides/web/annotations/create-edit-and-remove/permissions.md)
- [Remove PDF annotations using JavaScript](/guides/web/annotations/create-edit-and-remove/remove.md)
- [Rich text in PDF annotations using JavaScript](/guides/web/annotations/create-edit-and-remove/rich-text.md)
- [Undo and redo annotations](/guides/web/annotations/create-edit-and-remove/undo-redo.md)

