NRRD to JPG Converter: Save One Slice as a JPG
Pick a slice from your NRRD volume, set the contrast, and download it as an 8-bit grayscale JPG. The file is read in your browser, and only the slice on screen is exported, without the header, voxel spacing or orientation.
Drop your file here
DICOM (.dcm, single files or a whole series), NIfTI (.nii, .nii.gz), NRRD (.nrrd), MHA (.mha), MHD (.mhd + .raw)
Up to 1 GB per file • Processed locally
Why turn an NRRD volume into a JPG?
NRRD (Nearly Raw Raster Data) is the native format of 3D Slicer and comes from the Teem toolkit. A plain-text header describes dimensions, data type and spacing, followed by a 3D stack of 16-bit or float voxels that photo viewers, slide software and web pages cannot display.
This page reads the .nrrd file with a JavaScript parser that runs in your browser tab. The parser reads the attached header and then decodes the voxels, either uncompressed (raw) or gzip-compressed. The viewer opens on the middle slice of the volume, and a slider moves through the other slices. Contrast is set automatically from the 1st to 99th percentile of the slice's intensities, and you can override it with window and level sliders. The slice is then drawn to a canvas and encoded as a JPEG at quality 0.92.
The output keeps the slice's pixel grid at its native size and the contrast exactly as it appeared on screen. Everything else is dropped. Intensities are squeezed to 8-bit grayscale, so the original values cannot be recovered from the JPG. Only one slice is saved. The header fields, including spacing, origin, orientation and units, are not carried over, and JPEG compression adds small artifacts around sharp edges. Color or multi-channel NRRD files are not supported, because the viewer renders grayscale only. The result is a picture for viewing, not a dataset for measurement or diagnosis.
This conversion suits researchers putting a representative slice into a paper draft, poster or lab-meeting slide. It also helps students who need to hand in a figure, and anyone sending a colleague a quick look at a volume or label map they cannot open. If you were actually looking for NRRD to DICOM, that is a different job, and the FAQ below explains where to do it.
How to convert NRRD to JPG
- Check the file first. It must be a single .nrrd with the header attached, not a .nhdr header paired with a separate data file. Its encoding should be raw or gzip. If it is not, open it in 3D Slicer and save it again as .nrrd.
- Choose the file. One volume can be loaded at a time, up to 200 MB.
- Wait for the viewer to show the middle slice, then drag the slice slider to the position you want to export.
- Adjust the window and level sliders until the structures you care about are clearly visible. The JPG will match what you see.
- Select JPG as the output and download it. To save another slice, move the slider and download again.
What the NRRD converter gives you
- A slice slider covering every slice in the third dimension, starting from the center of the volume
- Automatic contrast based on the 1st to 99th percentile of the slice, with manual window (1 to 8000) and level (-2000 to 4000) controls
- Support for attached-header NRRD files stored raw or gzip-compressed
- Export at the slice's native pixel dimensions as a JPEG at quality 0.92
- The same slice can also be saved as PNG for lossless pixels, or as a single-page A4 PDF
- The file contents are not uploaded to our server; the 200 MB limit is the same on every plan
Video Tutorial
An A-Z video guide on how to use MiConvert to change NRRD format to JPG. This is the safest method to convert data without needing to download any applications to your device. 🔗 Format conversion to
NRRD to JPG: common questions
How do I convert NRRD to DICOM?
This page cannot do that. It only produces a flat JPG, PNG or PDF of one slice, and none of those are DICOM. Desktop tools such as 3D Slicer can load an NRRD volume and export it as a DICOM series. Use one of those if a PACS or a clinical system needs the data.
Can I export every slice, or several files at once?
No. Each download is the single slice currently shown, and only one file can be loaded at a time. For a handful of slices, move the slider and download each one. For a full stack, a scripted export in 3D Slicer or ITK will be quicker.
What does "Invalid NRRD file: could not find header/data separator" mean?
The parser could not find the blank line that separates an attached NRRD header from the voxel data. The header may be malformed, the voxels may be stored in a separate data file, or the file may not be an NRRD at all. Re-save it as a single .nrrd file (raw or gzip) and upload that. If you see "NRRD file has invalid dimensions" instead, the header's size information could not be read. Re-saving it from 3D Slicer is the first thing to try.
Why does my JPG look like static or noise?
Only raw and gzip encodings are decoded. Files stored as ascii, hex or bzip2 are read as if they were raw bytes, which produces garbage. The header's endian field is also ignored, so big-endian data comes out scrambled. Re-save the volume as raw or gzip with little-endian byte order and try again.
I see "Medical converter engine not loaded. Please refresh the page." What now?
The page loads its image libraries from cdn.jsdelivr.net, and that download was blocked or interrupted. Allow that domain in your ad blocker or firewall, make sure you are online, and reload. The tool does not work offline.
Does the JPG keep the original intensities, voxel spacing or orientation?
No. The JPG holds 8-bit gray values produced by the window and level you chose, so the original intensities cannot be read back from it. No header information is written into the file. Keep the original NRRD for any analysis, and treat the JPG as an illustration only.
Is my scan uploaded or stored anywhere?
No. The file is read and converted in your browser, and the JPG is handed to you as a local download, so there is no copy on our server to delete. A few things do leave your device. The image libraries are fetched from jsDelivr, which sees your IP address. If Google Analytics is loaded, it receives the file name, size and detected format, and the output file name after a conversion. If you pick a file over 200 MB, its name, size and format are reported to our server when it is rejected.
Is there a size limit, and do I need an account?
The limit is 200 MB per file. It is the same for guests and every paid plan, because upgrading does not change the medical tools. The converter is free and needs no sign-up. For volumes above 200 MB, crop the volume or reduce its resolution in 3D Slicer before loading it here.