What Is a DNG File? The DNG Format, Explained With 10 Real Files

What is a DNG file? A DNG file (Digital Negative) is a raw photo format Adobe introduced in 2004, an ISO standard since March 2026. The DNG format is a container, not one kind of file: it can hold a color mosaic still to be processed or an image already in full color (demosaiced), lossless or lossy, so what's inside decides what you can do.

Should you convert to DNG? If your camera writes DNG, use it. Don't convert native RAW to DNG by default, and never convert and delete your originals. Convert when software can't read your files, or to keep an added copy, and test your own files first.

What we found: In RevelRaw's November 5, 2026 test of 10 hand-picked DNGs on macOS 27.0.1, seven main images are mosaics and three are demosaiced, across four DNG versions. One of the seven, from Lightroom, also stores a demosaiced Enhanced copy.

Two files can share the .dng extension and hold very different data. Short on time? Open a DNG on a Mac or turn it into a JPG.

The DNG file format at a glance

Full nameDigital Negative (.dng)
Created byAdobe, which introduced DNG on September 27, 2004
StandardPublished as ISO 12234-4:2026 in March 2026
Adobe's specCurrent version 1.7.1.0, dated September 2023
StructureAn extension of TIFF 6.0, compatible with TIFF-EP
Written byiPhone ProRAW, Samsung Expert RAW, some Leica, Ricoh, Sigma and DJI models, Adobe DNG Converter
Opens withmacOS, Lightroom, Photoshop, RevelRaw

Adobe's 2004 release gave two reasons for creating DNG: raw files "vary between manufacturers and individual cameras", and, as Adobe's Bryan Lamkin put it, "nobody can be sure that today's raw formats will be supported ten years from now."

Older pages that call DNG "not an ISO standard" were right until 2026. ISO sells its text, while Adobe's spec stays a free download under a royalty-free patent license with conditions. That makes DNG publicly documented, which is different from open source.

Got a .DNG that won't open? The step-by-step is in How to Open DNG Files on a Mac, or open it in RevelRaw now, free.

What is a DNG file made of?

The image data comes in two forms, and which one you have decides what the file can do later:

A DNG can also carry EXIF, IPTC and XMP metadata, private maker data and embedded previews. Previews are optional: the spec "recommends, but does not require" a low-resolution thumbnail. Three extras:

What is DNG in practice? 10 real files compared

We hand-picked these 10 from the raw.pixls.us archive's 257 CC0 DNGs to span makers and DNG types, not as a market survey, so the spread is partly designed in and no count is a market share.

SourceDNG versionMain image (stated bit depth)Main image compressionFile sizeMB per MPLargest JPEG preview
Ricoh GR III1.2Mosaic, 14-bitLossless JPEG33.37 MB1.346000 × 4000 (full)
Pentax K-3 Mark III1.2Mosaic, 14-bitLossless JPEG32.78 MB1.236192 × 4128 (full)
Leica M10-R1.4Mosaic, 16-bitLossless JPEG54.86 MB1.347840 × 5184 (near full)
DJI Mavic 3 Pro (FC4382)1.4Mosaic, 16-bitLossless JPEG14.88 MB1.22960 × 720 (small)
Hasselblad L2D-20c (DJI Mavic 3)1.4Mosaic, 16-bitUncompressed43.57 MB2.05960 × 720 (small)
Google Pixel 8 Pro1.6Mosaic, 16-bitLossless JPEG45.10 MB0.902560 × 1928 (small)
Canon 7D Mark II via Lightroom Classic 13.0.11.7Mosaic, 16-bit, plus a second JPEG XL Enhanced imageLossless JPEG38.27 MB1.851024 × 683 (small)
Apple iPhone 12 Pro1.4Demosaiced, 12-bitLossless JPEG29.20 MB2.394032 × 3024 (full)
Samsung Galaxy S23 Ultra1.6Demosaiced, 12-bitLossless JPEG31.31 MB3.143648 × 2736 (full)
Canon 5D Mark III via Adobe DNG Converter 9.81.4Demosaiced, 8-bitLossy JPEG6.19 MB0.285760 × 3840 (full)

MB is 1,000,000 bytes (our sample page uses binary MB). MB per MP is the whole file over raw megapixels, previews included, not a compression ratio. The 7D Mark II's 1.85 counts both images; its mosaic alone is 1.16. Each version describes that one file, not what the maker's current models write. Bit depth is what each file states: the 7D Mark II, Leica and Pixel values sit inside a 14-bit range. "Lossless JPEG" covers the compression step only and doesn't mean untouched sensor readings: the Pixel file lists its software as HDR+. We inferred the Samsung's "demosaiced" from its metadata.

