.dng — Digital Negative
Adobe's open raw photo container designed for long-term camera raw storage.
About this format
DNG is a camera raw container. It keeps sensor-oriented image data and metadata so photographers can edit exposure, white balance, color, and detail later.
Use DNG for archival raw workflows. Export JPG, PNG, AVIF, or WebP when you need a viewable or uploadable image.
Real-world samples & file sizes
Four freshly sourced CC0 DNG files from raw.pixls.us. The downloads are real camera raw files kept at their original sensor dimensions; each card uses a locally rendered JPEG preview because browsers do not display DNG directly.

Canon 5D Mark III DNG
A full-frame DNG sample with a locally rendered JPEG preview.

Leica M9 DNG
A Leica DNG sample that shows indoor raw exposure and highlight handling.

iPhone XS DNG
A modern phone DNG sample with a detailed architecture preview.

iPhone 7 Plus DNG
An older phone DNG sample useful for comparing mobile raw workflows.
Pros
- +Designed for raw photo preservation
- +Carries rich camera metadata
- +Supported by many photo editors
Cons
- −Large files
- −Not directly accepted by most websites
- −Needs raw-processing software
DNG vs other formats
| vs | Size | Quality | Note |
|---|---|---|---|
| JPG | DNG is much larger | DNG preserves raw editing latitude | JPG is final output; DNG is a working negative. |
| TIFF | Varies | TIFF is rendered pixels | TIFF is better for interchange after raw development. |
Where it works
- macOS Preview support varies
- Windows needs codecs or photo apps
- Linux via raw tools
- Browsers do not render DNG directly
- Adobe Lightroom
- Photoshop / Camera Raw
- darktable
- RawTherapee
Related tools
Frequently asked questions
- Is DNG the same as RAW?
- DNG is a raw container. Camera vendors also have proprietary raw formats such as CR2, NEF, ARW, and RAF.
- Can I upload DNG to social media?
- Usually no. Export a JPG or WebP after editing.
Sources
- Adobe Digital Negative specification - DNG purpose and specification downloads
- Library of Congress - DNG 1.6 - DNG-specific archival description