NIfTI file format (.nii, .nii.gz)
Neuroimaging Informatics Technology Initiative — what it is, pros and cons, and how to open or convert it.
What is NIfTI?
NIfTI (.nii or gzipped .nii.gz) stores a whole 3D or 4D brain or body volume in a single file. It is the standard in neuroimaging research (FSL, SPM, AFNI, FreeSurfer) and in medical AI datasets, and is usually created by converting a DICOM series with tools like dcm2niix.
| Full name | Neuroimaging Informatics Technology Initiative |
|---|---|
| Extensions | .nii, .nii.gz |
| MIME type | application/octet-stream |
| Category | medical |
| Introduced | 2004 by NIH NIfTI Data Format Working Group |
| Opens with | FSLeyes, ITK-SNAP, 3D Slicer, MRIcroGL, Mango — or FileCraft’s NIfTI viewer |
Advantages
- Whole volume in one file
- Simple, well documented header
- Standard for research and AI pipelines
Disadvantages
- Drops most clinical metadata
- Not used by hospital PACS
Convert NIfTI files
Frequently asked questions
What is a NIfTI file?
NIfTI (.nii or gzipped .nii.gz) stores a whole 3D or 4D brain or body volume in a single file. It is the standard in neuroimaging research (FSL, SPM, AFNI, FreeSurfer) and in medical AI datasets, and is usually created by converting a DICOM series with tools like dcm2niix.
How do I open a NIfTI file?
NIfTI files open with: FSLeyes, ITK-SNAP, 3D Slicer, MRIcroGL, Mango — or FileCraft’s NIfTI viewer.
How do I convert a NIfTI file?
Use FileCraft: NIfTI Viewer. Conversion runs in your browser — no upload.