How we tested. On November 5, 2026, on a Mac with macOS 27.0.1, we took 10 public-domain (CC0) DNGs from raw.pixls.us, read their metadata with exiftool, a standard metadata tool, checked the compression on every section of the image, and decoded each file three times with sips, the Mac's command-line image tool, checking for black output (a check that wouldn't catch stripes). We ran no conversions; the two converted files came from their uploaders. Two are rarities picked on purpose: the only file the archive labels JPEG XL and a lossy Adobe file it flags "pls keep, unique compression". Uploads run from 2017 to 2025, so nothing here describes a 2026 phone. Two files come from DJI-built drones, two from Ricoh Imaging. The same files sit behind our DNG guide, and three are in our sample RAW files.

What it means if you're holding a DNG

Across the 10 files we inspected on November 5, 2026:

What's the difference between two DNG files?

The Pixel 8 Pro file is a 45.10 MB mosaic, tagged 16-bit. The lossy Adobe file began as a Canon 5D Mark III raw and ended at 6.19 MB. A DNG whose main image uses lossy JPEG holds 8-bit linear data, so from an ordinary color-filter camera it is already demosaiced. With the Pixel file your raw editor still does that step. With the lossy file it's done, at 8 bits, and as Adobe says, "Mosaic image data can be converted to linear data, but the reverse is not possible." In one Fstoppers test (2024), a different lossy DNG showed artifacts under heavy shadow lifts.

Lightroom's DNG 1.7 file is two images in one: a lossless JPEG mosaic taking 62.8% of the file and a JPEG XL Enhanced image taking 36.1%. That's the Canon 7D Mark II row, and its Enhanced image, a denoised version, is tagged "Adobe Denoise 1 Amount 50".

Which cameras and phones shoot DNG?

Apple says ProRAW "uses the industry standard digital negative (DNG) file format", on iPhone 12 Pro and later Pro models. Samsung says Expert RAW saves "Linear DNG 16-bit". The Leica M11, Ricoh GR IV, Sigma fp and DJI Mavic 4 Pro also write DNG, and the Pentax K-3 Mark III offers DNG alongside PEF.

Canon, Nikon, Sony and Fujifilm use their own raw formats (CR3, NEF, ARW, RAF). Canon told The Verge in April 2025 that its format lets it add proprietary information without being restricted by the standardization; Sony cited performance tuned to sensor and processor. Nikon and Fujifilm did not answer by publication. Hasselblad's X2D II 100C writes 3FR. The Hasselblad DNG in our sample came from a Hasselblad-branded camera on a DJI drone.

Why doesn't a DNG work the same everywhere?

Calling DNG "universal" goes too far. It is widely supported in its common form, and critics' claim that other software can't read it is out of date for ordinary mosaic files. The spec tells apps to refuse a file that says it needs a newer DNG version than they were built for. macOS's built-in RAW decoder decoded all 10 files, four from cameras absent from its RAW list.

Edits don't always travel. Capture One's support page says it does not support adjustments from other apps embedded in a DNG.

Is the DNG format compressed, and is it really 20% smaller?

Adobe's DNG page, answering whether DNG files lose quality, says: "Unlike file types such as JPEG, which compress files, there's no compression involved in creating a DNG file, so there's no process that might cut out important data within the image itself." The likely intent is "no lossy compression by default", which is defensible. Still, nine of the 10 DNGs we measured use compressed main images: eight lossless JPEG, one lossy JPEG. The page also says twice that a DNG "stores uncompressed image data". Our Hasselblad file does. Alexander Kunz noted in 2022 that cameras writing DNG "often write uncompressed data (DJI, Leica, probably others too)", citing a 12 MP DJI file at about 25 MB and a 40 MP Leica file at 85 MB. Our Leica and DJI Mavic 3 Pro files use lossless JPEG, so it isn't every file.

Adobe's converter defaults to lossless compression, but lossy options exist, so check the setting. No source we found shows lossless conversion changing the pixels, and we ran no conversions ourselves.

Adobe also says a DNG is "around 20% smaller" or "generally 15-20% smaller". That's roughly right for some lossless raws, but neither page gives a test, and it says nothing about a file born DNG. These forum and blog reports aren't our figures, and we found no controlled benchmark:

