.RAW

RAW File

Raw Camera Image
Ask a question
QUICK ANSWER

A .raw file is most often an unprocessed photo straight from a digital camera sensor - a "digital negative" used by Panasonic, Leica, Contax, Casio, and others. Open and develop it free with darktable or RawTherapee, or paid with Adobe Lightroom. Note that .raw is an overloaded extension: it can also mean raw PCM audio or a raw disk image, which a photo app will not open.

Developer: various camera makers (no single owner) Category: Camera Raw Files MIME: image/x-raw
OPENS ON Windows macOS Linux
Related: .CR2 · .NEF · .ARW · .RW2

On this page

19k+ extensions indexed
Last reviewed Jul 14, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the RAW file format?

.raw (Raw Image Data) is one of the most popular file formats for minimally processed images captured by digital cameras. A .raw file stores image data recorded by the camera's sensor directly, with little or no in-camera processing applied.

RAW graphics files are widely considered the best format to store photographic images, because the format preserves raw sensor data with no lossy compression and no destructive in-camera processing, resulting in high-fidelity files. Users can adjust the image for exposure, white balance, and many other aspects non-destructively using professional editing software.

.raw files are characterized by a wide tonal spectrum, absence of lossy compression (some variants use lossless compression internally), and 12- or 14-bit per channel depth - compared to JPEG's 8 bits per channel. This additional bit depth gives editors significantly more latitude to recover highlights and shadows. .raw files are sometimes described as the digital counterpart of a film negative.

Because .raw files store unprocessed sensor data, they can be quite large. They tend to be significantly larger than JPEG files and roughly comparable in size to TIFF files, though losslessly compressed variants can be noticeably smaller.

Almost all digital camera manufacturers use their own proprietary RAW formats rather than the generic .raw extension. Canon uses .CR2 and the newer .CR3, Nikon uses .NEF, Olympus uses .ORF, Sony uses .ARW, and Fujifilm uses .RAF. The literal .raw extension is used by a smaller group of manufacturers including Panasonic (older models), Leica, Contax, Casio, and Phase One medium-format camera backs.

Security & safety

RISK: LOW

A camera .raw is passive image data - sensor values and metadata, no executable code - so opening one is safe. Cautions are non-malware: raws are large and often proprietary, so back up originals and consider DNG for longevity; and EXIF/maker metadata (camera, sometimes GPS, timestamps) travels with the file - strip it before publishing if privacy matters. Separately, be aware a .raw might NOT be a photo at all (raw audio, raw disk image); don't force a photo app on a mismatched file.

Format details

in a nutshell
FULL NAMERaw Camera Image
DEVELOPERvarious camera makers (no single owner)since 1990s-2000s (used literally as .raw by several camera/scanner makers)
MIME TYPEimage/x-raw
TYPEunprocessed digital camera sensor image data (binary, vendor-specific)
This extension is also used by…
  • Raw audio (headerless PCM) - A .raw file can be uncontainerized PCM audio - raw sample values with no header (sample rate/bit depth must be supplied manually); open in Audacity via Import → Raw Data.
  • Raw disk / memory image - Forensics and virtualization tools produce .raw (a.k.a. .dd/.img) bit-for-bit disk or RAM dumps - not an image you can view in a photo app.
  • Raw binary / 3D voxel data - Scientific and 3D tools export plain .raw arrays of bytes (e.g. volumetric voxel grids); meaning depends entirely on the producing application.

Programs that open RAW files

Windows5 apps
darktable Open-source Free Lightroom-style raw developer; import the .raw, edit exposure/white balance non-destructively, export JPG/TIFF.
RawTherapee Open-source Free, powerful raw processor; open the .raw and develop/export. Strong demosaicing for many cameras.
Raw Image Extension (Microsoft Store) Free Install from the Microsoft Store so File Explorer and Photos can show raw thumbnails/previews (covers many camera raw types).
Adobe Lightroom / Photoshop (Camera Raw) Paid Import the raw; Camera Raw develops it. Industry standard, subscription-based.
IrfanView (+ RAW plugin) Free Fast viewer; with its RAW plugin it displays many .raw files and batch-converts to JPG.
macOS3 apps
Adobe Photoshop Lightroom Paid Open the raw via Camera Raw to develop and export.
darktable Open-source Free raw developer for Mac; import, edit and export JPG/TIFF.
Apple Photos / Preview Built-in macOS has broad built-in raw support - double-click to preview, or import into Photos to view/edit.
Linux3 apps
darktable Open-source The go-to free raw developer on Linux; import the .raw, edit, export.
RawTherapee Open-source Open the .raw to develop with fine control; export JPG/TIFF.
GIMP (+ darktable/RawTherapee plugin) Open-source GIMP opens raw via its darktable/RawTherapee loader, then edits as a normal image.

