Skip to content

Supported Data Formats ​

VTK supports reading and writing over 50 file formats. This page catalogs the supported formats organized by category.

VTK Native Formats ​

FormatExtensionReadWriteDescription
VTK Legacy.vtkYesYesSimple ASCII/binary format
VTK XML.vtp, .vtu, .vti, .vtr, .vtsYesYesModern format with compression
VTKHDF.vtkhdfYesYesHDF5-based, parallel I/O

Scientific Data ​

FormatExtensionReadWriteDescription
Exodus II.e, .exoYesYesFinite element (Sandia)
CGNS.cgnsYesYesCFD data
NetCDF.ncYesNoArray-oriented data
HDF5.h5YesNoHierarchical data
XDMF.xdmfYesYesFlexible XML+HDF5

Medical Imaging ​

FormatExtensionReadWriteDescription
DICOM.dcmYesNoMedical imaging standard
NIfTI.nii, .nii.gzYesYesNeuroimaging
NRRD.nrrdYesYesNearly Raw Raster Data
MetaImage.mha, .mhdYesYesSimple image format

Geometry ​

FormatExtensionReadWriteDescription
STL.stlYesYesStereolithography
OBJ.objYesYesWavefront
PLY.plyYesYesPolygon file format
glTF.gltf, .glbYesYesGL Transmission Format

This is a subset of supported formats. See the full list in the VTK documentation.