Converted to DNG fromReported changeReported by
Sony a7R IV uncompressedAbout halfStephen Bay, 2025; forum user, 2026
Sony a7 V lossless15.7% smallerAdobe forum user, May 2026
Sony a7 V compressed HQ25.1% largerSame user
Nikon HE*36.8% largerpixls.us user, July 2026
Canon R5 C-RAWAbout 2.6 timesDavid Kotz, 2022

Bay and Kotz state lossless output; the others state no setting, and lossless is the converter's default. The a7 V and Nikon percentages are arithmetic on posted sizes.

Should you convert to DNG?

If your camera writes DNG, use it. Don't convert native RAW by default. Never convert and delete the originals. Convert when software can't read your files, or to keep an added copy, and test your own files first.

The case for is real. Uncompressed raw on a body with no lossless option shrinks by about half in the a7R IV reports, and uncompressed Hasselblad X2D 3FR by 23% to 32% (Lloyd Chambers, 2022). Stephen Bay says he has been "converting them into DNG and deleting the original files". The U.S. National Archives (NARA) rates DNG 1.7 Low risk and rates Canon CR3, Nikon NEF, Sony ARW and FujiFilm RAW Moderate, with the stated plan "Transform to DNG". And sometimes DNG is what opens: one user reports Nikon Z6III HE* NEFs failing in a darktable nightly on Linux while DNG Converter output worked.

The case against.

The trade-off. The space saving only exists if you delete the originals, so keeping them gives up size as a reason to convert. "Never convert and delete" is our advice, not a finding: no source we found shows pixel loss in lossless mode, and embedding the original removes the risk while cancelling the saving. The strongest policy fact against convert-and-delete is NARA's general format policy, not specific to camera raw, of "retaining the original format files in low-access storage".

Adobe DNG Converter is free (version 18.7, September 2026; Adobe lists system requirements). Convert a dozen files, compare sizes, and open them in every app you use.

Can a Mac open DNG files?

Yes, macOS reads DNG itself: Apple lists "basic support" for DNG from "these and other cameras". The steps and fixes are in our Mac guide to DNG files.

RevelRaw reads DNG. That includes JPEG-XL-compressed ProRAW from iPhone 16 Pro and later on macOS 26 or later, based on one real file we opened; we didn't run RevelRaw on the 10 test files. Your photos stay on your Mac, and it can remove GPS on export. iPhone shooters can start with editing ProRAW on a Mac.

FAQ

Is DNG better than JPEG?

It depends what's in the DNG. Nine of the 10 hand-picked DNGs in RevelRaw's November 2026 test have main images tagged 12 to 16-bit, against 8-bit JPEG previews, so they hold far more editing data; the lossy DNG is the exception at 8-bit. The cost is size: Apple's 2024 figures put ProRAW at 10 to 12 times HEIF or JPEG. A JPEG is ready to share.

What program opens a DNG file?

macOS has built-in DNG support, Lightroom and Photoshop work with DNG, Adobe says hundreds of software makers support it, and RevelRaw reads it. Support varies by file type: darktable 5.6.2's notes list ProRAW and DNG 1.7 JPEG XL under missing compression mode support, alongside native modes such as Nikon high efficiency NEFs. Our guide to opening a DNG on your Mac has the steps.

Why are my photos being saved as DNG?

A raw setting is the likely cause: ProRAW on an iPhone, Expert RAW on a Samsung, or a raw option on a drone or a Pixel (Tim Bray reports this). On an iPhone, go to Settings > Camera > Formats to turn it off.

Can I convert a DNG file to jpg?

Yes. macOS's built-in decoder produced a JPEG from all 10 hand-picked DNGs in RevelRaw's November 2026 test, and RevelRaw exports JPEG. Adobe DNG Converter won't help: it doesn't make JPEG files. Our DNG to JPG walkthrough has the steps. Keep the DNG afterwards as your master.

Is DNG a RAW file?

Yes, but not always untouched raw. In RevelRaw's November 2026 test of 10 hand-picked DNGs, seven main images are mosaics, with color still to be worked out, and three are demosaiced, with color already worked out, and Apple says "the system demosaics and partially processes Apple ProRAW photos."

How can I tell what kind of DNG I have?

Drop it on our free EXIF viewer, open All tags and find the block with SubfileType 0, the main image; in eight of the 10 files in RevelRaw's test the first block is only a preview. There, Compression reads "JPEG (7)" for lossless, "Uncompressed (1)" for none and "Lossy JPEG (DNG) (34892)" for lossy, and PhotometricInterpretation starts "Color filter array" for a mosaic or "Linear raw" for demosaiced.

Related reading: How big is a RAW file? · RAW vs JPEG · All RAW formats · CR3 · NEF · ARW