Image Converter

Convert JPG to NEF

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

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

Why JPG 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 JPG.

2

A JPG has already been processed

Your JPG 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 JPG file?

JPG (JPEG) is a lossy raster format that compresses photographs into small files by discarding detail the eye barely notices — the most widely used photo format on the web and in cameras.

Full name
Joint Photographic Experts Group
Developed by
JPEG Group
Released
1992
Extension
.jpg
MIME type
image/jpeg
Transparency
No

How to open JPG opens in every browser, image viewer and editor with no special software.

Full JPG 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 JPG to NEF?
No. NEF stores the raw signal a Nikon sensor recorded at capture. A JPG 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 JPG 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 JPG into NEF or any real RAW.
What can I convert my JPG to instead?
JPG converts cleanly to PNG, JPG, TIFF and WEBP — free, no sign-up, no watermark.