What is the DCM file format?
The .dcm format was created for a specific and specialised purpose: to store DICOM medical images used in medicine. Within .dcm files one can find MRI scans, CT scans, or ultrasound scans. Additionally, such files carry the patient's identification data alongside the image - all archived within a single file.
What is DICOM?
DICOM stands for Digital Imaging and Communications in Medicine. It is the standard for digital imaging and exchange of images used exclusively in medicine. It was developed and normalised by the National Electrical Manufacturers Association (NEMA), through the DICOM Standards Committee, to unify the processes of exchange and interpretation of data relating to medical diagnostic images.
It covers images taken with CT scanners, positron emission tomography (PET) scanners, MRI scanners, digital subtraction angiography systems, digital or conventional radiography devices, and any other equipment utilising advanced digital imaging technology. Resolution of images stored in .dcm format is very high and such files are of large volume. Proper software is required to open them - a viewer must correctly parse the embedded metadata alongside the pixel data.
A .dcm file begins with a 128-byte preamble (typically all zeros) followed by the ASCII signature DICM at byte offset 128. Some older DICOM files omit this preamble, so the absence of DICM does not prove the file is not DICOM. On hospital-issued CDs and DVDs, images are frequently stored with no file extension at all, organised under a DICOMDIR index. The format may also appear with a .dicom or .ima extension - all denote the same structure.
Information contained within .dcm files can be easily transferred between devices providing support for this format.
Security & safety
RISK: MEDIUMA DICOM file itself is passive image data and won't run code, so opening a scan from your own hospital is safe. The real concern is PRIVACY: .dcm files embed identifiable patient data (full name, date of birth, ID, sometimes address) in the metadata. Before sharing a scan publicly, in a forum, or for research, use a viewer's anonymize/de-identify function to strip those tags. Only open DICOM files you obtained from a legitimate medical source; treat unexpected 'medical' files received online with the same caution as any unknown download.
Format details
in a nutshellPrograms that open DCM files
Technical details
deep spec| File signature | `DICM` (4 ASCII bytes) at byte offset 128 - not at the start of the file |
| Preamble | 128-byte block (typically all zeros) placed immediately before the `DICM` magic bytes |
| MIME type | `application/dicom` |
| Tag encoding | Data stored as (Group, Element) numeric tag pairs - e.g., `(0008,0060)` = Modality, `(0010,0010)` = Patient Name |
| Value Representation (VR) | Explicit VR mode declares the data type per tag; Implicit VR (legacy) infers the type from the DICOM data dictionary |
| Transfer syntaxes | Uncompressed Explicit VR Little Endian (baseline), plus JPEG, JPEG-LS, JPEG 2000, RLE Lossless, and MPEG video |
| Pixel data tag | `(7FE0,0010)` stores raw or compressed image pixel data |
| Multi-frame support | A single `.dcm` file can encapsulate multiple image frames - e.g., cine loops, CT stacks, or MRI series |
| Patient metadata | Patient Name `(0010,0010)`, Patient ID `(0010,0020)`, and Birth Date `(0010,0030)` are embedded as mandatory attributes |
| Media directory index | `DICOMDIR` indexes a set of `.dcm` files on removable media such as CD, DVD, or USB |
| Endianness | Little-endian byte order by default; the big-endian transfer syntax was deprecated by the DICOM Standards Committee in 2021 |
| Structured Reporting (SR) | DICOM SR objects encode coded clinical findings and measurements, extending the format beyond pixel images |
| Network services | The DICOM standard defines DIMSE services (C-STORE, C-FIND, C-MOVE) for file transfer between imaging modalities and PACS systems |
| Modality scope | CT, MRI, PET, ultrasound, X-ray, mammography, fluoroscopy, nuclear medicine, and angiography |
| Extension aliases | Same binary format may appear as `.dicom`, `.dcm30`, or `.ima`; hospital media often stores files with no extension at all |
| Released | 1993 (DICOM 3.0); predecessor ACR-NEMA 1985 |
| Open standard | Yes · royalty-free |
| Specification | www.dicomstandard.org |
DCM conversions
Community Q&A
asked by usersNo questions yet - be the first to ask about DCM files.