Image format

Nikon NEF

Nikon raw capture with camera metadata and model-dependent precision and compression.

Explore the format

About Nikon NEF

Nikon Electronic Format

NEF is Nikon Electronic Format, Nikon’s raw image representation. It stores capture data with camera, lens and exposure information so a raw processor can develop an image after capture. White balance and other rendering decisions can be interpreted later rather than being fixed only in a camera-generated JPEG.

Nikon documents uncompressed, lossless-compressed and compressed modes on different cameras. Documented models can offer 12- or 14-bit recording. These are camera settings, not one universal NEF property; compressed without the word lossless should not be assumed reversible.

Use the raw original for repeated photographic development when exposure interpretation and colour decisions need to remain flexible. Export JPEG for an opaque delivery image or a suitable high-precision raster for further editing. Those exports bake in processing choices and cannot recreate the original sensor data, calibration or all vendor metadata.

Raw development interprets capture values using colour calibration, white balance and a tone curve; mosaiced data also needs demosaicing. A built-in preview is already rendered and can look different from a fresh raw development. More bit depth does not recover clipped exposure or establish a ready-to-display HDR image.

Key capabilities

Compression
Depends on variant
Transparency
No
Animation
No
Extensions
.nef
MIME type
image/x-nikon-nef · Unregistered application convention
Metadata
Capture metadata
Best for
Nikon raw development
Sensor data
Raw development required
Colour depth
12 / 14 bits on documented models

Nikon documents uncompressed, lossless-compressed and compressed modes on different cameras. Documented models can offer 12- or 14-bit recording. These are camera settings, not one universal NEF property; compressed without the word lossless should not be assumed reversible.

History of Nikon NEF

Raw formats evolve alongside camera sensors, recording modes and development software. These milestones connect this format family to the camera and processing workflows that use it.

  1. Nikon digital capture

    Electronic negatives

    Nikon defines NEF as its raw capture format with image data and metadata. Development instructions remain separate from the sensor data, enabling repeated rendering from an original.

  2. 12 / 14 bits

    Recording choices

    Nikon’s documentation describes camera-dependent 12- and 14-bit data and multiple compression choices. This evolution is tied to individual camera capabilities rather than one global NEF revision.

  3. D780 documentation

    Explicit mode definitions

    The D780 manual distinguishes reversible lossless compression from compressed recording. Model documentation provides a more precise basis than assuming all Nikon raw files share one encoding.

Nikon NEF compared

Different formats, different trade-offs. Choose for the image and the workflow.

DNG

Nikon NEF vs DNG

DNG provides a published container for camera raw data and calibration information. It can simplify supported raw interchange, but conversion does not guarantee that every proprietary maker note or processing feature will remain usable.

JPEG

Nikon NEF vs JPEG

JPEG makes a compact photographic delivery file, but ordinary JPEG discards detail and has no alpha. Keep the richer source for editing and use JPEG when the receiving workflow expects an opaque photo.

TIFF

Nikon NEF vs TIFF

TIFF provides tagged raster storage with multiple images and several sample types and compression schemes. It is a useful interchange choice for scanning and high-precision editing, but the receiving tool must support the particular TIFF variant.

PNG

Nikon NEF vs PNG

PNG preserves decoded pixels losslessly and can carry alpha. It is useful for transparent graphics and screenshots; it does not preserve editable document layers or camera sensor data, and photographic files can be large.

Nikon NEF FAQ

What does this format store?

NEF is Nikon Electronic Format, Nikon’s raw image representation. It stores capture data with camera, lens and exposure information so a raw processor can develop an image after capture. White balance and other rendering decisions can be interpreted later rather than being fixed only in a camera-generated JPEG.

How does compression affect quality?

Nikon documents uncompressed, lossless-compressed and compressed modes on different cameras. Documented models can offer 12- or 14-bit recording. These are camera settings, not one universal NEF property; compressed without the word lossless should not be assumed reversible.

Is every NEF losslessly compressed?

No. Nikon offers different modes depending on camera. Read the recording settings and model manual; both precision and compression can vary.

What should I check before opening the file?

Check the exact camera model and recording mode in the processor’s support list. Raw support is model-specific, even when the extension is recognised. Viewing an embedded JPEG preview does not prove the sensor data has been decoded.

What changes when I export to another format?

Raw-to-image export develops the data: white balance, colour mapping and tone become part of the pixels. Grayscale, palette and SDR targets can discard additional information. Keep the original; converting a rendered image back into a raw container cannot reconstruct the capture.

When is this format useful?

Use the raw original for repeated photographic development when exposure interpretation and colour decisions need to remain flexible. Export JPEG for an opaque delivery image or a suitable high-precision raster for further editing. Those exports bake in processing choices and cannot recreate the original sensor data, calibration or all vendor metadata.

Sources