NIfTI to PDF Converter – One Slice per A4 Page | MiConvert

Convert a NIfTI Slice to PDF

Load a .nii or .nii.gz file, choose the slice and contrast you want, and save it as a one-page A4 PDF. The PDF holds an 8-bit grayscale picture of that one slice, so use it for sharing and printing, not for measurement or diagnosis.

🔒 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
NIFTI → PDF

What a NIfTI-to-PDF export is good for

NIfTI, saved as .nii or as gzip-compressed .nii.gz, is the volume format of neuroimaging research. FSL, SPM, FreeSurfer, AFNI and Python's nibabel all read and write it. One file can hold a full 3D brain scan or a 4D series such as an fMRI run, along with voxel sizes and orientation. Outside those tools almost nothing opens it, which gets in the way when a supervisor, a co-author or a study participant simply wants to see the scan.

This page reads the file inside your browser using the nifti-reader-js library, with pako unpacking .nii.gz files. The volume is not uploaded to our server. It opens on the middle slice along the file's third dimension and sets contrast automatically from the 1st to 99th percentile of that slice's values. A slider moves to any other slice, and window and level sliders let you fine-tune contrast before you export.

The PDF is assembled with jsPDF as a single A4 page, portrait or landscape to match the slice's shape, with a 10 mm margin and the slice centered as an embedded PNG. It keeps the picture you saw on screen at the slice's native pixel grid. It drops the original bit depth (values are windowed down to 8-bit grayscale), every other slice, the NIfTI header, voxel spacing and orientation. Each voxel becomes one square pixel, so scans with thick slices or non-square voxels can look stretched, and the page carries no left/right labels.

That makes the export suitable for a lab-meeting slide, a figure draft, an email attachment for a collaborator without neuroimaging software, or a printed page for a participant. It is not a route between volume formats. If you came here looking to turn NIfTI into DICOM, or DICOM into NIfTI, the FAQ below names the tools that do that job.

How to save a NIfTI slice as a PDF

  1. Check that your file ends in .nii or .nii.gz and is under 200 MB. The .hdr/.img pair layout is not accepted, so save that kind of image as a single .nii in your usual tool first.
  2. Drop the file on the upload area or click to choose it. The middle slice appears with automatic contrast.
  3. Drag the slice slider to the slice you want. In a 4D file the slider moves through slices only; there is no control for time points or volumes.
  4. Adjust the window and level sliders if gray matter, white matter or a lesion is hard to tell apart at the automatic setting.
  5. Choose PDF as the output and export. The one-page A4 PDF is generated on your device and downloaded.
  6. To capture another slice, move the slider and export again. Each export is a separate PDF.

What the NIfTI to PDF tool does

  • Reads NIfTI-1 and NIfTI-2 files, either plain .nii or gzip-compressed .nii.gz, with no separate unzip step
  • Opens on the middle slice and scrolls through every slice along the file's third axis
  • Sets contrast automatically from the slice's 1st–99th percentile, with manual window and level sliders for fine-tuning
  • Chooses portrait or landscape A4 to fit the slice's proportions, with a 10 mm margin
  • Embeds the slice in the PDF as a lossless PNG, so the export adds no JPEG artifacts on top of the 8-bit windowing
  • Exports the same slice as PNG or JPG from the same screen if you need an image file instead

Video Tutorial

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

NIfTI to PDF questions

Can you convert NIfTI to DICOM here?

No. This tool only exports one slice as a picture (PDF, PNG or JPG). It does not write DICOM files. To turn a NIfTI volume into a DICOM series, use a dedicated tool such as 3D Slicer, or a Python script built on nibabel and pydicom. NIfTI stores no patient or study details, so you will have to fill those DICOM fields in yourself.

How do I convert DICOM (.dcm) files to NIfTI?

Not with this page. The usual choice is dcm2niix, a free command-line converter that is also built into MRIcroGL. In Python, the dicom2nifti package or a call to dcm2niix are common. Once you have a .nii or .nii.gz file, you can open it here to export a slice.

How do I convert NII to JPG instead of PDF?

Use this same viewer. After loading the file and choosing a slice, pick JPG or PNG as the output instead of PDF. PNG stores the windowed slice without compression artifacts. JPG gives a smaller file that is fine for slides and email.

Can I put every slice into one multi-page PDF?

No. Each export is one A4 page showing the slice currently on screen. You can move the slider and export again for each slice you need, then merge the PDFs with any PDF tool. For a full montage of a volume, FSLeyes screenshots or nilearn's plotting functions are better suited.

Why does my scan look stretched or flipped in the PDF?

The export ignores the voxel spacing and orientation stored in the header and draws each voxel as one square pixel. A scan with slices thicker than its in-plane resolution can look squashed. A scan stored in a different orientation from the one your research viewer shows can appear rotated or mirrored. Label the page yourself, and check the orientation against your usual viewer.

I see "Not a valid NIfTI file" or "NIfTI library (nifti-reader-js) not loaded". What now?

"Not a valid NIfTI file" means the header could not be read. Common causes are a truncated download, a file renamed to .nii that is really another format, or the .hdr half of a pair. Re-export the image as a single .nii or .nii.gz and load that. The library message, like "Medical converter engine not loaded", means the reader script did not download from cdn.jsdelivr.net. Allow that domain in your ad blocker or network filter, then reload the page.

Is my scan uploaded, and is it kept anywhere?

The volume is decoded and turned into a PDF by your browser, and its contents are never sent to our server, so we have no copy to keep or delete. A few details do leave your computer: - The page loads its libraries from cdn.jsdelivr.net, which sees your IP address. - When Google Analytics is active, it records the file name, size and detected format. - A file over 200 MB is reported to our server by name, size and format when it is refused. If your file names contain participant IDs, rename the files before loading them.

Can the PDF be used for analysis or clinical decisions?

No. The slice is reduced to 8-bit grayscale after windowing, and the original intensity values, spacing and header are gone, so nothing in the PDF can be measured reliably. The tool also has no anonymization step: anything burned into the image pixels stays visible. Keep the original NIfTI file for any analysis.