What is a DICOM file?
DICOM stands for Digital Imaging and Communications in Medicine. It is the worldwide standard for storing and exchanging medical images – X-rays, CT, MRI, ultrasound and many more.
More than a picture
A JPG photo is just pixels. A DICOM file is a picture together with a detailed record of where it came from. Inside one file you find:
- the image data – often with 12 or 16 bits per pixel, which means thousands of shades of grey instead of the 256 of an ordinary picture;
- patient details – name, ID, date of birth; in veterinary files also the species, breed and owner;
- examination details – date, body part, the clinic and the referring doctor;
- technical details – the device, exposure settings and the physical size of one pixel.
Each of these items is stored as a tag – a numbered field such as (0010,0010) for the patient name. Thanks to tags, any DICOM system in the world can read a file made by any device.
Why the physical pixel size matters
Because the file states how many millimetres one pixel represents, a viewer can measure real distances on the image. That is something a plain photo of an X-ray can never offer. See how to measure distances and angles.
Single images, series and multi-frame files
A plain X-ray is usually one file with one image. A CT or MRI examination is a series – tens or hundreds of files, one per slice. Some devices store many frames in one file instead; such a file is called multi-frame. A good viewer lets you scroll through all of them.
Compressed and uncompressed
The image inside a DICOM file may be stored uncompressed or compressed in several ways (RLE, JPEG, JPEG 2000 and others). The method is described by a field called the transfer syntax. Not every viewer reads every compression, which is the most common reason why a file opens in one program and not in another.
How to look inside a DICOM file
Open the file in View DICOM. Besides the image you can open the DICOM metadata panel and read every tag stored in the file. Nothing is uploaded – the file is processed only in your browser.
A note on privacy
Because DICOM files carry personal data, treat them like medical records. Before sharing an image publicly, export it as a picture without the patient details – see how to convert DICOM to JPG or PNG and our article on privacy.
More articles
- How to open a DICOM (.dcm) file onlineGot an X-ray or CT scan as a .dcm file? Open it in your web browser in a few seconds, without installing software and without uploading it anywhere.
- How to convert DICOM to JPG, PNG or TIFFHow to turn a DICOM X-ray into a JPG, PNG, WebP or TIFF picture that anyone can open – in your browser, free and without uploading the file.
- How to measure the Norberg angle on a hip X-rayWhat the Norberg angle is, how it is measured on a hip radiograph and how to do it online in six clicks with View DICOM.
- Guided X-ray measurements in one panelThe Assessment panel of View DICOM: guided measurements for hips, elbows and knees, heart and thorax, spine and hooves, with forms, protocols and report templates.
- Hip assessment on an X-rayHow to measure the distraction index, femoral head coverage, CE angle, acetabular index and neck-shaft angle on a hip X-ray in the browser.
- Vertebral heart score and other thorax measurementsHow to measure the vertebral heart score, left atrial size, tracheal ratio and cardiothoracic ratio on a chest X-ray in the browser.
- TPA, patellar position and limb axesHow to measure the tibial plateau angle for TPLO planning, the Insall-Salvati ratio and the aLDFA and mMPTA limb angles on an X-ray in the browser.
- Measuring distances, angles and areas on X-ray imagesHow to measure length, angle, circle and ellipse on a DICOM X-ray online, when the result is in millimetres and what limits the accuracy.
- Window and level: brightness and contrast of X-ray imagesWhy an X-ray looks too dark or flat, what window centre and window width mean and how to set brightness and contrast to see bone or soft tissue.
- How to view X-rays from a CD or DVDThe disc from your clinic will not play? How to find the DICOM files on a CD or USB stick and open them in your browser, on Windows and Mac.
- Is it safe to open medical images online?What personal data a DICOM file contains, what happens to it in an online viewer and how to share an X-ray without revealing the patient's identity.
- Open NIfTI, TIFF and other medical images in the browserNot every medical image is DICOM. How to view NIfTI (.nii, .nii.gz), 16-bit TIFF, PGM and ordinary JPG or PNG scans online, with contrast and measuring tools.
- A DICOM viewer for tablet and phone – also offlineHow to view X-rays and DICOM files on an iPad, Android tablet or phone, install View DICOM as an app and use it without an internet connection.
- How to open DICOM files on a MacPreview and Photos cannot open .dcm files, and the viewer on the clinic's disc is for Windows. How to view DICOM X-rays on macOS in Safari or Chrome.
- How to open DICOM files on Windows 10 and 11Windows Photos cannot open .dcm files. How to view DICOM X-ray, CT and MRI images on a Windows PC in your browser, without admin rights or installation.
- Free DICOM viewer: what to look forDesktop program, online upload service or a viewer that runs in the browser? A plain comparison of free DICOM viewers and what each is good for.
- DICOM vs JPG: what is the difference?Why clinics use DICOM instead of JPG, what you lose when an X-ray is saved as a picture, and when a JPG or PNG is the better choice.
- DICOM tags: how to read the metadata in a DICOM fileWhat DICOM tags are, how to display them online and what the most useful ones mean: patient, study, modality, pixel spacing, window and more.
- DICOM file will not open? Transfer syntax and compression explainedWhy one viewer opens a DICOM file and another does not: transfer syntaxes, JPEG, JPEG 2000 and RLE compression, and what to do with an unsupported file.
- Pixel spacing: why measurements are in millimetres or in pixelsHow a viewer knows the real size of things on an X-ray, what the DICOM Pixel Spacing tag means, and why pictures such as JPG can only be measured in pixels.
- How to browse CT and MRI series and multi-frame filesA CT or MRI study is hundreds of files. How to open a whole series in the browser, scroll through slices and find your way around studies and frames.
- How to rotate, flip and straighten an X-ray imageThe X-ray is upside down, mirrored or tilted? How to rotate it by 90° or by an exact angle, mirror it, and level it by two points – online and free.
- How to crop an X-ray and export just the detailShow only the joint, the tooth or the finding: how to crop a DICOM X-ray online, zoom in on the detail, and save or print the cropped picture.
- False colours on X-ray imagesWhy greyscale X-rays are sometimes shown in colour, what the hot metal, rainbow and bone colour maps do, and how to try them online.
- How to add notes and labels to an X-ray imageMark a finding, write the patient's name or add a comment directly on a DICOM X-ray: text notes, numbered points and labels, online and free.
- How to print an X-ray image or save it as a PDFPrint a DICOM X-ray on paper with your measurements and notes, or save it as a PDF – directly from the browser. Tips for a readable printout.
- PDF report of X-ray measurementsHow to create a PDF report with the patient details, Norberg angles and other measured values from an X-ray, directly in the browser.
- A free DICOM viewer for studentsHow veterinary, medical and radiography students can practise with real DICOM images on any laptop or tablet: windowing, measuring, annotating, no installation.
- Customise the viewer: appearance, text size, icons and languageSet up View DICOM to suit you: light or dark appearance, larger text and icons, a compact toolbar with icons only, hidden labels and 17 languages.