Image Converter

Convert PNG to NEF

Looking to turn a PNG into a NEF file? Here's the honest answer — and what actually works instead.

You can't convert PNG to NEF. NEF is a camera's own RAW format — it only ever comes out of the camera.

Why PNG to NEF isn't possible

1

NEF is Nikon's in-camera RAW

NEF is the raw sensor data a Nikon camera writes at the moment of capture. It's produced by the camera's own hardware and firmware — software can read it, but nothing can manufacture a genuine NEF from a finished PNG.

2

A PNG has already been processed

Your PNG is a developed, final image. The extra sensor information a NEF carries — wider dynamic range, full color depth, untouched highlights — was discarded when the photo was first saved, and can't be put back.

3

It is locked to one camera maker

NEF is proprietary to Nikon. Even other RAW formats (NEF, ARW, RAF…) aren't interchangeable with it — there is no universal "save as RAW" that produces a real NEF.

The RAW formats — and where they come from

Every real RAW file is one of these camera-maker-specific formats, written by the camera itself:

Format details

What is a PNG file?

PNG is a lossless raster format with full transparency. It keeps every pixel intact, making it ideal for logos, icons, screenshots and graphics with sharp edges.

Full name
Portable Network Graphics
Developed by
PNG Development Group
Released
1996
Extension
.png
MIME type
image/png
Transparency
Yes

How to open PNG opens in every browser and image viewer, plus Photoshop, GIMP, Preview and Photos.

Full PNG format guide

What is a NEF file?

NEF is Nikon’s raw photo format, preserving all sensor data so you can adjust exposure and white balance without quality loss.

Full name
Nikon Electronic Format
Developed by
Nikon
Released
1999
Extension
.nef
MIME type
image/x-nikon-nef
Transparency
No

How to open NEF opens in Nikon NX Studio, Lightroom, Photoshop and most raw editors.

Full NEF format guide

What you can do instead

Frequently asked questions

Can any tool convert PNG to NEF?
No. NEF stores the raw signal a Nikon sensor recorded at capture. A PNG is a finished image with that data already baked in and discarded — there's nothing for a converter to reconstruct.
Why would I want NEF anyway?
RAW formats like NEF give maximum editing latitude — but only when they come straight from the camera. Converting a PNG to NEF would just wrap a finished image in a RAW container, with none of the benefits.
Is DNG different?
DNG is an open RAW container. You can convert a camera's own RAW (including NEF) into DNG, but you still can't turn a regular PNG into NEF or any real RAW.
What can I convert my PNG to instead?
PNG converts cleanly to PNG, JPG, TIFF and WEBP — free, no sign-up, no watermark.