Medical Image Viewer: DICOM, NIfTI, NRRD, MHA | MiConvert

Medical Image Viewer Online

Open one DICOM, NIfTI, NRRD or MHA file and see the image rendered on screen, with a slice slider for volumes and window/level controls for contrast. Parsing happens in JavaScript inside the page, so the file contents stay on your device; what you can save is the single slice on screen, as an 8-bit grayscale PNG, JPG or PDF.

🔒 Zero-Upload — Your files never leave your device
🏥

Drop your file here

DICOM (.dcm, single files or a whole series), NIfTI (.nii, .nii.gz), NRRD (.nrrd), MHA (.mha), MHD (.mhd + .raw)

Select File

Up to 1 GB per file • Processed locally

Zero Upload 100% Browser Processing No Sign Up 100% Free
DICOM → JPG

What this viewer reads, and what it shows you

Medical imaging files are not pictures in the ordinary sense. A DICOM file wraps its pixel data in a long list of tags — modality, study, window settings, patient fields — and often stores 16-bit values rather than 0-255 brightness. NIfTI, NRRD, MHA and MHD hold a whole 3D stack of voxels, sometimes float, sometimes gzip-compressed, with voxel spacing in the header. Double-clicking one usually does nothing, because browsers and ordinary image viewers have no parser for them.

This page does the parsing itself. The file is read with FileReader, and the format is identified from the extension, with magic bytes as a fallback. DICOM goes through the daikon library, which decodes JPEG-lossless pixel data too; NIfTI through nifti-reader-js, with pako inflating .nii.gz; NRRD (raw or gzip encoding) and MHA with ElementDataFile = LOCAL use parsers built into our own engine. Volumes open on the middle slice, with a slider through the stack. Values are then windowed to 8-bit grayscale — from the DICOM Window Center and Window Width tags when present, otherwise from the 1st to 99th percentile of the slice — and drawn to a canvas at native pixel size.

On screen you get the slice at full resolution with the contrast you chose, plus a panel listing modality, dimensions and bit depth. What you save is a flattened grayscale rendering, so the original 16-bit or float precision is gone and Hounsfield units cannot be recovered from it. Rendering is grayscale only, so a color DICOM from ultrasound or endoscopy will not display correctly; a multi-frame DICOM shows a single frame; and an MHD pointing at a separate .raw cannot be opened, because only one file can be selected. Most visitors are holding one odd file — a .dcm from an imaging CD, an .mha or .nrrd from 3D Slicer, an .nii.gz from an MRI pipeline — and need a look plus one saved slice. For measurement, segmentation or any clinical decision, use 3D Slicer, ITK-SNAP, FSLeyes or your PACS; this is a viewer and slice exporter, never a diagnostic tool.

How to view a medical image file here

  1. Get the data into one self-contained file. Accepted extensions are .dcm, .dicom, .nii, .nii.gz, .nrrd, .mha and .mhd, up to 200 MB. If an .mhd header sits next to a separate .raw, re-save the volume as a single-file .mha or .nrrd in 3D Slicer or ITK first.
  2. Drop the file on the picker or click to browse — one file at a time, no folders and no whole series.
  3. Check the header panel (modality, dimensions, bit depth) to confirm the parse worked. If a red message says a library is not loaded, allow cdn.jsdelivr.net and reload.
  4. For a volume, drag the slice slider; NRRD, MHA and NIfTI open mid-stack, so step toward either end. A DICOM file is treated as one image and has no slider.
  5. If the image looks washed out or nearly black, move the window and level sliders until soft tissue, lung or bone shows the detail you need.
  6. Save the slice on screen: PNG for the cleanest pixel copy, JPG for a smaller file, PDF for one A4 page with the slice centered. DICOM sources also offer WebP.

