# File format conversion

**URL:** https://discourse.vtk.org/t/file-format-conversion/5789
**Category:** Support
**Created:** [May 16, 2021, 3:04am UTC](https://discourse.vtk.org/t/file-format-conversion/5789 "2021-05-16T03:04:57Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Jame](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/j/73ab20/32.png) [@Jame](https://discourse.vtk.org/u/Jame)
#### Post date: [May 16, 2021, 3:04am UTC](https://discourse.vtk.org/t/file-format-conversion/5789/1 "2021-05-16T03:04:57Z")

</div>

How do I convert.txt to.vtk format

---

<div class="post-metadata">

### Author: ![Paulo\_Carvalho](https://discourse.vtk.org/user_avatar/discourse.vtk.org/paulo_carvalho/32/370_2.png) [@Paulo\_Carvalho](https://discourse.vtk.org/u/Paulo_Carvalho)
#### Post date: [May 16, 2021, 10:01pm UTC](https://discourse.vtk.org/t/file-format-conversion/5789/2 "2021-05-16T22:01:38Z")

</div>

Hello,

Can you provide a sample of the input TXT file?

regards,

Paulo

---

<div class="post-metadata">

### Author: ![amaclean](https://discourse.vtk.org/user_avatar/discourse.vtk.org/amaclean/32/224_2.png) [@amaclean](https://discourse.vtk.org/u/amaclean)
#### Post date: [May 17, 2021, 11:25pm UTC](https://discourse.vtk.org/t/file-format-conversion/5789/3 "2021-05-17T23:25:29Z")

</div>

You probably need [vtkDelimitedTextReader](https://vtk.org/doc/nightly/html/classvtkDelimitedTextReader.html) to read the file in.  
See:  
Python:  
[PointInterpolator](https://kitware.github.io/vtk-examples/site/Python/Meshes/PointInterpolator)  
Cxx:  
[PointInterpolator](https://kitware.github.io/vtk-examples/site/Cxx/Meshes/PointInterpolator)  
[ParallelCoordinatesView](https://kitware.github.io/vtk-examples/site/Cxx/InfoVis/ParallelCoordinatesView)  
[DelimitedTextReader](https://kitware.github.io/vtk-examples/site/Cxx/InfoVis/DelimitedTextReader)
