# Export Data table

**URL:** <https://forums.unrealengine.com/t/export-data-table/386403>\
**Category:** Blueprint\
**Tags:** table, unreal-engine, UE4, Blueprint, question\
**Created:** [February 27, 2017, 6:04pm UTC](https://forums.unrealengine.com/t/export-data-table/386403 "2017-02-27T18:04:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ste1nar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ste1nar](https://forums.unrealengine.com/u/ste1nar)\
**Post date:** [February 27, 2017, 6:04pm UTC](https://forums.unrealengine.com/t/export-data-table/386403/1 "2017-02-27T18:04:09Z")

</div>

Hello, I am wondering if it is possible to export a data table to a csv file?  
I have until now only been working with the data table from within the engine, but now I wish to be able to modify it through a csv file which I can then import. But seeing as I have already added data to it, I’d need to export it first.

---

<div class="post-metadata">

**Author:** ![Xaith](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/xaith/32/918636_2.png) [@Xaith](https://forums.unrealengine.com/u/Xaith)\
**Post date:** [February 27, 2017, 9:11pm UTC](https://forums.unrealengine.com/t/export-data-table/386403/2 "2017-02-27T21:11:17Z")

</div>

I am not on my comp now but, i’m pretty sure you can right click the asset, Data Table action (up top), export as CSV. Done. 🙂

---

<div class="post-metadata">

**Author:** ![ste1nar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ste1nar](https://forums.unrealengine.com/u/ste1nar)\
**Post date:** [February 27, 2017, 9:30pm UTC](https://forums.unrealengine.com/t/export-data-table/386403/3 "2017-02-27T21:30:49Z")

</div>

Oh, it’s right there! I didn’t think of right clicking the asset. Thank you.

---

<div class="post-metadata">

**Author:** ![Xaith](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/xaith/32/918636_2.png) [@Xaith](https://forums.unrealengine.com/u/Xaith)\
**Post date:** [February 28, 2017, 4:10am UTC](https://forums.unrealengine.com/t/export-data-table/386403/4 "2017-02-28T04:10:42Z")

</div>

You are welcome. :))

---

<div class="post-metadata">

**Author:** ![foxhound101](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@foxhound101](https://forums.unrealengine.com/u/foxhound101)\
**Post date:** [July 12, 2017, 10:20am UTC](https://forums.unrealengine.com/t/export-data-table/386403/5 "2017-07-12T10:20:30Z")

</div>

Is there a way to export that data to csv of txt during gameplay, using blueprints?

---

<div class="post-metadata">

**Author:** ![ste1nar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ste1nar](https://forums.unrealengine.com/u/ste1nar)\
**Post date:** [July 12, 2017, 10:39am UTC](https://forums.unrealengine.com/t/export-data-table/386403/6 "2017-07-12T10:39:53Z")

</div>

No, not just using blueprints. However, creating a c++ library that exposes those options to blueprints is so easy that even I managed to do it.

You can export a data table to csv, but let’s differentiate between PIE (Play In Editor) and a built game. In both cases, you can export the data table to a csv but in a built game, you can not ‘update the data table’ with the new content. In the editor however, you can reimport the data table to update it.

Useful links:

> **[How to load the CSV DataTable dynamically?](https://forums.unrealengine.com/questions/156354/how-to-load-the-csv-datatable-dynamically.html)**
>
> Hi, How to load the CSV DataTable dynamically? I want to download csv from my server and update game data... Is it possible?

> **[Can I automatically reimport values into Data Tables?](https://forums.unrealengine.com/questions/291337/can-i-automatically-reimport-values-into-data-tabl.html)**
>
> Hi! I'm currently experimenting with the data tables. Despite their limitations (enum/struct properties), they appear really powerful and are nowhere near as cumbersome to use as I expected. Knowing our designers, they're probably going to be...

> **[UDataTable](https://docs.unrealengine.com/4.27/en-US/API/Runtime/Engine/Engine/UDataTable/)**
>
> Imported spreadsheet table.

( GetTableAsCSV )

[https://docs.unrealengine.com/latest/INT/API/Runtime/Core/Misc/FFileHelper/index.html](https://docs.unrealengine.com/latest/INT/API/Runtime/Core/Misc/FFileHelper/index.html)

( SaveStringToFile )

> **[Read and Write data from text file](https://forums.unrealengine.com/questions/88289/read-and-write-data-from-text-file.html)**
>
> Is it possible to read and write data from a text file for example use the text files data ( exampletext ) and store it as a variable Player-\>Name = file; out put = hello, exampletext if that is understandable 😕

(the writeflags)
