# Exporting markups data as a csv 

**URL:** <https://discourse.slicer.org/t/exporting-markups-data-as-a-csv/41849>\
**Category:** Support\
**Created:** [February 23, 2025, 2:12pm UTC](https://discourse.slicer.org/t/exporting-markups-data-as-a-csv/41849 "2025-02-23T14:12:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![evergarden](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/evergarden/32/79535_2.png) [@evergarden](https://discourse.slicer.org/u/evergarden)\
**Post date:** [February 23, 2025, 2:12pm UTC](https://discourse.slicer.org/t/exporting-markups-data-as-a-csv/41849/1 "2025-02-23T14:12:49Z")

</div>

I’m having issues exporting data as a csv, I created all the markups and nodes I wanted to collected and couldn’t seem to export any of the data as a csv successfully. I would often get csv’s with random numbers or incomplete cells. I also am using two separate modules (Biomech and Morph) to collect volume data and general length data so I also wanted to know if there was an easier way to export all of the data onto 1 csv?

Thanks! :3

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [February 23, 2025, 8:00pm UTC](https://discourse.slicer.org/t/exporting-markups-data-as-a-csv/41849/2 "2025-02-23T20:00:39Z")

</div>

> [@evergarden](#):
>
> couldn’t seem to export any of the data as a csv successfully. I

Did you try the Markup modules import/export tab? It allows you export the markups as a table inside slicer, which then you can save as a csv file.  
Also you can copy and paste control points from the control points table to Excel.

> [@evergarden](#):
>
> I would often get csv’s with random numbers or incomplete cells.

That doesn’t sound right. How are you exporting these CSV files?

> [@evergarden](#):
>
> I also wanted to know if there was an easier way to export all of the data onto 1 csv?

You can use the MergeMarkup module in SlicerMorph to merge all your markup nodes into a single markup object, which then you can use the export mechanism to save it as a csv file (or copy/paste to excel)

---

<div class="post-metadata">

**Author:** ![evergarden](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/evergarden/32/79535_2.png) [@evergarden](https://discourse.slicer.org/u/evergarden)\
**Post date:** [March 7, 2025, 10:45pm UTC](https://discourse.slicer.org/t/exporting-markups-data-as-a-csv/41849/3 "2025-03-07T22:45:28Z")

</div>

Hello!

Thank you for your help, I was able to export the data but instead of the Description (like the name of the line and the length/angle etc.) I only get the points back from Slicer.

I was wondering if there is a way to get the Descriptions for the nodes from Slicer instead of the points.

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [March 8, 2025, 1:43am UTC](https://discourse.slicer.org/t/exporting-markups-data-as-a-csv/41849/4 "2025-03-08T01:43:05Z")

</div>

> [@evergarden](#):
>
> I was able to export the data but instead of the Description (like the name of the line and the length/angle etc.) I

It is not clear what method you used to export the csv file from Markups. For me, if I use the import/export option in the Markups module, descriptions are correctly included. See the control points, and compare to the export csv file:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/8/0/8060f2c090f00d94ac5a1d9e893bab88a743aa4a.png)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/9/0/906fe45e094e25d8e0a3b5f0e6ba52221c93546a.png)

---

<div class="post-metadata">

**Author:** ![evergarden](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/evergarden/32/79535_2.png) [@evergarden](https://discourse.slicer.org/u/evergarden)\
**Post date:** [March 10, 2025, 5:00pm UTC](https://discourse.slicer.org/t/exporting-markups-data-as-a-csv/41849/5 "2025-03-10T17:00:26Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/6/7645d4e3a2bdd99e35c4b5f7cfbcd4394dc01c3f.png)  
So here is what my Markup looks like, I was wondering if there was a way to get the names of the Nodes and Descriptions.

Thank you so much and sorry for any confusion, no one else in our lab knows how to use Slicer and we are all self-taught

---

<div class="post-metadata">

**Author:** ![evergarden](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/evergarden/32/79535_2.png) [@evergarden](https://discourse.slicer.org/u/evergarden)\
**Post date:** [March 10, 2025, 5:07pm UTC](https://discourse.slicer.org/t/exporting-markups-data-as-a-csv/41849/6 "2025-03-10T17:07:46Z")

</div>

And then here is the CSV that I can get from the all the merged markups.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/2/f/2fed04dd897bcc959fc53e84ddc548d0aba72f01.png)

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [March 10, 2025, 6:30pm UTC](https://discourse.slicer.org/t/exporting-markups-data-as-a-csv/41849/7 "2025-03-10T18:30:52Z")

</div>

So that description in your first screenshot comes from measurement. But the description field in the exported csv file comes from the description field of the individual control points (highlighted in the red). If you entered something there in your original markups, the exported csv should have description field also populated.

I am not sure if there is a way to include the description field from the markup object (the one highlighted in blue). It is confusing that both of them are called description, but they are not the same things.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/e/9/e911a66fff99a8d1babf26a7604c34b1f560e2fd.png)
