# Labels not exporting while exporting/downloading pdf with annotations

**URL:** <https://pdfjs.community/t/labels-not-exporting-while-exporting-downloading-pdf-with-annotations/3223>\
**Category:** Technical Support\
**Tags:** pdfjs-express\
**Created:** [April 17, 2024, 8:00pm UTC](https://pdfjs.community/t/labels-not-exporting-while-exporting-downloading-pdf-with-annotations/3223 "2024-04-17T20:00:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![y19mridul](https://avatars.discourse-cdn.com/v4/letter/y/a698b9/32.png) [@y19mridul](https://pdfjs.community/u/y19mridul)\
**Post date:** [April 17, 2024, 8:00pm UTC](https://pdfjs.community/t/labels-not-exporting-while-exporting-downloading-pdf-with-annotations/3223/1 "2024-04-17T20:00:36Z")

</div>

Which product are you using?  
PDF.js Express Plus

PDF.js Express Version

Latest  
**Detailed description of issue**  
I am trying to export/download the pdf which contains annotations as well as the labels over those annotations. After downloading the PDF, annotations are visible but I am not able to see any labels.

**Expected behaviour**  
The labels should also be exported and visible. For example, these labels written as 122 and 123 should be visible. Please open the link below for the screenshot.

> **[Screenshot](https://prnt.sc/byQjHG-yYlXf)**
>
> Captured with Lightshot

**Does your issue happen with every document, or just one?**  
Every document

**Code snippet**

 ![image](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/2X/4/4da78d7374933947b82e02efead61cf458e4f1e4.png)

---

<div class="post-metadata">

**Author:** ![kkim](https://avatars.discourse-cdn.com/v4/letter/k/3ab097/32.png) [@kkim](https://pdfjs.community/u/kkim)\
**Post date:** [April 18, 2024, 5:38pm UTC](https://pdfjs.community/t/labels-not-exporting-while-exporting-downloading-pdf-with-annotations/3223/2 "2024-04-18T17:38:01Z")

</div>

Hi there,

Can you share how you added those labels? Are they free-text annotations?  
Could you share the entire XFDF you are sending to the rest API?

Best regards,  
Kevin Kim

---

<div class="post-metadata">

**Author:** ![y19mridul](https://avatars.discourse-cdn.com/v4/letter/y/a698b9/32.png) [@y19mridul](https://pdfjs.community/u/y19mridul)\
**Post date:** [May 1, 2024, 8:01pm UTC](https://pdfjs.community/t/labels-not-exporting-while-exporting-downloading-pdf-with-annotations/3223/3 "2024-05-01T20:01:05Z")

</div>

Yes, they are free text annotations  
Here is the entire XFDF  
[XFDF.zip](https://pdfjs.community/uploads/short-url/1YFlCIOQGLKb6RqIy9fTYatOQo3.zip) (6.6 KB)

---

<div class="post-metadata">

**Author:** ![kkim](https://avatars.discourse-cdn.com/v4/letter/k/3ab097/32.png) [@kkim](https://pdfjs.community/u/kkim)\
**Post date:** [May 1, 2024, 9:17pm UTC](https://pdfjs.community/t/labels-not-exporting-while-exporting-downloading-pdf-with-annotations/3223/4 "2024-05-01T21:17:54Z")

</div>

Hi there,

There may be an issue with how those free-text annotations are created,

I was unable to import the entire XFDF that you provided. But after deleting those free-text annotations from the XFDF, I was able to import them.

Best regards,  
Kevin Kim
