Convert DNG to PNG

Converting DNG to PNG produces a lossless, viewable derivative from an archival raw master — useful when the DNG files are the record and everyone else needs something they can open. The PNG preserves the preview stored in the DNG exactly, which is a smaller claim than preserving the sensor data and worth stating clearly.

  • Where it runs In your browser. The file is never uploaded.
  • Lossy Some detail is traded for size. PNG cannot hold everything a DNG can.
  • File size limit Up to 100 MB per file, free, without an account.
  • Worth knowing This extracts the preview your camera wrote when it took the photograph, at full resolution on almost every camera. It is the camera’s own rendering, so its picture style is baked in and the extra highlight and shadow latitude that is the reason to shoot raw is not in it. Perfect for viewing, sending or uploading; not a substitute for developing the file.

Up to 100 files at once. Mixed formats are fine.

The DNG is already the master, so what is the PNG for

That is the question worth answering before converting anything. DNG exists to be the file kept: documented, standardised as ISO 12234-2, not dependent on a manufacturer continuing to support a discontinued camera. If somebody converted an archive to DNG, they were making a preservation decision.

The PNG is therefore not a second master. It is an access copy — the thing a viewer displays, a catalogue thumbnails, a colleague on a machine with no raw support can open. Treating it as anything more leads to two files claiming to be authoritative and a slow drift between them.

When the access copy should be JPG instead

For most access purposes JPG is the better answer and it is worth saying so on a page about PNG. Browsing a catalogue, sending a colleague a picture, illustrating a record — none of these are affected by lossy compression, and the files are a fraction of the size, which matters when there are forty thousand of them.

PNG earns its place when the derivative will itself be worked on: annotated, measured, compared between versions, or re-saved repeatedly. JPEG re-compresses on every write and the damage accumulates; PNG does not, so a file that will be opened and saved a dozen times stays exactly as it started.

What the DNG preview is, and who wrote it

The converter does not develop the sensor data. It finds the JPEG stored inside the DNG and re-encodes it as PNG. In a camera-native DNG — a Leica, a Pentax, a drone, an iPhone shooting ProRAW — that preview came from the device at capture.

In a DNG converted from a CR2, NEF, ARW or ORF, it was generated by the converting software using whatever raw settings applied at the time, and Adobe DNG Converter offers it at medium or full size. So the appearance and the dimensions of your access copies were decided by whoever ran the conversion, possibly years ago. It is worth checking one file before generating the set.

PNG chunk checksums and why they suit a derivative set

Every chunk in a PNG carries a CRC, so a file corrupted by a failing disk or a bad copy announces itself when a decoder checks it rather than rendering a band of noise. JPEG has no equivalent and will often display damaged data without complaint.

For a derivative set that sits on storage for years and is read occasionally, that is a practical property rather than a theoretical one. It does not replace fixity checking across the whole collection, but it means a damaged access copy is noticed at the moment somebody tries to use it.

Sizing an access set derived from DNG files

The arithmetic is the constraint. A 12-megapixel phone DNG yields roughly 36 MB of raw pixels, and PNG typically brings a photograph to half or three-quarters of that. A full-resolution preview from a high-resolution camera is several times larger again.

Multiply by the size of the collection before starting. Access copies are usually better generated at a fixed maximum width — 2,000 pixels serves almost any viewer and most catalogue front ends — which keeps the set predictable and an order of magnitude smaller than full resolution.

Metadata belongs in the catalogue, not in the PNG

The re-encode drops the EXIF, so the PNG carries no camera model, no exposure data, no timestamp and no GPS coordinate. That sounds like a loss and is mostly a discipline.

The authoritative metadata is in the DNG and should be read from there into the catalogue record. Derivatives that carry their own partial copy are how a collection ends up with three slightly different capture dates for one image and no way to decide which is right.

Bit depth: what DNG holds and what the PNG receives

A DNG can carry sensor data at up to 16 bits per channel, and PNG can store 16 bits per channel, which makes it tempting to assume the depth carries across. It does not. The extracted preview is an ordinary 8-bit JPEG, so the PNG is 8-bit.

If a derivative with real tonal depth is required — for reproduction, for tonal analysis, for anything that will be adjusted heavily — it has to come from software that demosaics the DNG. Adobe Camera Raw, Lightroom and darktable all read DNG properly and export 16-bit TIFF, which is what that requirement usually names anyway.

Generating a consistent derivative set in one pass

Drop the whole selection, use one maximum width for the set, and take the result as a ZIP. Consistency is the point of doing it in a batch: a collection converted over three sessions with different settings is a collection that has to be regenerated.

PNG encoding at these pixel counts takes real time, considerably more than the JPG route where the preview is copied out without re-encoding. Input files are accepted up to 100 MB each on the free tier, which covers phone and drone DNGs easily and can be tight for 16-bit conversions from high-resolution cameras.