Technical details

deep spec
MIME typeimage/x-raw
Format typeBinary, vendor-specific; no single universal layout across all .raw files
Magic bytesNo universal file signature; TIFF-based variants use standard TIFF byte-order markers (II or MM)
Bit depth12 or 14 bits per channel (sensor raw data); some medium-format variants store 16 bits
Color filter arrayBayer RGGB mosaic (most cameras); X-Trans mosaic in some Fujifilm-based .raw variants
DemosaicingRequired - pixel data is stored pre-demosaic; software must interpolate full-color pixels from the CFA grid
CompressionRanges from none (bare pixel dump) to lossless, depending on the variant
White balanceStored as multiplier coefficients in file metadata; applied non-destructively in post-processing
Color spaceSensor-native linear light; no ICC profile embedded in the raw pixel data itself
Known .raw extension usersPanasonic (older models), Leica, Contax, Casio, Phase One medium-format backs, certain Nikon film scanners
Embedded metadataEXIF and MakerNote blocks present in TIFF-based variants
Processing libraryLibRaw (actively maintained) and the legacy dcraw utility parse most .raw variants
Typical file size10-30 MB per frame, varying with sensor resolution and compression method
Dynamic rangeTypically 12-14 stops of captured tonal latitude, sensor-dependent
Released1990s-2000s (used literally as .raw by several camera/scanner makers)
Specificationwww.libraw.org

RAW conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with RAW files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about RAW files.

Frequently asked questions

How do I open a .raw photo file?
Use a raw developer: the free darktable or RawTherapee (Windows/Mac/Linux), or Adobe Lightroom/Photoshop (paid). On Windows, install the free Raw Image Extension from the Microsoft Store to see thumbnails; macOS supports many raws natively in Photos/Preview.
What program opens RAW files for free?
darktable and RawTherapee are free, open-source raw editors that open and develop most camera raws. IrfanView (with its RAW plugin) is a fast free viewer/batch converter.
How do I convert a RAW file to JPG?
Open it in darktable, RawTherapee or IrfanView, adjust exposure/white balance, then Export/Save As JPEG. These tools batch-convert whole folders of raws to JPG.
Why won't my .raw file open / show a thumbnail?
Raw isn't decoded out of the box and .raw is vendor-specific. On Windows install the Raw Image Extension; if a generic raw editor still can't read it, the file may be a different .raw type (e.g. raw audio or a disk image) rather than a photo.
Is .raw always a photo?
No - .raw is an overloaded extension. Besides camera images it can be headerless PCM audio (open in Audacity via Import Raw Data) or a raw disk/RAM image (.dd/.img) used in forensics/VMs. Identify which kind you have before choosing a program.
Should I convert my RAW files to DNG?
DNG is an open, well-documented raw format good for long-term archiving and broad app support. Converting with the free Adobe DNG Converter is optional - many photographers keep the original raw as the master and use DNG for archiving.
RAW vs JPEG - which is better?
For editing, raw - it keeps the full unprocessed sensor data, giving far more latitude to recover highlights/shadows and fix white balance. JPEG is smaller and ready to share but already processed and compressed. Shoot raw, then export JPEG.

References

1Adobe - Digital Negative (DNG) open raw formathelpx.adobe.com
2LibRaw - open raw decoding library (supported cameras)www.libraw.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.MDMarkdown Document
4.BINCD/DVD Disc Image (BIN/CUE)
5.NOMEDIAAndroid No-Media Marker File
6.PARTPartial Download File
7.RPMSGRestricted Permission Message
8.EXEWindows Executable (Portable Executable)
9.AVIFAV1 Image File Format (AVIF)
10.DBSQLite Database File

Related extensions

.CR2Canon RAW 2 (Canon digital camera raw image, version 2)
.NEFNikon Electronic Format (Nikon camera raw image)
.ARWSony Alpha Raw (Sony digital camera raw image)
.RW2Panasonic Lumix RAW Image (version 2)
.RAFFujifilm RAW Image (RAF)
.DNGDigital Negative (Adobe DNG)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z