Why Won't My NEF, CR3, or RAF Files Open? Fixes for Windows and Mac
You buy a new camera, connect the card, and your computer shows the files but can't open them. Double-clicking does nothing, or Windows offers to search the Microsoft Store for an app, or macOS Preview shows a grey rectangle where the photo should be. The files are fine — they displayed perfectly on the camera's screen. The problem is that your computer doesn't have the codec for that specific RAW format.
This happens most often right after buying a new camera. The camera is new, the RAW extension might be the same as before (still .NEF, still .CR3), but the internal data structure can differ between camera models. RAW format support is tied to the specific camera model, not just the file extension.
Why RAW files won't open: the codec problem
Unlike JPG or PNG, which are standardised formats that any image viewer can decode, each camera manufacturer's RAW format is proprietary. A .NEF file from a Nikon D850 and a .NEF file from a Nikon Z8 both end in .NEF but may use different internal compression algorithms and data structures. The D850 uses a 45.7MP Bayer sensor with one data layout; the Z8 uses a 45.7MP stacked sensor with a different layout.
Operating systems and software need specific codec support for each camera model. When a new camera launches, there's a lag — sometimes days, sometimes months — before Windows, macOS, Lightroom, and other tools add support for that specific camera's RAW files. During that gap, you're stuck with files you can't open.
The file extension tells your computer "this is a Nikon RAW file" but doesn't tell it how to decode the sensor data inside. That's what the codec provides — the instructions for reading and rendering the specific data format.
Fixes for Windows 10 and Windows 11
1. Install the Microsoft Raw Image Extension. Open the Microsoft Store app, search for "Raw Image Extension" (published by Microsoft Corporation), and install it. This free extension adds RAW thumbnail and preview support for most camera models. It's based on the Windows Imaging Component (WIC) and gets updated periodically when Microsoft adds support for new cameras. It covers Canon, Nikon, Sony, Fuji, Panasonic, Olympus, and many other brands.
2. Install the camera manufacturer's codec. If the Microsoft extension doesn't support your specific camera yet (common for cameras launched in the last 3–6 months):
Canon: Download the Canon RAW Codec from Canon's support site. Alternatively, install Canon's free Digital Photo Professional (DPP), which includes the codec and updates it for every new Canon body.
Nikon: Download Nikon's free NX Studio (replaced ViewNX-i and Capture NX-D). Installing it adds the NEF codec to Windows.
Sony: Sony Imaging Edge Desktop includes an ARW codec for Windows.
Fujifilm: Fuji's X RAW STUDIO or Fuji RAW FILE CONVERTER adds RAF support.
3. Update Windows. Windows updates sometimes include new camera support via Windows Imaging Component updates. Check Settings → Windows Update and install any pending updates.
Restart after installing codecs
The RAW codec won't take effect until you restart File Explorer or reboot. After installing any RAW codec, restart your computer. Thumbnails may take a few minutes to generate the first time for a large folder — Windows caches them in the thumbcache database after the initial render.
Fixes for macOS
Apple builds RAW support directly into macOS through the system's ImageIO framework. Support for new cameras is added via macOS updates (both major releases and point updates).
1. Update macOS. The most common fix. Go to System Settings → General → Software Update. Apple usually adds support for major camera releases within one or two macOS point updates of the camera's launch. For example, a camera launched in January typically gets macOS support by March or April.
2. Check the supported camera list. Apple publishes a list of supported RAW cameras at support.apple.com/en-us/102897 (previously HT211241). If your camera isn't on the list, macOS doesn't support it natively yet and you'll need a workaround.
3. Use the manufacturer's software. Canon DPP, Nikon NX Studio, Sony Imaging Edge, and Fuji X RAW STUDIO all run on macOS and will open their respective RAW formats regardless of macOS version.
4. Use Adobe DNG Converter. Adobe's free DNG Converter turns proprietary RAW files into Adobe DNG format, which macOS Preview and all RAW editors can open. Adobe adds support for new cameras within weeks of launch — usually faster than Apple adds native macOS support. DNG Converter is a batch tool: point it at a folder of proprietary RAW files and it creates DNG copies alongside the originals.
Fixes for specific RAW formats
Canon CR3 won't open — CR3 uses the ISOBMFF container which is a fundamentally different file structure than CR2's TIFF-based container. Lightroom needs version 7.3+; Capture One needs 12.1+; darktable needs 3.6+. See the full CR3 vs CR2 comparison for details on why the formats differ and which software versions support each.
Nikon NEF won't open — usually a camera-model support issue, not a format issue. NEF has been around since 1999 and older NEF files are universally supported. If it's a new Nikon Z-series camera (Z6 III, Zf, or newer), update your software. Nikon's NX Studio (free) always supports the latest Nikon bodies on launch day.
Fujifilm RAF won't open — RAF files from X-Trans sensor cameras require specific demosaicing support because the X-Trans colour filter array is different from the standard Bayer pattern. Some older versions of Lightroom and darktable can open them but produce "worm" artefacts in fine detail areas (grass, fabric textures). Update to the latest version of your editor, or use Capture One which has the best X-Trans processing.
Sony ARW won't open — ARW from newer bodies (A7R V, A7 IV, A7C II, A6700, ZV-E1) may not be supported in older Lightroom/Camera Raw versions. Update Lightroom or use Sony's free Imaging Edge Desktop.
The quick workaround: convert to JPG
If you don't need to edit the RAW files and just want to view or share the photos, convert them to JPG. The iFormat image converter handles all major RAW formats — CR2, CR3, NEF, ARW, RAF, RW2, ORF, DNG — and produces JPGs in the browser. No software installation needed, and it works regardless of what codecs your OS has installed.
This doesn't solve the underlying codec problem, but it gets you working photos immediately while you sort out the codec installation. For a deeper look at the conversion process, see the RAW to JPG conversion guide.
Preventing the problem in the future
Set your camera to shoot RAW + JPG. Most cameras let you write both formats simultaneously — RAW to one card slot and JPG to the other, or both to the same card. The JPGs are always viewable everywhere without any codec. The RAW files are there when you need the editing flexibility.
Keep your OS and editing software updated. RAW codec support for new cameras typically arrives within 1–3 months of the camera's launch. If you're buying a just-released camera, expect to wait a bit for third-party software support — the manufacturer's own free software is always the first to support their new bodies.
Consider Adobe DNG Converter as a permanent part of your workflow. Run it on your RAW files after import, and the resulting DNG files are universally compatible while retaining all the RAW editing flexibility.
Frequently asked questions
My RAW files opened fine before — why did they stop?
A Windows or macOS update may have changed the default application for RAW files, or a codec was removed or overwritten during an update. Reinstall the camera manufacturer's codec and check your default app associations in Settings → Default Apps.
Can I view RAW files in a web browser?
Web browsers don't support RAW formats natively — no browser can display a .NEF or .CR3 file directly. You need to convert to JPG, PNG, or WebP first. The image converter does this conversion in the browser itself — the conversion runs locally, then the browser displays the resulting JPG.
Does installing a codec change my RAW files?
No. A codec is a decoder — it tells your operating system how to read and display the file. Your RAW files are untouched. Installing and uninstalling codecs has no effect on the files themselves. They're read-only decoders.
Why doesn't Windows/macOS just support all RAW formats?
Each camera model can have slightly different data structures within the same file extension. The OS needs to be updated for each new camera model. There are dozens of new cameras launching each year across all manufacturers, and each one may require codec work. It's an ongoing maintenance burden.
Is there one RAW format that works everywhere?
Adobe DNG is the closest thing to a universal RAW format. It's an open standard (Adobe published the specification) supported by all major editors. You can convert any proprietary RAW format to DNG using Adobe's free DNG Converter. The trade-off is that some camera-specific metadata (certain Makernote fields) may not transfer to DNG, though all image data is preserved.
Convert RAW Files to JPG
Open any RAW file — CR3, NEF, ARW, RAF — and get a JPG instantly.