The Embedded JPEG Preview Inside Every RAW File, Explained
Here's a fact that surprises a lot of photographers: a RAW file is not only raw data. Nearly every camera also renders a normal JPEG at the moment of capture and tucks it inside the RAW file. This embedded preview explains a lot of otherwise-mysterious behavior.
Why cameras embed a JPEG
The camera's rear screen and playback zoom need something viewable instantly; rendering raw data on every review would be too slow. So the camera saves a ready-made JPEG, processed with your current settings — Picture Style, white balance, contrast, lens corrections, film simulation — alongside the sensor data. Many files contain two or three versions: a tiny thumbnail, a medium preview, and sometimes a full-size one.
Things it explains
- "My photo changed when Lightroom finished loading." Lightroom showed the embedded preview first, then replaced it with its own rendering. See why RAW looks different from the camera.
- "My drone DNG is only 960 pixels." The viewer is showing a small preview. See DJI DNG to JPG.
- "Thumbnails appear instantly in culling apps." Tools like Photo Mechanic and FastRawViewer display the preview rather than developing the raw data.
How big is the preview?
| Source | Typical largest preview |
|---|---|
| Canon CR2 / CR3 | Full resolution |
| Nikon NEF | Full resolution on most bodies |
| Pentax PEF, Leica DNG | Full or near-full resolution |
| Fujifilm RAF | Large; varies by model |
| Sony ARW, Olympus/OM ORF, Panasonic RW2 | Often smaller than full resolution on some models |
| iPhone ProRAW | Full resolution |
| DJI drones, many Android phones | Small (around 960–1280 px) |
Exact sizes vary by model and firmware. Run exiftool -preview:all file to see what yours contains.
Is it good enough to use?
When it's full size, yes — it's a high-quality JPEG straight from the camera, identical to what you'd get shooting RAW+JPEG at the matching settings (often at slightly higher compression than the camera's "Fine" JPEG). For screens, social media, client proofs and most prints, nobody can tell the difference.
What it can't do is change: white balance, exposure and Picture Style are baked in. If you need to edit, develop the RAW.
Extracting previews in bulk
- In a browser: BatchRAW finds the largest valid preview in each file, applies the correct orientation, and gives you a ZIP. Nothing is uploaded.
- On the command line: ExifTool or
dcraw -e. See the ExifTool guide.
Convert RAW files to JPG in your browser. BatchRAW is free, needs no install or account, and your files never leave your device. Drop a whole folder and get a ZIP of JPGs back.
Open BatchRAW →Why this means RAW+JPEG is often unnecessary
If your camera embeds a full-size preview, the JPEG half of RAW+JPEG is largely duplicated. See is RAW+JPEG worth it?