# How is exportAnnotations() command different from exportAnnotCommand() for exporting annotations?

**URL:** <https://pdfjs.community/t/how-is-exportannotations-command-different-from-exportannotcommand-for-exporting-annotations/879>\
**Category:** Technical Support\
**Created:** [July 9, 2021, 6:14am UTC](https://pdfjs.community/t/how-is-exportannotations-command-different-from-exportannotcommand-for-exporting-annotations/879 "2021-07-09T06:14:38Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![chats2790](https://avatars.discourse-cdn.com/v4/letter/c/34f0e0/32.png) [@chats2790](https://pdfjs.community/u/chats2790)\
**Post date:** [July 9, 2021, 6:14am UTC](https://pdfjs.community/t/how-is-exportannotations-command-different-from-exportannotcommand-for-exporting-annotations/879/1 "2021-07-09T06:14:38Z")

</div>

**PDF.js Express Version**  
7.3.3

**Detailed description of issue**  
On exporting annotations on viewer, which is the best way to export all the annotations made on the document ? Can u pls help us navigate through these 2 techniques?  
Thanks

**Expected behaviour**  
{Provide a screenshot or description of the expected behaviour}

**Does your issue happen with every document, or just one?**  
{Answer here}

**Link to document**  
{Provide a link to the document in question if possible}

**Code snippet**  
{Provide a relevant code snippet}

---

_[View the full topic](https://pdfjs.community/t/how-is-exportannotations-command-different-from-exportannotcommand-for-exporting-annotations/879)._
