.DNG

DNG File

Digital Negative (Adobe DNG)
Ask a question
QUICK ANSWER

A DNG file is a RAW photo in Adobe's open Digital Negative format - unprocessed sensor data that you develop in software before sharing. On Windows, install the free Raw Image Extension to see previews, then open it in darktable or RawTherapee. To share, export to JPG.

Developer: Adobe Systems Category: Camera Raw Files Open standard MIME: image/x-adobe-dng
OPENS ON Windows macOS Linux Android iOS
Related: .CR2 · .NEF · .ARW · .RW2

On this page

19k+ extensions indexed
Last reviewed Jul 7, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the DNG file format?

.dng (Digital Negative) is a file format used for archiving RAW image files, developed by Adobe Systems in 2004. Also known as the Adobe Digital Negative format, .dng files store raw photographic data along with metadata, color profiles, and optional preview images in a single self-contained file.

DNG as an open standard

Unlike proprietary camera raw formats, .dng is a publicly documented, open standard - not to be confused with open-source software. It was created in direct response to the fragmented landscape of proprietary raw files, and its structure is based on the TIFF/EP standard (ISO 12234-2). A .dng file begins with the standard TIFF little-endian signature (49 49 2A 00) and is identified internally by the DNGVersion tag (tag ID 50706). Many image editing applications support .dng, and some camera manufacturers - including Leica and Hasselblad - save RAW images natively in this format. It is also used as a universal archival target for proprietary raws such as .cr2 or .nef files.

Raw and processed data

.dng supports both raw (sensor-level) image data and processed images. A raw .dng file can also embed a full-resolution or reduced-size JPEG preview alongside the original sensor data, giving software fast access to a displayable image without full raw decoding.

Advantages of DNG files

.dng is widely used due to its high compatibility across software and support for a wide spectrum of features. Files are often smaller than equivalent proprietary raw files when lossless compression is applied (.dng supports both lossless and uncompressed storage). Because metadata edits and XMP data can be embedded directly into the file, all modifications are preserved in a single file without requiring a separate sidecar.

Security & safety

RISK: LOW

DNG is passive image data (sensor data + metadata), not executable, so opening one is safe. The cautions are non-malware: EXIF metadata (camera, timestamps, sometimes GPS) travels with the file - strip it before publishing if privacy matters; DNGs are large, so back up originals; and editing is non-destructive (your DNG master is preserved while edits live in sidecars/catalogs). Beware fake 'DNG viewer' downloads bundled with adware - use darktable/RawTherapee/Adobe or the Microsoft Raw Image Extension.

Format details

in a nutshell
FULL NAMEDigital Negative (Adobe DNG)
DEVELOPERAdobe Systemssince 2004 (Adobe DNG 1.0); DNG 1.7 (2023); basis of ISO 12234-2/TIFF-EP
MIME TYPEimage/x-adobe-dng
TYPEOpen, TIFF/EP-based raw camera image (binary)
STANDARDOpen · royalty-free
MAGIC BYTES · FILE SIGNATURE
OFFSET
00010203
HEX
49492A00
ASCII
II*·
DNG is built on TIFF, so it begins with the TIFF signature: usually little-endian "II*\0" (49 49 2A 00) at offset 0, occasionally big-endian "MM\0*" (4D 4D 00 2A). A DNG is distinguished from a plain TIFF by the DNGVersion tag (50706) and raw CFA/linear image data inside. There is no separate DNG magic number - it is a TIFF/EP-conformant raw container.

Programs that open DNG files

Windows6 apps
darktable Open-source Free Lightroom-style raw developer; import the DNG, edit non-destructively, export JPG/TIFF.
Adobe DNG Converter Free Free Adobe tool - mainly to CONVERT other raws TO DNG, but confirms/normalizes DNGs too.
RawTherapee Open-source Free, powerful raw processor; open the DNG to develop and export.
Raw Image Extension (Microsoft Store) Free Install from the Microsoft Store so DNG thumbnails/previews show in File Explorer and the Photos app.
Adobe Lightroom / Photoshop (Camera Raw) Paid Import the DNG; Camera Raw develops it. Adobe's own format - best-supported, but subscription.
IrfanView (+ RAW plugin) Free Fast free viewer; with its RAW plugin it shows DNG and batch-converts to JPG.
macOS3 apps
darktable Open-source Free raw developer for Mac; import the DNG, edit, export JPG/TIFF.
Apple Photos / Preview Built-in macOS reads DNG natively (incl. ProRAW); double-click to preview or import into Photos to edit.
Adobe Lightroom / Photoshop Paid Develop the DNG in Camera Raw; Adobe's native format.
Linux3 apps
darktable Open-source The go-to free raw developer on Linux; import the DNG, edit, export.
RawTherapee Open-source Open the DNG to develop with fine control; export JPG/TIFF.
GIMP (+ darktable/RawTherapee plugin) Open-source GIMP opens DNG via its darktable/RawTherapee raw loader, then edits as a normal image.
Android1 app
Adobe Lightroom (mobile) Freemium Import the DNG (e.g. from phone raw capture) to develop and export JPG; free tier covers most edits.
iOS1 app
Apple Photos / Lightroom (mobile) Built-in iOS opens DNG/ProRAW natively in Photos; edit there or in Lightroom mobile, export JPEG.

