# DICOM to JPG

> Open the scan, set the window (for example Lung or Bone), then save the slice you see or every slice as JPG or PNG. The pictures carry no patient details.

Human page: https://unmakelabs.com/en-us/dicom-to-jpg/. This is the version for AI agents.

## What it does

DICOM to JPG converter: turn DICOM slices into JPG pictures you can paste anywhere Open the scan, set the window (for example Lung or Bone), then save the slice you see or every slice as JPG or PNG. The pictures carry no patient details.

## Why convert DICOM to JPG

Slides, reports, messaging apps and course platforms don't read DICOM. A JPG or PNG of the slice, with the right window, is what people can open. The conversion keeps what you see on screen: the window/level you chose, the zoom-free full image, black boxes over areas you hid; measurements can be drawn in.

## Who it's for

Students and teachers making slides, physiotherapists and vets writing reports, patients sending a picture to family or a second opinion, and anyone who needs a quick preview of a series.

## Facts

- **Input:** .dcm, CD folders, ZIPs; all usual compressions except 12-bit JPEG
- **Output:** JPG or PNG, one slice or all slices in a ZIP
- **Size:** Full resolution; small images enlarged to at least 512 px
- **Privacy:** No tags in the pictures; nothing uploaded

## How a person does it

1. **Open the scan.** Drop the files, folder or ZIP; the main series opens in the middle slice.
2. **Set the look.** Choose a window preset or drag with Contrast; scroll to the slice you want.
3. **Save.** Tap Save image, choose JPG or PNG and This slice or All slices. A ZIP downloads for a series.

## Open a file by link (works today)

The viewer runs in a browser. Any public file URL can be opened by adding `?src=` (URL-encoded): `https://unmakelabs.com/en-us/dicom-to-jpg/?src=https://unmakelabs.com/apps/dicom/samples/chest-ct-sample.zip`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: none: medical images never go in a link. `?src=<public .dcm or .zip URL>` opens a de-identified file the visitor's browser can fetch (CORS).

Embed: `<iframe src="https://unmakelabs.com/embed/dicom/?src=<url-encoded file URL>" width="100%" height="480" style="border:0"></iframe>`.

## Good to know

Pictures are 8-bit: the window you choose decides which part of the CT or MRI range is visible, so pick it before saving (Lung for lungs, Bone for bones). Non-square pixels are stretched to the right shape.

## Not done by this tool

- JPG/PNG can't be turned back into DICOM with the original values
- Text written into the image stays unless you hide it first
- No video (MP4/GIF) export yet
- Not for diagnosis

## Value

Opens DICOM medical images in any browser, phones included, with nothing installed or uploaded: single .dcm files, whole CD or USB exports (files without extensions, DICOMDIR skipped), dropped folders and ZIPs of a series. Shows the image with window/level presets (CT soft tissue, lung, bone, brain), scrolling through slices and multi-frame files, zoom and pan, distance measurement in mm from Pixel Spacing, pixel values (HU on CT), cine play and every tag with its name (searchable). Decodes Explicit/Implicit VR Little Endian, Big Endian, Deflated, RLE, JPEG Baseline, JPEG Lossless, JPEG-LS and JPEG 2000 (12-bit JPEG not yet). Anonymizes following DICOM PS3.15 Annex E Basic Profile (Table E.1-1, all 656 attributes, in sequences too; private tags, overlays and curves removed; UIDs replaced consistently across the batch) with options to keep or shift dates and keep patient characteristics, warns when Burned In Annotation is YES or text-like marks are found in the pixels, lets the user black out areas in every image, and downloads a .dcm or a ZIP with a change report without old values. Exports the current slice or all slices as PNG or JPG. Free, no sign-up; not for diagnosis.

## When it fits

- A patient got a CD or USB stick of their scan and wants to look at it on a phone, Mac or Chromebook without installing the viewer on the disc.
- A researcher, student or clinician needs to remove patient details from a study before sharing it with a colleague, a trial or a course, and wants a report of what changed.
- Someone needs a picture (JPG/PNG) of a slice for a report, a slide or a second opinion, or wants to read a file's tags and pixel spacing quickly.

### When not

- Diagnosis or any medical decision; this is not a medical device.
- MPR, 3D volume rendering, fusion, PACS query/retrieve, DICOMweb, structured report rendering; video DICOM (MPEG) shows tags only.
- Removing text written into the pixels automatically; the page detects likely text and blacks out the areas the user confirms.

