# convert from .csv data

**URL:** https://discourse.paraview.org/t/convert-from-csv-data/7688
**Category:** ParaView Support
**Tags:** vtk
**Created:** [July 25, 2021, 1:33am UTC](https://discourse.paraview.org/t/convert-from-csv-data/7688 "2021-07-25T01:33:22Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![aquanaut](https://discourse.paraview.org/user_avatar/discourse.paraview.org/aquanaut/32/1302_2.png) [@aquanaut](https://discourse.paraview.org/u/aquanaut)
#### Post date: [July 25, 2021, 1:33am UTC](https://discourse.paraview.org/t/convert-from-csv-data/7688/1 "2021-07-25T01:33:22Z")

</div>

hi,I want to convert .csv(or .txt) data to .vtk format in Paraview but haven’t found the solution.Could you please tell me how to do it?Thanks.

---

<div class="post-metadata">

### Author: ![aquanaut](https://discourse.paraview.org/user_avatar/discourse.paraview.org/aquanaut/32/1302_2.png) [@aquanaut](https://discourse.paraview.org/u/aquanaut)
#### Post date: [July 26, 2021, 2:06pm UTC](https://discourse.paraview.org/t/convert-from-csv-data/7688/2 "2021-07-26T14:06:11Z")

</div>

hi,Does paraview have such a function? Input. CSV data file and convert it to. VTK data file.

---

<div class="post-metadata">

### Author: ![Kenneth\_Moreland](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kenneth_moreland/32/15033_2.png) [@Kenneth\_Moreland](https://discourse.paraview.org/u/Kenneth_Moreland)
#### Post date: [July 26, 2021, 2:31pm UTC](https://discourse.paraview.org/t/convert-from-csv-data/7688/3 "2021-07-26T14:31:28Z")

</div>

You are going to have to be more specific on what you are trying to do. ParaView interprets .csv files as a table (naturally), but the .vtk file format does not support tables. The .vtk file format is for geometric structures (like meshes in space), not tables.

If your csv file is actually specifying data in spatial domain, you typically use filters like `Table to Points` or `Table to Structured Grid` to convert the data in the .csv file to points in 3D space (which can be represented in a vtk file).

---

<div class="post-metadata">

### Author: ![aquanaut](https://discourse.paraview.org/user_avatar/discourse.paraview.org/aquanaut/32/1302_2.png) [@aquanaut](https://discourse.paraview.org/u/aquanaut)
#### Post date: [July 26, 2021, 2:38pm UTC](https://discourse.paraview.org/t/convert-from-csv-data/7688/4 "2021-07-26T14:38:19Z")

</div>

yes,it contains geometric data and can be converted to 3D space points.so how to export it as .vtk format?

---

<div class="post-metadata">

### Author: ![Kenneth\_Moreland](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kenneth_moreland/32/15033_2.png) [@Kenneth\_Moreland](https://discourse.paraview.org/u/Kenneth_Moreland)
#### Post date: [July 26, 2021, 3:38pm UTC](https://discourse.paraview.org/t/convert-from-csv-data/7688/5 "2021-07-26T15:38:31Z")

</div>

Load the .csv file in ParaView. Run the `Table to Points` filter on it. Save the data as a .vtk file.
