DNG is a raw image format that stores unprocessed camera data so you can edit photos with more control than JPEGs allow

A DNG file (Digital Negative) is a raw image format created by Adobe in 2004. When your camera takes a photo, it captures light information as raw data. A DNG file stores that raw data directly, without the camera explore color correction, sharpening, or compression. This means you get the original information the camera sensor recorded, which gives you far more flexibility when editing the photo later.

The main difference between DNG and other formats: a JPEG is already processed and compressed by your camera's software before it's saved. A DNG is the unprocessed original. Think of it like the difference between a rough draft and a printed book — the raw file is the draft, and you decide how to finish it.

Key Takeaways

  • DNG files contain raw, unprocessed sensor data, which means you can adjust exposure, white balance, and color in editing software without losing quality.
  • Most professional cameras can save DNG files directly, but some cameras only save proprietary raw formats like Canon's CR2 or Nikon's NEF, which you can convert to DNG later.
  • DNG files are much larger than JPEGs — typically 30 to 50 megabytes per photo — so you need more storage space and faster memory cards.
  • You need editing software that supports DNG, such as Adobe Lightroom, Capture One, or free tools like Darktable, to open and work with DNG files.

How DNG differs from JPEG and other formats

When you shoot a JPEG, your camera processes the raw sensor data in seconds: it applies white balance (warm or cool color tone), sharpens edges, boosts contrast, and compresses the file to make it smaller. Once that happens, the original information is gone. If you took a photo in shade and it came out too blue, you can adjust the color in editing software, but you're working with limited data.

A DNG file skips all that processing. The camera records exactly what the sensor saw and saves it. In editing software, you can shift the white balance from blue to warm without any loss of detail, because the original color information is still there. You can recover blown-out highlights or lift dark shadows much further than you could with a JPEG, because the raw file contains more tonal information.

Other raw formats exist — Canon uses CR2, Nikon uses NEF, Sony uses ARW — but each camera maker uses its own proprietary format. DNG is an open standard, meaning any software maker can build support for it without paying Adobe. This makes DNG a safer choice for long-term storage, because you're not locked into one camera brand's format.

Which cameras can save DNG files

Most modern mirrorless cameras and high-end DSLRs can save DNG directly. Sony, Fujifilm, Panasonic, and Leica all offer DNG as a native option in their cameras. Some entry-level cameras do not — they save only their proprietary format. Check your camera's manual or settings menu under "Image Format" or "File Type" to see if DNG is available.

If your camera does not save DNG natively, you can convert its raw files after the fact. Adobe Lightroom includes a conversion tool, and free software like Darktable and RawTherapee can convert Canon CR2, Nikon NEF, and other formats to DNG. The conversion takes a few seconds per photo and preserves all the original data.

Storage and file size considerations

A single DNG file is typically 30 to 50 megabytes, depending on your camera's sensor resolution. A JPEG from the same camera might be 5 to 10 megabytes. If you shoot 100 photos in a day as DNG, you're storing 3 to 5 gigabytes of data instead of 500 megabytes to 1 gigabyte. Over a year of regular shooting, DNG files can consume hundreds of gigabytes.

This affects your workflow in two ways. First, you need faster memory cards — UHS-II or UHS-III cards are recommended for DNG shooting, because the camera writes data faster and you can shoot longer bursts without the camera pausing. Second, you need a backup strategy. Many photographers keep DNG files on an external hard drive or cloud storage, because losing a year of raw files is a bigger loss than losing JPEGs.

Software that opens and edits DNG files

Adobe Lightroom is the most common choice for DNG editing. It lets you adjust exposure, white balance, shadows, highlights, and color in a non-destructive way — meaning the original DNG file never changes, and you can undo any edit. Capture One (paid) and Darktable (free) offer similar workflows.

Photoshop can open DNG files, but it's not the best tool for raw editing — Lightroom is faster and more intuitive for this work. If you use a smartphone, most phones cannot open DNG files natively, though some Android apps like Snapseed or Lightroom Mobile can handle them.

When to shoot DNG instead of JPEG

Shoot DNG if you plan to edit your photos significantly or if you want maximum control over the final look. Professional photographers, serious hobbyists, and anyone selling their photos typically shoot DNG because the editing flexibility pays off. You can recover detail in shadows, fix white balance mistakes, and adjust color in ways that are impossible with JPEG.

Shoot JPEG if you want smaller files, faster workflow, and photos that are ready to share without editing. JPEG is fine for casual snapshots, events where you need to deliver photos quickly, or situations where storage space is limited. Many photographers shoot both — DNG as the master file for archiving and editing, and JPEG as the quick-share version.

DNG as a long-term storage format

One reason photographers prefer DNG is stability. Camera makers sometimes discontinue support for old raw formats, or software stops reading them. DNG, being an open standard, is more likely to remain readable in 10 or 20 years. If you're archiving photos for the long term, DNG is a safer bet than a proprietary format that depends on one company's software.

Many photographers convert their camera's native raw files to DNG when ready after importing them into Lightroom, then delete the originals. This creates a single, standardized archive that doesn't depend on owning the same camera brand forever.

Frequently Asked Questions

Can I convert a JPEG back to DNG?

No. A JPEG has already discarded information that the camera processed away. Converting it to DNG would just wrap the same compressed data in a different container. You need the original raw file from the camera to create a true DNG.

Is DNG bigger than RAW?

DNG is a type of raw format, so they're roughly the same size. A DNG file is typically the same size as your camera's native raw format, or slightly larger if it includes embedded preview images. The file size depends on your camera's sensor resolution, not the format.

Do I need to shoot DNG if I only share photos on social media?

No. Social media platforms compress all images heavily, so the extra detail in DNG files is lost. JPEG is faster to shoot, smaller to store, and perfectly adequate for sharing online. DNG is worth the extra storage only if you edit photos or want to keep high-quality archives.

Can I edit a DNG file in Photoshop?

Yes, Photoshop can open DNG files through its Camera Raw Filter. However, Lightroom is faster and more intuitive for raw editing. Photoshop is better for detailed retouching after you've finished the raw adjustments in Lightroom.

What happens if I lose the DNG file?

The original photo is gone. Unlike cloud-synced formats, DNG files exist only where you save them — your camera, memory card, or hard drive. This is why photographers back up DNG files to external drives or cloud storage. Losing a DNG is the same as losing a physical negative.