Image formatsince 2004

.dngDigital Negative

Adobe's open raw photo container designed for long-term camera raw storage.

Extensions
.dng
MIME
image/x-adobe-dng
Standard
Adobe Digital Negative specification
Released
2004

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 sample preview for 5760 x 3840
full-frame5760 x 3840

Canon 5D Mark III DNG

A full-frame DNG sample with a locally rendered JPEG preview.

5.91 MB dng.dng
Leica M9 DNG sample preview for 5212 x 3468
rangefinder5212 x 3468

Leica M9 DNG

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

17.48 MB dng.dng
iPhone XS DNG sample preview for 4032 x 3024
mobile raw4032 x 3024

iPhone XS DNG

A modern phone DNG sample with a detailed architecture preview.

9.81 MB dng.dng
iPhone 7 Plus DNG sample preview for 4032 x 3024
mobile raw4032 x 3024

iPhone 7 Plus DNG

An older phone DNG sample useful for comparing mobile raw workflows.

10.06 MB dng.dng

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

vsSizeQualityNote
JPGDNG is much largerDNG preserves raw editing latitudeJPG is final output; DNG is a working negative.
TIFFVariesTIFF is rendered pixelsTIFF is better for interchange after raw development.

Where it works

Operating systems
  • macOS Preview support varies
  • Windows needs codecs or photo apps
  • Linux via raw tools
Browsers
  • Browsers do not render DNG directly
Apps
  • 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

Other image formats