Image formatsince 1997

.rawCamera RAW formats

A family of vendor-specific camera sensor files used before a photo is rendered into JPG, TIFF, or WebP.

Extensions
.raw, .cr2, .nef, .arw, .raf, .orf, .rw2
MIME
image/x-canon-cr2, image/x-nikon-nef, image/x-sony-arw
Standard
Format family: vendor-specific camera raw files
Released
1997

About this format

RAW is not one single file format. It is a category of camera vendor formats, such as Canon CR2, Nikon NEF, Sony ARW, Fujifilm RAF, Olympus ORF, and Panasonic RW2.

Use RAW when you need maximum editing latitude. Export a normal image format when you need compatibility, previews, or upload support.

Real-world samples & file sizes

Four freshly sourced CC0 camera raw files from raw.pixls.us, covering common proprietary RAW families. Browsers cannot render these files directly, so each card shows a locally rendered JPEG preview while the download link points to the real RAW file.

Canon PowerShot G10 CR2 sample preview for 4416 x 3312
Canon CR24416 x 3312

Canon PowerShot G10 CR2

A Canon CR2 raw file with a snow-covered forest preview.

19.16 MB cr2.cr2
Nikon D90 NEF sample preview for 4288 x 2848
Nikon NEF4288 x 2848

Nikon D90 NEF

A Nikon NEF sample showing a bright outdoor landscape.

11.11 MB nef.nef
Sony RX100 III ARW sample preview for 5472 x 3648
Sony ARW5472 x 3648

Sony RX100 III ARW

A Sony ARW file with a detailed playground and sky preview.

19.99 MB arw.arw
Fujifilm X-E2 RAF sample preview for 4896 x 3264
Fujifilm RAF4896 x 3264

Fujifilm X-E2 RAF

A Fujifilm RAF sample with a frozen lakeside landscape.

32.23 MB raf.raf

Pros

  • +Maximum photo editing flexibility
  • +Preserves camera metadata
  • +Best source for serious photo editing

Cons

  • Vendor-specific variants
  • Large files
  • Poor browser and website support

RAW vs other formats

vsSizeQualityNote
DNGVariesBoth are raw workflowsDNG is a more standardized container; proprietary RAW keeps vendor-specific behavior.
JPGRAW is much largerRAW has more editing latitudeJPG is ready to share but much less flexible.

Where it works

Operating systems
  • macOS and Windows support depends on camera codec
  • Linux via raw libraries
Browsers
  • Browsers do not render raw camera files directly
Apps
  • Lightroom
  • Capture One
  • darktable
  • RawTherapee
  • Photoshop Camera Raw

Related tools

Frequently asked questions

Why are RAW files not consistent?
Camera makers define their own raw containers and metadata, so support depends on the camera model and app.
Should I convert RAW to JPG?
Convert only after editing or when you need to share the image. Keep the RAW if you may edit again.

Sources

Other image formats