What the viewer actually does

  • Four working format families in one page: DICOM Part 10 (including JPEG-lossless pixel data), NIfTI-1 and NIfTI-2 with gzip, NRRD with raw or gzip encoding, and MHA with LOCAL data.
  • Detection by extension first, with magic bytes (DICM at byte 128, a NIfTI header size of 348 or 540, the NRRD signature) as a fallback, so a file with no recognizable extension is usually still identified.
  • Slice slider for 3D volumes (NRRD, MHA, NIfTI), opening on the middle slice so you step outward to reach the ends of the stack.
  • Window and level sliders over a wide range, seeded from DICOM Window Center and Window Width when present and from a 1st-99th percentile auto-window otherwise.
  • Header panel with modality, image dimensions and bit depth, so you can confirm you opened the right scan before exporting.
  • Slice export to PNG, JPG and PDF (one A4 page, 10 mm margin), plus WebP for DICOM, generated in the browser at native pixel size.

Video Tutorial

An A-Z video guide on how to use MiConvert to change DICOM format to JPG. This is the safest method to convert data without needing to download any applications to your device. 🔗 Format conversion t

Questions people ask about this viewer

Which medical image formats can I open?

DICOM (.dcm, .dicom), NIfTI (.nii, .nii.gz), NRRD (.nrrd) and MetaImage .mha with embedded data (ElementDataFile = LOCAL) all render. A standard .mhd header pointing to an external .raw or .zraw fails with "could not find data section", since only one file can be uploaded; export a single-file .mha or .nrrd instead. NRRD in ascii, hex or bzip2 encoding, big-endian NRRD and compressed MHA are not handled.

Is my scan uploaded anywhere?

The pixel data is not. The file is read with FileReader, parsed and rendered in JavaScript, and the download is a local blob, so the contents never reach our server. Two things do leave the browser: the parsing libraries (daikon, nifti-reader-js, pako, jsPDF) come from cdn.jsdelivr.net, which sees your IP, and when analytics is loaded the file name, size and detected format are sent as an event. A file over 200 MB is reported to us by name and size. Rename the file first if its name itself is sensitive.

Can I open a whole series, several files, or compare two scans?

No multiple selection: the picker takes one file, there is no DICOMDIR or folder support, and a multi-frame DICOM shows one frame with no cine control, so a 300-slice study means 300 separate files here. To compare two scans, open this page in two tabs, match the slice and window/level, and switch between them, or save a slice from each and compare in an image editor. For real series review use 3D Slicer, Weasis or Horos.

Does it work for research MRI data from NIfTI pipelines?

Yes, as a visual check: a .nii or .nii.gz volume opens on its middle slice with the slider active, which is enough to confirm a preprocessing output looks sane. Navigation covers the third dimension only, so a 4D series shows one volume's slices and not timepoints — keep FSLeyes or ITK-SNAP for anything you measure.

Does the saved image keep the original bit depth or the metadata?

No. The export is the 8-bit grayscale rendering shown on screen, at the original pixel dimensions, so Hounsfield units and raw intensities cannot be read back from it, and voxel spacing, orientation and DICOM tags are not written into the file. Treat the output as documentation, not as data.

Does the viewer anonymize or de-identify the file?

There is no anonymization step. Headers simply are not carried into the image, so the saved PNG, JPG or PDF has no patient tags — a side effect, not de-identification: text burned into the pixels by the scanner, such as a name in the corner of an ultrasound or X-ray, stays visible. Crop that region yourself, and use a dedicated de-identification tool for the original file. We make no HIPAA or GDPR compliance claim for this page.

Why is the image blank, black, or stuck on an error?

Hard-refresh the page first, to clear an older cached copy of the viewer script, then retry. "Medical converter engine not loaded" or a missing-library message means a CDN script was blocked: allow cdn.jsdelivr.net and reload. "Could not parse DICOM file" or an invalid header or dimensions message points at a truncated or non-standard file, best re-exported from the source software. Note also that the .tiff option for DICOM writes PNG data under a .tiff name, so choose PNG when a strict reader has to accept the file.