NEF to PNG Converter
Develop a Nikon NEF raw photo into a lossless PNG, right in your browser.
or drop files here
NEF Format
Nikon Electronic Format
The raw image format of Nikon digital cameras. It stores unprocessed sensor data in a TIFF-based file, with an embedded JPEG preview.
- unprocessed sensor data
- TIFF-based structure
- embedded JPEG preview
PNG Format
Portable Network Graphics
A lossless raster format for rendered images, with support for alpha transparency and multiple channel precisions.
- lossless pixel compression
- alpha transparency
- 8-bit and 16-bit channels
How to convert NEF to PNG
Follow these steps to convert NEF to PNG online.
Choose your NEF file, or several at once.
Wait while the converter turns each file into PNG.
Download each new PNG file. Your original file isn't changed.
Related Tools
NEF to JPEG
Convert NEF to JPEG format
NEF to PAM
Convert NEF to PAM format
NEF to PBM
Convert NEF to PBM format
NEF to PCX
Convert NEF to PCX format
NEF to PDF
Convert NEF images to PDF format
NEF to PGM
Convert NEF to PGM format
NEF to PPM
Convert NEF to PPM format
NEF to PSD
Convert NEF to PSD format
NEF to SVG
Convert NEF to SVG format
NEF to TIF
Convert NEF to TIF format
NEF to TIFF
Convert NEF to TIFF format
NEF to WebP
Convert NEF to WebP format
JIF to PNG
Convert JIF to PNG format
JPEG to PNG
Convert JPEG to PNG format
KTX2 to PNG
Convert KTX2 to PNG format
MAC to PNG
Convert MAC to PNG format
Markdown to PNG
Convert Markdown to PNG online
PAM to PNG
Convert PAM to PNG format
PES to PNG
Convert PES to PNG format
PPT to PNG
Convert PPT to PNG format
TGA to PNG
Convert TGA images to PNG format
TIF to PNG
Convert TIF images to PNG format
XCF to PNG
Convert XCF images to PNG format
XLSX to PNG
Convert XLSX to PNG: a picture of each sheet's cells, numbers and dates as Excel shows them, the first row as the header. Hidden sheets, rows and columns, charts and pictures aren't drawn.
What to know before converting NEF to PNG
- The raw sensor data is developed into pixels. The PNG can't be re-developed.
- Nikon's High Efficiency RAW (HE and HE*) files can't be decoded here.
- Keep the NEF as the record of the camera settings.
- PNG is lossless, so the file is large compared with a JPG.
About NEF files
What is a NEF file?
Nikon cameras write raw photos as NEF, short for Nikon Electronic Format. The file keeps the captured sensor data with camera and lens details, in a TIFF-based structure that includes a JPEG preview. Precision is 12-bit or 14-bit depending on the body, and the data is stored uncompressed or with lossless compression.
Nikon explains that choices such as white balance, hue, tone and sharpening can be kept as processing instructions rather than applied to the sensor values. A raw developer reads those instructions and renders a visible photograph. So converting NEF to PNG means developing the photo, not only changing the container. PNG is a finished picture that opens anywhere, but exposure and color have to be decided before its pixels are written.
A different developer can render the same NEF differently, so the PNG you get is one interpretation of the capture. Your NEF remains the original, and converting never changes it.
Tone matters most. A NEF holds 12-bit or 14-bit data, so a developer decides which part of the range becomes shadows, midtones and highlights. If a PNG looks flat or too dark, that is the development choice and not damage to the file.
Programs that open NEF files
- Windows and Mac: Nikon NX Studio, the company's software for viewing and developing its raw photos.
- Mac, Windows and Linux: ImageMagick reads NEF.
- Linux: XnView MP opens NEF files and needs no payment for private or educational use.
Adobe Lightroom, Adobe Photoshop and darktable also open NEF.
NEF and PNG compared
- Extensions and media types: .nef; .png, image/png.
- Content: unprocessed sensor data in a NEF, a finished pixel image in a PNG.
- Precision: a NEF's bit depth depends on the camera. PNG supports 8-bit and 16-bit channels.
- Compression: PNG is lossless for the pixels it is given. NEF is uncompressed or losslessly compressed.
- Transparency: PNG supports alpha transparency, though a camera photo has none.
- Standard: PNG is both ISO/IEC 15948 and a W3C Recommendation.
This page reads the NEF with ImageMagick compiled to WebAssembly, using its bundled LibRaw decoder, and writes the PNG directly. It reads one picture and sets no quality value. Nothing is stripped on purpose. A file the decoder can't handle, such as a High Efficiency RAW from Nikon or a damaged one, ends with a message about RAW compression.
PNG's lossless compression applies to the pixels it receives. It can't undo choices made during demosaicing or color conversion. A lossless output and a reversible workflow are separate things, so keep the NEF.
Size follows from that. A PNG of a full-resolution Nikon photo stores every pixel, so the file can be large. Pick PNG when you want a lossless copy of the developed picture for editing or for a document, and the lossy JPG when you want something to share.
Other ways to convert NEF to PNG
- darktable (Windows, Mac, Linux): first develop the NEF, then open the export module. Under target storage pick "file on disk", set the format to PNG, then press start export. darktable lists export to PNG among its features and NEF among the raw formats it imports.
- ImageMagick (command line): run
magick photograph.nef photograph.png. ImageMagick lists NEF as a format it reads and PNG as one it reads and writes, and its docs show the same input-then-output form. - NX Studio and GIMP: in NX Studio, select the photo and use Export to save a TIFF. NX Studio's saving options include TIFF but not PNG. Then open that TIFF in GIMP, use File > Export As and save it as PNG; GIMP shows its PNG Export dialog.
Problems with NEF files
- An unreadable result: the raw decoder may not support that camera or compression. Try an updated raw developer such as darktable.
- "Compression can't be decoded" message: the message points to Nikon's High Efficiency RAW, or a damaged file. Open it in a Nikon-supported raw developer, or get another copy.
- The PNG does not match the preview: the development differs. Compare exposure, white balance and color in a raw developer instead of re-encoding the PNG.
- The PNG is huge: lossless compression doesn't promise a small file. Use the NEF to JPG converter if size matters.
- Camera details are missing: the NEF holds the camera and lens details and a PNG may not. Keep the NEF as the record.
Frequently Asked Questions
Everything you need to know about our converter
How do I convert a Nikon NEF to PNG?
Is converting NEF to PNG lossless?
Can I still change white balance and exposure on the PNG?
Why does it say the RAW compression can't be decoded?
Why does the PNG not match the preview on my camera?
Is the PNG much bigger than the NEF?
Does the PNG keep the camera and lens details?
Which Nikon cameras work?
Can I convert a batch of NEF files?
Is there a size limit for a NEF?
Browse All Tools
Browse by category instead of one giant mixed list.
Convert Tools
Convert image, audio, video, document, and data files directly in your browser.