Specialist formats

DICOM Viewer and Anonymizer

Open DICOM images, scroll a series, set window and level, measure in millimetres and read every tag, then write a de-identified copy as a ZIP. For viewing and tidying files only, not for diagnosis.

Not for diagnostic use. This page has not been validated as a medical device; use cleared software for clinical decisions.

DICOM files

Part 10 files, up to 512.0 MB each and 3,000 at a time

Drop DICOM files or click to choose

Several files make a series. To open a whole folder use the button on the right.

Choose a folder

DICOM Viewer and Anonymizer

Operator: Abdulla Al Fahad. How tools are built and checked

Sending a CT study to a collaborator usually means two jobs: check that it is the right series, and make sure it no longer names the patient. This page does both on files that stay in the tab. It opens DICOM Part 10 files, stacks them into series, and lets you scroll, window, zoom and measure.

The anonymizer then writes a new set of files as a ZIP with the identifying attributes blanked or removed and every UID replaced consistently.

This is a viewer for inspecting and tidying files. It is not a medical device and is not meant for diagnosis.

Key features

  • Series grouping by Series Instance UID, ordered by slice position along the normal of the image orientation, with instance number as the fallback
  • Window width and level with presets (file values, brain 40/80, subdural 75/215, lung -600/1500, mediastinum 50/350, abdomen 40/400, bone 400/1800, full range, automatic 1 to 99 percent)
  • Zoom, pan, invert, cine play for series and multi-frame files, and a distance tool in millimetres
  • Tag table with names for common attributes, nested sequences indented, and a filter
  • PNG of the current frame at its own resolution
  • Anonymize to a ZIP with a report of what changed in the first file

Which transfer syntaxes are drawn, and what anonymizing changes

Pixel data are decoded for Implicit VR Little Endian, Explicit VR Little Endian, Explicit VR Big Endian, Deflated Explicit VR Little Endian, RLE Lossless and JPEG Baseline. Baseline JPEG is decoded by the browser, so it must have 8-bit samples; 12-bit, lossless JPEG, JPEG-LS, JPEG 2000 and the video syntaxes are named in a message instead of being drawn. Tags and anonymization still work on those files.

Gray values are rescaled with the slope and intercept, then mapped through the DICOM linear window function. The example series stores 12 bits in 16 and an intercept of -1024, so a stored 1064 reads as 40 and renders mid-gray under window 40/80. Distance uses Pixel Spacing, with row spacing for vertical steps and column spacing for horizontal ones. A projection X-ray that stores only Imager Pixel Spacing is flagged, because that spacing is measured at the detector.

Multi-frame files play as a cine loop, using the frame time or recommended frame rate the file gives. Colour images in RGB and YBR_FULL are shown directly, and palette colour images use their lookup tables.

Limits: 512 MB per file, 1 GB and 3,000 files per session, 120 million pixels per frame, and a deflated data set may not inflate past 768 MB.

How it works

Anonymizing applies the Basic Profile column of PS3.15 Table E.1-1, the Basic Application Level Confidentiality Profile with no options. The table in the page was generated from the 2026d edition of the standard (667 attribute rows, plus private attributes, curves and overlay data) and checked row by row against it. Each attribute is removed, emptied, given a placeholder or given a new UID, and every sequence is searched, not just the top level. The Content Sequence of a structured report is replaced by one empty item, so the report keeps its shape but none of its text. Any attribute that is not in the table but holds a person name, free text or a URL (VR PN, LT, ST, UT, UC or UR) is blanked or removed as well.

Some table rows give a type-dependent action, such as "X unless Z or D is required to maintain IOD conformance". The page does not know each IOD's attribute types, so it takes the choice that is valid for every type: an empty value (Z) or a placeholder (D) instead of removal. A Type 3 attribute can therefore stay as an empty element where the standard would delete it. Because of that the page does not write a De-identification Method Code Sequence or claim conformance to the profile.

Patient Identity Removed (0012,0062) is set to YES, with a short method text in 0012,0063, only when nothing uncertain remains. If Burned In Annotation is YES, or is missing on an ultrasound, secondary-capture or similar image, or attributes in technical groups are not in this page's dictionary, the files are written without those two attributes and the report says why.

Every UID that is replaced is collected from all files first and given one new value, so the study, series and frame-of-reference UIDs are the same in every output file. An optional seed makes the new UIDs repeatable: the same seed and input give the same output. Output files are rebuilt in their original transfer syntax; pixel bytes are copied untouched, which is why burned-in text survives.

Files are renamed anonymized/series-01/image-0001.dcm and so on, so a file name cannot carry a patient name.