Deriving from restricted material without uploading it

Everything runs in the browser: reading the DNG, locating the preview, encoding the PNG. Nothing is transmitted, which is the difference between a usable tool and an unusable one for anything under an access restriction, a donor agreement or a research approval.

It is verifiable rather than promised. Open the developer tools, watch the network tab through a conversion, or disconnect the machine entirely and convert anyway — the page keeps working because there was never anything for the network to do.

How to make PNG access copies from DNG masters

  1. Drop your DNG masters onto this page, or click to choose them.
  2. Set one maximum width for the whole derivative set — 2,000 pixels suits most viewers.
  3. Download the PNG access copies, or take them as a single ZIP.

DNG vs PNG: a preservation container against an access copy

DNG compared with PNG
DNGPNG
Full nameDigital NegativePortable Network Graphics
File extension.dng.png
Media typeimage/x-adobe-dngimage/png
CompressionLossless — nothing is discardedLossless — nothing is discarded
First published20041996
Published byAdobePNG Development Group
SpecificationISO 12234-4ISO/IEC 15948
LicensingOpen standardOpen standard
Standing todayCurrentCurrent
Bit depth1616
Colour it can describeRGBRGB, greyscale, indexed palette
Largest image2,147,483,647 px per side
Opens in a browserNo browserEvery browser
Considered insteadTIFF, JPGWebP, SVG, JXL

What is lost

PNG has nowhere to put the GPS coordinates, so that goes no further than the DNG. Worth checking before the original is deleted, and worth knowing if the point was to strip it.

What the target format adds

PNG supports transparency and DNG does not. That is room the result has and the original never used — converting does not create a transparent background, it only makes one possible afterwards.

Opening the result

PNG opens in every current browser. DNG has narrower browser support than that. If the file is going onto a web page or into a form, that is usually the whole reason for the conversion.

The usual programs do not overlap: DNG opens in Adobe Lightroom, Adobe Camera Raw and darktable, PNG in Adobe Photoshop, GIMP and Paint.NET — so whoever receives the result needs something from the second list.

What each format is for

The two are aimed at different work: DNG at photography, editing and archiving, PNG at screenshots, line art and logos and the web. That is worth weighing before converting, because the reason one exists is usually the reason the other is awkward.

DNG is Adobe's format, published in 2004. It comes out of Leica, Pentax, Ricoh and phone cameras, plus anything converted. Underneath it is TIFF, which is why a program that has never heard of DNG can sometimes still open one.

PNG comes from PNG Development Group and dates from 1996, specified as ISO/IEC 15948. Adobe Photoshop, GIMP and Paint.NET all read it.

DNG to PNG: questions about derivatives and archives

Are my DNG files uploaded anywhere?

No. This conversion runs entirely inside your browser, so the file never leaves your device. You can confirm it yourself: open the network tab of your browser's developer tools and convert something. You will see the page load, plus the analytics and advertising the site is paid for with — and nothing carrying your file. The engine behind this particular pair is a raw preview extractor, which pulls the JPEG the camera already embedded rather than developing the sensor data; your browser fetches it once and caches it.

Should the access copy be PNG or JPG?

JPG for anything that will be browsed, because the files are a fraction of the size and nobody is measuring pixels. PNG when the derivative itself has to be authoritative — when it will be annotated, compared, re-saved or held to a standard that forbids lossy compression.

Is the PNG a lossless copy of the DNG?

It is a lossless copy of the JPEG preview stored in the DNG, not of the sensor data. The preview was compressed when it was written — by the camera, or by whichever software created the DNG — and PNG preserves it exactly from that point on without recovering anything from before it.

Why is the PNG smaller in dimensions than I expected?

Because a DNG converted from another raw format carries whatever preview the converting software wrote, and Adobe DNG Converter offers medium as well as full size. Camera-native DNG files from a Leica, Pentax, drone or iPhone normally carry a full-resolution preview.

Does the PNG carry the DNG’s metadata?

No. Encoding a PNG means decoding the preview and encoding it again, and the EXIF does not survive that. The authoritative record should come from the DNG and live in the catalogue rather than in the derivative.

Is PNG a good archival format?

It is a reasonable one — an ISO standard, lossless, with a CRC on every chunk so corruption is detectable. But here the DNG is already the archival master, and the PNG is an access copy. If you need a second preservation format rather than an access copy, TIFF is what most standards name and it is available as a target too.

Does any of this leave my machine?

No. The DNG is read, the preview extracted and the PNG encoded in your browser, which is what makes this usable for material under an access restriction.

More about these formats

Where these figures come from

The claims this page makes about DNG and PNG are checkable, and these are the documents that settle them.