What is a NEF file, and how do you open it or convert it to JPG?
Photographers who want the best possible image quality from their Nikon often end up with files that ordinary software will not open. High-resolution photos with full detail and the ability to adjust them later don’t come from a finished JPEG. Nikon cameras offer a way to keep that quality by recording the raw sensor data instead of locking in the colours and contrast on the spot. The result is a file ending in .nef.
Here is what a NEF file contains, when it is worth keeping, and how to open or convert one without losing the detail the camera recorded.
What is a NEF file?
NEF is Nikon’s raw file (also known as Nikon Electronic Format, with the data straight from the camera’s sensor, saved with almost no processing.
A JPEG from the camera is already a finished photograph. The camera has applied white balance, contrast, sharpening, noise reduction, and your Picture Control, then compressed the result and discarded the rest.
A NEF retains more of the original sensor data, typically 12 or 14 bits per channel rather than the 8 bits found in a JPEG. Many of the camera’s settings are stored as instructions rather than permanent changes. When the file is opened later, software displays one interpretation of the image while the underlying data remains intact. White balance can be altered days afterwards without any loss.
That’s also why NEF files often look a bit flat or dull at first. Nothing has been fully developed yet. Nikon’s own software applies the camera’s Picture Control automatically, so the same file can look more finished in NX Studio than it does in Lightroom.
NEF files are also fairly large, often 20 to 60 MB depending on the camera, and they’re meant for editing, not for sharing. Most websites and everyday apps won’t accept them.
Is NEF the same as RAW?
Not quite. RAW isn’t an actual file format. It’s just a category of unprocessed data from the sensor, and every brand does it their own way. Nikon’s raw file is NEF, Canon’s CR3, Sony uses ARW, Fujifilm records RAF, and Panasonic uses RW2. They’re all raw files, but none of them are interchangeable.

Even two Nikon cameras can make NEF files that act differently, especially if one is much newer. Recent models have high-efficiency versions (labeled HE or HE*) that compress more aggressively. Nikon’s own documentation says Microsoft’s Raw Image Extension doesn’t support those, and a lot of third-party editors need an update before they’ll open files from a brand-new camera.
That’s the most common reason a NEF from your new camera won’t open in software that worked fine with your old one. The software just doesn’t know that particular version yet.
Why does my camera save both a JPG and a NEF?
Your Nikon camera is set to RAW+JPEG mode, which means for every picture you take, you get a finished JPEG that can be used immediately and the NEF that preserves the original sensor data.
While it can be great if you want to edit your photo later, the setting takes additional space on the memory card and twice the number of files to manage.
The good news: you can always change the image quality setting in the camera menu. Keep the NEF if editing is planned, keep the JPEG if the priority is volume and files that are ready to use. The bad news: deleting the NEFs and retaining only the JPEGs is permanent, so confirm the choice before clearing the card.
Is NEF better than JPEG?
The answer depends on the intended use of the photograph. Let’s have a look:
|
NEF |
JPEG |
|
|
Colour depth |
12 or 14 bits per channel |
8 bits per channel |
|
Editing headroom |
Large |
Limited |
|
White balance |
Changeable afterwards with no penalty |
Baked in |
|
File size |
20 to 60 MB |
3 to 10 MB |
|
Opens anywhere |
No |
Yes |
|
Quality loss on save |
None, edits stay separate from the file |
A little, every time you re-save |
|
Best for |
Shooting, editing, archiving |
Sharing, uploading, printing, sending |
The biggest difference between NEF and JPG is how much you can fix later. A JPEG that’s too dark is often unusable, because the camera has already thrown away the detail in the shadows. The same shot saved as a NEF can usually be brightened without looking ruined.
If you never edit your photos, you don’t need to store NEF files that are several times larger for no reason. Shoot raw if you plan to work on the images later.
How to open a NEF file
On Windows, download the free Raw Image Extension from the Microsoft Store. You’ll be able to see thumbnails and previews in Photos and File Explorer.
On macOS, Preview, Photos, and Quick Look open Nikon raw files without additional software. Support for a newly released camera model usually arrives in a subsequent system update.
Nikon’s free program, NX Studio, works on both Windows and Mac. It replaces the older ViewNX-i and Capture NX-D tools. It’s the safest choice if you want the file to look the way the camera intended, because it reads Nikon’s Picture Controls and the newest raw variants correctly. You can also export from it to JPEG, TIFF, or HEIF.
Most other photo editors can open NEF too, including Lightroom, Camera Raw, Capture One, darktable, and RawTherapee. Adobe tools sometimes lag behind new cameras: a new Nikon body comes out, Camera Raw hasn’t been updated yet, and older versions of Photoshop or Elements can’t open the files. Adobe’s free DNG Converter is the usual workaround, it turns the NEF into a more generic raw format that older software can read.
How to convert a NEF file to JPG
If the photo will be edited, convert it at the very end of your workflow. Open the NEF in NX Studio, Lightroom, or another raw editor, edit, then export to JPEG. This preserves the ability to refine exposure, colour, and detail before any information is locked. Export at high quality for printing, or approximately 80% quality for web use.
If you just need usable files quickly, use Documents.io’s browser converter. Drop the files into the NEF to JPG converter and download the results. This method is great when you don’t need any extra editing: preparing a contact sheet, uploading to a site that rejects raw files, emailing photographs to family, or delivering a batch to someone without photo software. It also works on a phone or a work laptop where software installation is restricted. Plus, Documents.io doesn’t store your files (only up to 4 hours in case you don’t have an account), so you can be sure your files are secure.

A straight photo conversion gives you the image more or less as the camera captured it, without the extra work a raw editor would let you do. That’s exactly what you want for a quick batch. For your best shots, edit first.
Whichever way you go, keep the original NEF files. A JPEG is a flattened copy, and you can’t turn it back into a raw file later. Storage is cheap compared with reshooting.
FAQ
Is NEF the same as RAW?
NEF is Nikon’s implementation of raw. Raw is a category, and each manufacturer maintains its own incompatible format.
Is NEF better than JPEG?
NEF is better for editing, but not for sharing. NEF retains substantially more recoverable detail. JPEG opens on any device and occupies far less space.
Why won’t my new camera’s NEF files open?
The software is probably older than the camera. Update it, use NX Studio, or process the files with Adobe’s free DNG Converter.
Can I edit a NEF file directly?
Not by modifying the pixels themselves. Raw editors record adjustments separately and apply them on export, leaving the original file unchanged.
Do I need a NEF file viewer?
Only if the operating system cannot preview the files. You can use NX Studio, as it works as both a viewer and a converter, plus it’s free.
What is the best way to convert NEF to JPG?
For a quick conversion without installing software, Documents.io’s image converter is the best option. It works in any browser and on any device for free (a user gets up to 10 conversions on a basic plan).
Can I convert NEF files on my phone?
Yes. Documents.io’s browser converter works on phones and tablets.
Latest posts
Glossary
What is a DOC file, and how do you open one?
Learn what a DOC file is, how it differs from DOCX, and how to open, view, and edit DOC files on Mac, Windows, iPhone, and iPad.
Glossary
What is an MXF file, and how do you open one?
Learn what an MXF file is, how to open and play MXF files on Mac, Windows, iPhone, and iPad, and how to convert them to MP4.
Glossary
What is an XLS file, and how do you open one without Excel?
Learn what an XLS file is and how to open, view, and edit XLS spreadsheets without Microsoft Excel on Mac, Windows, iPhone, and iPad.