When this helps

  • A radiographer opens a folder of 240 images and the viewer groups them into two series; the 5 mm axial series scrolls in slice order even though the files were named in a different order.
  • A researcher sets window 40/80 on a head CT, measures a lesion at 14.2 mm and saves the frame as a PNG for a slide.
  • A PACS administrator anonymizes a study with a seed of project-x, and a second batch of the same study later receives identical UIDs so the images join up.
  • A teacher builds a teaching set from a 90-image MR study, replaces the patient name and ID with CASE-07 and checks the Tags tab afterwards for leftovers.

Opening a file

  1. Drop DICOM files or a folder, or choose Load example for a 12-slice series.
  2. Scroll with the wheel or arrow keys, pick a preset, and use Measure to click two points.
  3. Open Tags to check what identifying data the files carry.
  4. On Anonymise optionally enter a replacement label and a UID seed, tick the confirmation, and run it.
  5. Download the ZIP and read the report of changes.

Example

Anonymise the example series (12 files, patient SAMPLE^PHANTOM^A, MRN-00417)

Patient's Name SAMPLE^PHANTOM^A, Patient ID MRN-00417, Birth Date 19710203, Study Date 20240312, Institution Riverside General Hospital, one private attribute (0009,1001)

Report for the whole set

15 UIDs replaced (12 SOP instances, 1 study, 1 series, 1 frame of reference)
Name, ID, birth date and study date emptied; institution and operator replaced by placeholders; study and series descriptions removed
12 private attributes removed; pixel data identical to the input

Tips for best results

  • With the Window tool selected, dragging up or down changes the level and dragging left or right changes the width.
  • Use a seed when a study arrives in several batches; without one each run invents new UIDs.
  • Check the changes table in the report: it lists the first file's attributes before and after.

Limits

Pixels are not edited. Ultrasound, secondary captures and any image with Burned In Annotation set to YES can carry a name inside the picture, and the page warns when it sees those flags.

The page follows the 2026d edition of Table E.1-1 as a best effort and is not a certified implementation. Attributes the table does not list are kept unless they are person names or free text, so a coded or numeric attribute added by a later edition stays in the file.

In an implicit-VR file, a sequence the dictionary does not know cannot be inspected and is removed whole.

With the study and series dates emptied, a set of studies can no longer be ordered by date.

Not for diagnosis: window, zoom and the JPEG decode path have not been validated against a reference viewer.

Common errors and how to fix them

"has no DICM marker at byte 128"
The file was saved without the 128-byte preamble or is not DICOM. Files from a DICOMDIR or a PACS export normally have it; re-export with Part 10 headers.
"JPEG 2000 Lossless (1.2.840.10008.1.2.4.90) is not supported in this viewer"
The image cannot be drawn, but the tag table and the anonymizer still work. Convert to an uncompressed syntax elsewhere if you need to view it.
"Frame 3 is cut off"
The file ends before all pixel data. A partial download is the usual cause; fetch it again.

Best practices

  • Open the output in the viewer once before sending it, and compare the Tags tab with the original's.
  • Keep the originals; the ZIP has no link back to the old UIDs unless you reuse the seed.
  • Look at one image from each series at full size for text drawn into the pixels.

What the anonymizer keeps

SOP Class UIDs, the transfer syntax, geometry (position, orientation, spacing), modality, window and rescale values, and the pixel data all stay, so images still display and still stack. Patient Age, Size and Weight are removed and Patient Sex is emptied by the Basic Profile; a research workflow that needs them must use a profile option this page does not offer.

Why the file meta group is rebuilt

The media storage SOP instance UID in the meta group has to match the new SOP instance UID, and the source application title can identify a site. The meta group is therefore written fresh with the SOP class, new instance UID, transfer syntax and an implementation class UID.

Frequently asked questions

Is the output compliant with HIPAA or GDPR?

The page cannot decide that. It applies a defined attribute table and removes private data; whether the result meets a legal standard also depends on the pixels, free text and your own risk assessment.

Why do my output files not say Patient Identity Removed?

The page writes that flag, and a short method text, only when it has nothing left to doubt. A Burned In Annotation value of YES, a missing value on an ultrasound or secondary capture, or attributes in image groups that its dictionary cannot classify all withhold it, and the report lists the reason. Check the pixels and the Tags tab, then add the flag with your own tool if your policy allows it.

Why do some images stay black?

The window is probably far from the image's values. Choose Auto or Full range; for a CT the intercept is applied first, so air sits near -1000.

Can it open a DICOMDIR or a PACS folder of subfolders?

It opens the image files inside a chosen folder and skips DICOMDIR and obvious non-DICOM extensions. Files without a DICM marker are listed as problems.