The Vacation Photos That Won't Open
You just got back from a trip, or a wedding, or a shoot you were excited about. You pull the SD card out of the camera, plug it into your laptop, and open the folder. And there they are — 400 files called things like `IMG_4821.CR2` or `DSC_0097.NEF` — showing up as blank gray icons, or worse, as files that pop up an error the moment you double-click them: *"Windows can't open this file"* or *"The file could not be opened. It may be in a format Preview doesn't recognize."*
Your heart sinks a little. The photos are *right there*. The camera clearly took them. So why won't your computer show them?
The good news: your photos are fine. Nothing is corrupted, nothing is lost. You've just run into the single most confusing thing about modern cameras — the RAW file — and once you understand what it is, the fix takes about thirty seconds.
What a RAW File Actually Is
When your phone takes a photo, it hands you a finished `.jpg`: processed, color-corrected, sharpened, and compressed into a small file any device on earth can open. It's a photograph.
A RAW file is not a photograph. It's the unprocessed sensor dump — everything the camera's image sensor recorded at the instant you pressed the shutter, with no processing applied. No color balance baked in, no sharpening, no compression. It's the photographic equivalent of a film negative: it holds enormous amounts of information, but it isn't a viewable picture yet. Something has to *develop* it first.
That's the trade cameras make on purpose. By saving everything the sensor saw, a RAW file gives you vastly more room to recover blown-out skies, rescue shadows, and fix white balance after the fact than a JPEG ever could. Professionals shoot RAW for exactly this reason. The cost is that a RAW file is big, slow, and — critically — not a standard image format your operating system knows how to display.
Why CR2 and NEF Are the Same Problem Wearing Different Hats
Here's where it gets more confusing: there is no single "RAW" format. Every camera manufacturer invented its own, and they don't talk to each other.
They're all doing the same job — storing unprocessed sensor data — but each is a proprietary dialect tied to specific camera models. That's why a file that opens fine on the photographer's editing machine throws an error on your laptop: your computer simply doesn't have the decoder for *that manufacturer's* flavor of RAW, especially if the camera is newer than your operating system.
So when you see `.CR2` or `.NEF` and nothing opens it, you're not looking at a broken file. You're looking at a format your computer was never taught to read.
Why You Can't Just Rename It to .jpg
The tempting shortcut — rename `IMG_4821.CR2` to `IMG_4821.jpg` and hope — does not work, and it's worth understanding why, because it's the same reason a lot of file-conversion myths fall apart.
A file extension is just a label. It tells your computer which program to *try*, but it doesn't change what's actually inside the file. Renaming a RAW file to `.jpg` is like putting a "French" sticker on a book written in Japanese — the label says one thing, the contents are still something else entirely, and the first app that tries to read it as a JPEG immediately chokes on data that isn't JPEG data.
To get a usable photo, the RAW data has to be genuinely *decoded and developed* into a standard format — not relabeled. That's what conversion actually does.
The Fix: Convert RAW to JPG (or PNG)
The reliable path is to convert your RAW files into a normal, universal image format. For almost everyone, that means JPG — small, instantly openable, and perfect for sharing, printing, or uploading.
If you want to keep editing the photo and care about preserving maximum quality between steps, convert to a lossless format instead of JPEG — but for the overwhelmingly common case of "I just need to see and send these photos," JPG is the right answer. One conversion and your gray blank icons turn into actual pictures.
Should You Even Be Shooting RAW?
If RAW is this much trouble, why not just set the camera to JPEG and skip the whole dance?
It depends entirely on what you're doing:
The mistake isn't shooting RAW. It's shooting RAW without knowing you'll need to develop the files before anyone — including you — can open them.
A Few Things That Trip People Up
Bottom Line
A RAW file — whether it's a Canon `.CR2`, a Nikon `.NEF`, or any of the dozen other flavors — isn't a broken photo and it isn't a photo at all. It's an undeveloped negative, packed with information but waiting for something to turn it into a viewable image. Your computer throws an error not because anything went wrong, but because it was never handed the decoder for that camera's format.
So don't panic, and definitely don't rename the file and hope. Just develop it: CR2 to JPG for Canon, NEF to JPG for Nikon, or RAW to JPG for everything else. Thirty seconds later, those blank gray icons are the photographs you actually took.
The pictures were never lost. They were just still in the darkroom.