Online DICOM to NIfTI Conversion
The Neuropsis DICOM to NIfTI converter is a browser-based
neuroimaging research application for converting Digital
Imaging and Communications in Medicine (DICOM) acquisitions
into Neuroimaging Informatics Technology Initiative
(NIfTI) volumes.
The application uses dcm2niix compiled to WebAssembly,
allowing imaging acquisitions to be converted locally
without transferring DICOM files to a remote server.
A dedicated Web Worker performs the conversion
independently of the main browser interface.
Both compressed NIfTI (.nii.gz) and uncompressed NIfTI
(.nii) output formats are available. Converted images
can be incorporated into research workflows using FSL,
SPM, AFNI, FreeSurfer, ANTs, SimNIBS, MRIcroGL,
ITK-SNAP and other NIfTI-compatible applications.
For interactive visualisation of converted brain images,
use the
Neuropsis online NIfTI and MRI viewer
,
which also provides access to a preloaded MNI152
reference brain.
Supported MRI Acquisitions
The converter provides suggested sequence classifications
using available protocol names, series descriptions,
sequence information and diffusion gradient metadata.
Classifications and filenames can be manually edited
before export.
| MRI sequence |
Common acquisitions |
| T1-weighted |
MPRAGE, MP2RAGE, BRAVO, T1w |
| T2-weighted |
T2 TSE, T2 FSE, T2 SPACE, T2 CUBE |
| T2*-weighted |
T2* GRE, MEDIC and multi-echo GRE |
| FLAIR |
Fluid-attenuated inversion recovery |
| DWI |
Diffusion-weighted MRI |
| DTI |
Diffusion tensor imaging acquisitions |
| Functional MRI |
BOLD, resting-state and task-based fMRI |
| SWI |
Susceptibility-weighted imaging |
| QSM |
Existing quantitative susceptibility maps |
| Quantitative maps |
Existing T1, T2, T2*, R2* and ADC maps |
| ASL |
Arterial spin labelling |
| Field maps |
B0 field maps and associated acquisitions |
| Proton density |
PD-weighted imaging |
| Localiser |
Scout and survey acquisitions |
Conversion compatibility depends on the underlying DICOM
encoding, scanner metadata and dcm2niix implementation.
Automatic classification is heuristic. The application
converts existing images and does not calculate
quantitative susceptibility, relaxation or diffusion
tensor maps.
Conversion Methodology
DICOM directory conversion
Entire directories can be selected, including nested
acquisition folders. dcm2niix determines the appropriate
grouping of DICOM images and generates separate NIfTI
outputs according to the acquisition properties.
Multi-echo or multi-component acquisitions may produce
more than one output.
NIfTI compression
Uncompressed .nii and gzip-compressed .nii.gz files
contain equivalent NIfTI imaging data. Gzip compression
is lossless. This application performs compression
or decompression locally where required.
NIfTI header inspection
Converted images undergo basic NIfTI header inspection.
Available image dimensions, voxel sizes, spatial units,
and qform and sform codes are displayed for each output.
Header inspection does not constitute complete validation
of image orientation or anatomical integrity.
Diffusion gradients and acquisition metadata
Available b-value and b-vector files are preserved
alongside diffusion MRI outputs. JSON sidecars may
contain sequence information, repetition time,
echo time, phase-encoding information and other
acquisition parameters.
The original dcm2niix JSON sidecar is preserved when
available. Custom output filenames are applied
consistently to the NIfTI image and associated sidecars.
Renaming does not alter the voxel data or affine matrix.
File export and ZIP archives
Individual NIfTI images and metadata files can be
downloaded directly. When multiple files are selected,
the application can package them into a single ZIP archive,
preserving their filenames and associated sidecars.
Archive generation takes place entirely within the browser.
ZIP archives use lossless storage without additional
compression. NIfTI gzip compression is applied separately
according to the selected output format.
Browser compatibility
Modern desktop browsers with WebAssembly and Web Worker
support are recommended. Standard downloads are available
without granting directory-writing permissions.
Compatible browsers, including desktop Chrome and Edge,
also provide optional direct destination folder saving.
Browsers may restrict direct access to protected
directories, including certain default download folders.
Select a dedicated output subdirectory or use the
standard download function instead.
Large diffusion and functional MRI acquisitions may
require substantial browser memory. For exceptionally
large or complex datasets, the native command-line
version of dcm2niix may be more appropriate.
Data Privacy and Local Processing
DICOM files are read using browser file APIs and
processed locally by the WebAssembly conversion engine.
The application does not include a mechanism for uploading
selected imaging files to Neuropsis or another conversion
server.
All conversion-engine dependencies are hosted directly
on Neuropsis. Selected imaging files and converted
outputs remain in browser memory until cleared or
the page is closed, unless explicitly saved by the user.
The conversion engine is configured to reduce identifying
information in BIDS JSON sidecars and exclude source
directory names and acquisition timestamps from its
default output naming pattern.
Conversion does not constitute complete anonymisation.
Free-text metadata, protocol descriptions and facial
anatomy may retain identifying information. Researchers
remain responsible for appropriate de-identification,
institutional approvals and data-governance requirements.
Conversion Engine & Scientific References
This application integrates the open-source
dcm2niix
conversion engine and its
browser-based WebAssembly implementation
.
JavaScript integration package:
@niivue/dcm2niix, version 1.4.20261029.
Software licence
·
Third-party notices
Li X, Morgan PS, Ashburner J, Smith J, Rorden C.
The first step for neuroimaging data analysis:
DICOM to NIfTI conversion.
Journal of Neuroscience Methods.
2016;264:47–56.
doi:10.1016/j.jneumeth.2016.03.001
Research and educational use.
This application is not a validated medical device
and is not intended for clinical diagnosis.
Verify image orientation, affine transformations,
voxel dimensions, volume counts, diffusion gradients
and acquisition metadata before scientific analysis.