Last updated
A Nikon NEF file holds the picture your sensor saw and a record of how and when it was taken: the capture time, the camera firmware, any owner or copyright text you set in the menu and, on bodies with GPS, the position. A NEF metadata remover deletes those fields and leaves the sensor data, the previews and Nikon’s maker notes exactly as they were. It does not remove Nikon’s serial number, and this page explains why, because that is the one thing about NEF files you should know before you rely on any cleaner. Nikon RAW files are processed on our server and deleted within minutes.
What a Nikon RAW file carries
| Where | Tags | What they reveal |
|---|---|---|
| IFD0 and EXIF | Software (the camera firmware), Artist, Copyright, UserComment, DateTimeOriginal, CreateDate, ModifyDate | The firmware version, a name or note, and when the picture was taken |
| Nikon maker notes | SerialNumber, ShutterCount, white balance, lens data, shot settings | The individual camera, how much it has been used, and how it was set up |
| GPS | Latitude, longitude, altitude, time | Where the picture was taken, on bodies with GPS or a connected unit |
| Previews | A JPEG preview and, in many files, a larger JPEG inside the raw directory | Small pictures that may or may not carry their own metadata |
| XMP and IPTC | Keywords, captions, ratings | Added by editing software, not by the camera |
Why Nikon’s serial number stays
Nikon encrypts parts of its maker notes, among them white-balance and lens data, and uses the camera’s serial number and shutter count as the keys. ExifTool’s documentation describes the serial number as a key for decrypting other maker-note information, and says that writing a new serial number makes ExifTool re-encrypt that information with the new key.
That works for ExifTool. Other RAW converters read the same two values to decode the same data, and we cannot confirm that they would follow a changed or missing serial number. Getting that wrong would leave a file that opens with the wrong white balance or without its lens information, which is a worse outcome than a serial number that stays. So the tool leaves SerialNumber and ShutterCount alone, removes everything else, and names the serial number in the report as the one field left. A NEF therefore finishes as “1 field left” rather than “verified clean”.
What we found in a real Nikon file
The sample is a public CC0 file from raw.pixls.us, a D40 NEF of 5.8 MB, run through the production cleaner and checked independently with ExifTool.
- Found: the firmware string in
Software, three dates and the serial number. The date of capture was also stored in a second, misplaced place in the first directory, which made ExifTool warn about a wrong directory. That copy was removed too, and the warning is gone. - Removed: the firmware string and every date.
- Left, and named:
SerialNumber. The shutter count also stays, as it is not on the list of fields we remove. - The raw data and both JPEG previews were identical byte for byte before and after.
- Nikon’s maker notes read the same: all 82 tags, including the white-balance levels and the lens data that the serial number unlocks, were unchanged.
- ExifTool’s validation reported the cleaned file as OK.
- The file used Nikon’s lossy raw compression. That data is copied untouched, like any other.
The previews in this file carried no personal tags, so they were left as they were. If a preview does carry a copy of the camera’s metadata, the tool rewrites it without that metadata, as it did for a phone RAW file we tested, or removes it when the format does not allow the rewrite.
What is removed, and what stays
| Removed | Kept |
|---|---|
| All GPS tags | Camera make and model, lens information |
| Capture, creation and modification dates | Exposure, white balance and shot settings |
Software (firmware), Artist, Copyright, UserComment | Nikon’s maker notes, including SerialNumber and ShutterCount |
| XMP and IPTC | The raw sensor data and the previews |
| Personal tags inside embedded previews | The colour data a converter needs to develop the picture |
Stop it at the source
- In the camera menu, leave copyright information empty unless you want a name in every file.
- If your camera has GPS, or takes location from a paired phone, switch that off when you do not need a geotag.
- Remember that the serial number is written into every file, so a public RAW from your camera can be tied to it, and a file you share should be treated that way.
Clean a Nikon RAW file in four steps
- No account needed to start. Guests can clean 5 RAW photos a month, a free account 10.
- Add the NEF. Drag it anywhere on the page. NRW files from compact cameras work too.
- Wait for the clean. The server removes the fields, deals with the previews and scans the result.
- Read the report. It names anything left. For a Nikon file expect
SerialNumber, and no more than that.
The size limit is 25 MB for guests, 25 MB on a free account, 100 MB on Starter, 500 MB on Pro and 1,000 MB on Business. The small D40 file above fits a free account, while NEF files from recent bodies often run well beyond 25 MB. The original is deleted as soon as cleaning finishes, and the clean copy is kept for at most 15 minutes. See pricing.
exiftool -a -G1 -s -SerialNumber -ShutterCount -artist -copyright -software -alldates -gps:all clean.nefThe RAW photo metadata remover page covers every format, and the CR2, ARW and DNG pages describe what we found in Canon, Sony and DNG files.
Frequently asked questions
Why does my NEF say “1 field left”?
The field is Nikon’s serial number. Nikon uses it, with the shutter count, as a key for the encrypted part of its maker notes, so we leave it in place and name it in the report instead of risking a file that decodes wrongly.
Does the serial number identify me?
It identifies your camera, not you by name. Anyone who has your camera’s serial number from one source, for example a purchase record or a registered warranty, can match it to files that carry the same number.
Does cleaning change my white balance or lens corrections?
No. Nikon’s maker notes are left alone. In our test every one of the 82 Nikon tags, including the white-balance levels and lens data, read the same before and after.
Is the shutter count removed?
No. It is a decryption key, like the serial number, and is left alone. It describes how much the camera has been used rather than who owns it.
Does it change the NEF image data?
No. We compared the raw data and both JPEG previews of a real NEF before and after cleaning and they were identical byte for byte.
Will it remove GPS from my NEF?
Yes, the whole GPS block is removed, along with dates, firmware text and any artist, copyright or comment fields. The Nikon file we tested had no position recorded, and GPS removal was checked on a phone RAW file.
Is my NEF uploaded?
Yes. RAW needs ExifTool, so the file is uploaded over HTTPS to our server. The original is deleted when cleaning finishes and the clean copy within 15 minutes. We never open the picture.
Does it work with NRW files?
Yes. NRW files from Nikon’s compact cameras are accepted and handled the same way.