Technical details

deep spec
Container structureBuilt on TIFF/EP (ISO 12234-2); structurally a valid TIFF file extended with DNG-specific private tags
MIME typeimage/x-adobe-dng
Magic bytes49 49 2A 00 (little-endian) or 4D 4D 00 2A (big-endian) at offset 0; standard TIFF/EP file signature
Identifying TIFF tagDNGVersion (tag ID 50706) is present in every .dng and distinguishes it from a plain .tiff
Color filter array encodingSensor CFA data stored in linear light with Bayer or X-Trans pattern; described by CFAPattern and CFALayout tags
Bit depth8, 16, or 32-bit per channel; 32-bit float supported from DNG 1.4 for HDR and floating-point raw captures
Compression modesUncompressed, lossless JPEG (Huffman-based), lossless JPEG-2000 style; lossy JPEG compression added in DNG 1.4
Embedded previewsFull-size JPEG preview and reduced thumbnail can be embedded in a SubIFD alongside the raw sensor data
Metadata embeddingEXIF, IPTC, and XMP written directly into the file; no external .xmp sidecar is required
Lens correction opcodesOpcodeList1/2/3 tags (DNG 1.3+) encode lens distortion, vignetting, and chromatic aberration correction
Noise modelNoiseProfile tag stores a per-channel (signal-variance, read-noise) model for improved demosaicing and denoising
Camera color calibrationForwardMatrix and ColorMatrix1/2 tags embed camera-specific color transforms keyed to standard illuminants (e.g., D65, A)
Transparency supportAlphaMasked subfile type allows an alpha/transparency channel for masked compositing workflows
Multiple image representationsIFD chain can hold several image versions in one file - raw data, standard-size preview, and reduced thumbnail
Released2004 (Adobe DNG 1.0); DNG 1.7 (2023); basis of ISO 12234-2/TIFF-EP
Open standardYes · royalty-free
Specificationhelpx.adobe.com

DNG conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with DNG files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about DNG files.

Frequently asked questions

How do I open a DNG file?
On Mac/iOS it opens natively in Photos/Preview. On Windows, install the free Raw Image Extension to see previews, then edit in free darktable or RawTherapee (or Adobe Lightroom/Photoshop). On Android, use Lightroom mobile.
How do I convert a DNG to JPG?
Open the DNG in darktable, RawTherapee or IrfanView, adjust exposure/white balance as needed, and Export/Save As JPEG. These tools batch-convert whole folders of DNG to JPG.
What is a DNG file and where does it come from?
It's a RAW photo in Adobe's open Digital Negative format. It comes either from converting a camera's proprietary raw (CR2/NEF/ARW) to DNG, or directly from cameras/phones that shoot DNG natively (Leica, Pentax/Ricoh, DJI drones, Android raw, iPhone ProRAW).
Should I convert my camera raws (CR2/NEF) to DNG?
It's optional. Pros: open, documented, future-proof, often smaller, can embed the original. Cons: an extra step and you lose the exact proprietary wrapper. Many photographers archive to DNG; others keep the native raw as master.
Why can't I see DNG thumbnails on Windows?
Windows doesn't decode raw out of the box. Install the free Raw Image Extension from the Microsoft Store and DNG thumbnails/previews will appear in File Explorer and Photos.
Can I convert a DNG back to CR2 or NEF?
No. DNG is the open destination format - you convert proprietary raws TO DNG, not the other way. You can't reconstruct a Canon CR2 or Nikon NEF from a DNG; export to TIFF or JPEG instead.
Is DNG the same as RAW?
DNG is a specific, open raw format; 'RAW' is the generic term for unprocessed sensor files (of which CR2, NEF, ARW and DNG are examples). So a DNG is a raw file - just the standardized, non-proprietary kind.

References

1Adobe - Digital Negative (DNG) format & specificationhelpx.adobe.com
2Adobe - DNG Converter (free)helpx.adobe.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.BINCD/DVD Disc Image (BIN/CUE)
3.MDMarkdown Document
4.RPMSGRestricted Permission Message
5.PARTPartial Download File
6.CRDOWNLOADChrome Partial Download File
7.NOMEDIAAndroid No-Media Marker File
8.PRDXSoftMaker Presentations Document
9.PRO6XProPresenter 6 Bundle File
10.SWFSmall Web Format (Shockwave Flash)

Related extensions

.CR2Canon RAW 2 (Canon digital camera raw image, version 2)
.NEFNikon Electronic Format (Nikon camera raw image)
.ARWSony Alpha Raw (Sony digital camera raw image)
.RW2Panasonic Lumix RAW Image (version 2)
.RAFFujifilm RAW Image (RAF)
.RAWRaw Camera Image

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z