Free sample DICOM files
Test DICOM files you can download and use for anything: trying a viewer, testing software, or teaching. They are computer-generated phantoms I made for this site, so they contain no patient data.
Quick answer
Download a 32-slice CT head series (ZIP), a single CT slice, an MRI slice, an X-ray test pattern, or an RLE-compressed CT file below. All are valid DICOM Part 10 files (.dcm), synthetic, and free to use under CC0 (public domain). You can also open any of them in the online viewer with one click.
Download the files
| File | What it is | Size | Open |
|---|---|---|---|
| ct-head-phantom-series.zip | CT head series: 32 axial slices, 256 × 256, 5 mm, 12-bit with Hounsfield units (brain window 40/80 stored) | 0.7 MB | Open in viewer |
| ct-head-phantom.dcm | One CT slice from the same series, uncompressed (Explicit VR Little Endian) | 129 KB | Open in viewer |
| ct-head-phantom-rle.dcm | The same CT slice, RLE Lossless compressed, for testing decoders | 44 KB | Open in viewer |
| mr-brain-phantom.dcm | MRI brain phantom, T2-style (fluid bright), 256 × 256, 12-bit, with coil-like shading | 129 KB | Open in viewer |
| xray-test-pattern.dcm | X-ray (CR) test pattern, 1024 × 1024, 12-bit, MONOCHROME1: step wedge, dense discs, line pairs and an L marker | 2 MB | Open in viewer |
To save a file instead of opening it, right-click the file name and choose "Save link as".
What is inside the files
- Made-up patient details: Patient Name PHANTOM^SAMPLE, Patient ID DEMO-0001, a birth date, an accession number and a referring doctor. They are fake on purpose, so you can practice with the anonymizer and see them highlighted in the tag viewer.
- Real geometry tags: Image Position and Orientation, Pixel Spacing, Slice Thickness and Slice Location, so the series sorts correctly and measurements work.
- CT values in Hounsfield units: Rescale Slope 1 and Intercept −1024. Air is about −1000, brain tissue about 28–38, fluid about 6 and the skull about 900. One area is denser than brain, like a small bleed, and one is darker. Try the brain, bone and soft-tissue windows in the viewer.
- Different photometric types: the CT and MRI are MONOCHROME2. The X-ray is MONOCHROME1, where low values are shown white, which is common on computed radiography and a frequent bug in DICOM software.
- Two transfer syntaxes: uncompressed Explicit VR Little Endian, and RLE Lossless. Both decode to exactly the same pixels.
- A clear label: every file says in its Institution Name and Image Comments that it is a synthetic phantom and not a patient.
Ideas for using them
- Test the viewer: scroll the CT series, play it as cine, change window/level, measure the skull in millimeters.
- Convert them with the DICOM to JPG or DICOM to PNG converters and compare 8-bit and 16-bit output.
- Read the header in the tag viewer, then remove the fake patient details with the anonymizer.
- Developers: check that your code handles MONOCHROME1, rescale values and RLE decoding, and sorts slices by position rather than by file name.
- Teaching: show how window/level changes what you see on the same CT data. See what is a DICOM file and DICOM tags explained.
Limits
These are simple geometric phantoms, not real anatomy, and are not suitable for diagnosis, AI training or clinical testing. For real (de-identified) research scans, use public datasets such as The Cancer Imaging Archive (TCIA), and follow their license terms.
Frequently asked questions
Are these real patient scans?
No. They are computer-generated from simple shapes with chosen CT and MRI values. The patient name, ID and other details are made up and labeled as a test.
Can I use these sample DICOM files in my software or course?
Yes. They are released under CC0 (public domain), so you can use, change and share them, including commercially, with no attribution required. A link back is appreciated but not needed.
How do I open a DICOM sample file?
Click "Open in viewer" in the table above, or download the file and drop it into the online DICOM viewer. Nothing is uploaded: the viewer runs in your browser.
Why is the X-ray file MONOCHROME1?
Many computed radiography systems store images where low values mean white. Software that ignores this shows the X-ray inverted, so it is a useful test case.
Do you have a multi-frame or color sample?
Not yet. The current set covers single-frame CT, MRI and X-ray, a full CT series and RLE compression.