## Why use it instead of the alternatives

- Nothing to install: the viewer opens a public, de-identified .dcm or .zip by link (?src=) in any browser, phones included, and can be embedded (/embed/dicom/).
- A server copy for agents (tags with patient fields stripped, image facts, slice PNGs) is planned, not live.
- Viewers on hospital CDs need Windows and an install; desktop viewers (Horos, RadiAnt, MicroDicom) need an install; several online viewers and anonymizers are free only for personal use, upload the files, or leave text in the pixels without a warning.
- This page needs no install, upload or account, opens CD folders and ZIPs on a phone, anonymizes to the standard's full table with a check and a report, warns about burned-in text and blacks out marked areas, and exports JPG/PNG, free without limits.

### What rebuilding it would take

- Write a DICOM reader for four transfer syntaxes plus encapsulated pixel data, sequences of defined and undefined length, implicit VR via a data dictionary, character sets and truncated files.
- Add pixel decoders (RLE, palette, YBR, 1-bit, signed, big endian, JPEG lossless, JPEG-LS, JPEG 2000), window/level, measurement in mm, slice sorting by patient position.
- Implement PS3.15 Table E.1-1 with consistent UID replacement, date shifting and a writer, then prove it with an independent check on every attribute.
- Public test files in every syntax, the standard's de-identification table kept current, and upkeep as browsers and scanners change.

## Quality

No score published; the limits above say what it does not do. Check results that matter before you rely on them.

## Risk for the user

- Free and unlimited; no sign-up, no ads.
- Images are read on the user's device and never uploaded; files given by link are fetched by the user's browser from where they are stored.
- Not a medical device: for viewing and sharing, not diagnosis.

_Status: viewer, measuring, image export and PS3.15 Basic Profile anonymizer work in the browser; no API yet._

## Privacy

- DICOM files are read and anonymized on the user's device and not uploaded; there is no share link for images.
- The page loads open-source decoders (JPEG Lossless, JPEG 2000, JPEG-LS) and fflate (ZIP) from unmakelabs.com itself on first use; no third-party code host is contacted.
- The anonymization report contains attribute names and actions, not original values.

## Data

Opens in your browser; your images stay on your device. Nothing is uploaded, and nothing about them goes into links.

## FAQ

- **Can I convert a whole CD to JPG?** Open the folder; each series is listed in the Series menu. Save all slices for each series you need.
- **Will the patient name appear in the JPG?** Only if it is written into the image itself (common on ultrasound). Tags are never copied into the picture; use Hide text to black out names drawn in the image.
- **JPG or PNG?** PNG keeps every pixel exactly and is larger; JPG is smaller and fine for slides and messages.
- **When is it the right tool, and when not?** Right for: A patient got a CD or USB stick of their scan and wants to look at it on a phone, Mac or Chromebook without installing the viewer on the disc. A researcher, student or clinician needs to remove patient details from a study before sharing it with a colleague, a trial or a course, and wants a report of what changed. Someone needs a picture (JPG/PNG) of a slice for a report, a slide or a second opinion, or wants to read a file's tags and pixel spacing quickly. Not for: Diagnosis or any medical decision; this is not a medical device. MPR, 3D volume rendering, fusion, PACS query/retrieve, DICOMweb, structured report rendering; video DICOM (MPEG) shows tags only. Removing text written into the pixels automatically; the page detects likely text and blacks out the areas the user confirms.
- **Is it really free?** Yes: no ads, no sign-up, no limits, no paid tier.
- **Do you upload my scans?** No. The files are read inside this page on your device. There is no upload and no share link for images.
- **Can I use it to diagnose?** No. It's for looking at, measuring roughly and sharing your images, not for medical decisions; screens, compression and settings differ from a hospital's reading station. Ask your doctor.
- **Can an AI agent use it?** An agent can open a public, de-identified .dcm or .zip in this viewer with a link (add ?src= and the file's address to this page). A server version that returns tags and slice pictures as data is planned, not live.
- **Who makes this?** Unmake Labs (Julien Salomon). Contact: hello@unmakelabs.com.

## Related pages

- [DICOM viewer](https://unmakelabs.com/en-us/dicom-viewer/)
- [DICOM anonymizer](https://unmakelabs.com/en-us/dicom-anonymizer/)
