File types · Explainer

The ARW file (.arw)

An ARW file is a Sony raw photo: the unprocessed data from the sensor of a Sony Alpha or Cyber-shot camera, in a TIFF-based format that Sony doesn't publish. This guide explains what's inside one, the difference between compressed, uncompressed and lossless compressed ARW, why some files won't open, and how to view and convert them.

At a glance

Full name
Sony Alpha Raw
Extensions
.arw
MIME type
None registered; image/x-sony-arw is the common unofficial type
Kind
Binary camera raw image built on TIFF; uncompressed, lossless compressed or lossy compressed sensor data, plus JPEG previews
Owner
Sony; proprietary and unpublished. Its structure is known from reverse engineering by ExifTool, LibRaw and others
First released
2006, with the DSLR-A100, Sony's first Alpha camera; the internal format version has since gone from ARW 1.0 to ARW 5.0
Bit depth
14 or 12 bits uncompressed; the classic compressed format stores 11-bit values through a tone curve
Compression
Compressed (lossy, about half the size of uncompressed), uncompressed, and on newer models lossless compressed, at full or reduced size
Magic number
A plain little-endian TIFF header, 49 49 2A 00. PRONOM identifies ARW by the word SONY and the FileFormat tag that follow
Opens with
Sony Imaging Edge Desktop (free), Lightroom and Photoshop, Capture One, darktable, RawTherapee, macOS Photos and Preview, Windows Photos with the Raw Image Extension

The basics

What is an ARW file?

ARW is the raw format of Sony's interchangeable-lens cameras, from the 2006 DSLR-A100 and the later SLT models to the E-mount α7, α9, α1 and ZV series, and of Cyber-shot compacts such as the RX100 and RX10 series. Sony took over Konica Minolta's camera business, and the first ARW files still carried a block in the layout of Minolta's MRW raw format. Before ARW, a few Cyber-shot cameras used the SR2 and SRF formats.

Like every raw format, an ARW keeps the readings of the sensor's photosites, each behind a red, green or blue filter, before the camera demosaics them into full-colour pixels, sets the white balance, applies its Creative Look or picture profile and compresses the result to JPEG or HEIF. Those steps happen later, in software, with your choices instead of the camera's.

  • 14 or 12 bits per photosite in an uncompressed file, against 8 bits per channel in a JPG, which leaves room to lift shadows and recover highlights.
  • Flat at first sight. A raw developer starts from neutral settings, so an ARW looks less punchy than the camera's own JPEG.
  • Previews inside. Each ARW carries JPEG previews for the camera screen and thumbnails. Quick viewers often show those instead of rendering the raw data.
  • Always 3:2. Sony's help guides note that raw images keep the full 3:2 frame even when the camera's JPEGs are set to another aspect ratio.

Anatomy

What's inside an ARW file

Sony doesn't publish the ARW specification. This outline comes from the signatures in the UK National Archives' PRONOM registry (fmt/191 for ARW 1.x, fmt/1127 for ARW 2.x) and the tag tables in Phil Harvey's ExifTool, which in turn rest on years of reverse engineering, notably by Dave Coffin (dcraw) and the LibRaw developers. Tag names below are ExifTool's, not Sony's. The details vary between camera models.

ARW structure (documented layout, not a dump of a real file)
ARW layout (from PRONOM fmt/191, fmt/1127 and ExifTool)

offset    bytes / tag                         part
0         49 49 2A 00                         TIFF header: "II", 42
4         xx xx xx xx                         offset of IFD0

IFD0      010F Make "SONY", 0110 Model …
          014A SubIFD ───────────┐
          8769 Exif IFD ───────┐ │
          C634 DNGPrivateData ─┼─┼──┐
                               │ │  │
SubIFD  ◄──────────────────────┼─┘  │      the raw image
          0103 Compression     │    │      1 = none, 32767 = Sony compressed
          7000 SonyRawFileType │    │      0 = 14-bit uncompressed …
                               │    │      3, 4 = lossless compressed
Exif IFD ◄─────────────────────┘    │
          927C MakerNote:           │
            53 4F 4E 59 20 44 53 43 20 00 00 00   "SONY DSC " + 3 nulls
            IFD:  B000 FileFormat   │      03 03 00 00 = ARW 2.3 …
                  B001 SonyModelID  │
                  2010, 9050, 94xx  │      enciphered camera data
                                    │
SR2Private IFD ◄────────────────────┘      inherited from the SR2 format
          7200 SR2SubIFDOffset
          7201 SR2SubIFDLength
          7221 SR2SubIFDKey                32-bit key
          └─► SR2SubIFD (encrypted)        black level, white balance,
                                           colour matrix, lens corrections
  1. 149 49 2A 00

    A TIFF header

    II (little-endian numbers) and the TIFF magic number 42. On the outside, an ARW is a TIFF file, which is why a few TIFF viewers show its embedded preview.

  2. 2SubIFD: 0103, 7000

    The raw image

    A sub-directory describes the sensor data: its size, its position in the file and how it's packed. Compression 32767 is ExifTool's name for Sony's own compressed format. SonyRawFileType (tag 7000) says which kind it is: uncompressed 14-bit (0) or 12-bit (1), compressed (2) or lossless compressed (3, and 4 from the α1).

  3. 3"SONY DSC " 00 00 00

    Sony's maker notes

    The MakerNote tag of the Exif block points to Sony's private data. It begins with the text SONY DSC (or SONY CAM on some models) and three null bytes, then an IFD of Sony tags.

  4. 4B000 FileFormat

    The format version

    Four bytes giving the version of the file layout: 01 00 00 00 is SR2, 02 00 00 00 ARW 1.0, 03 00 00 00 to 03 03 05 00 ARW 2.0 to 2.3.5, then ARW 4.0 (the α7S III) and ARW 5.0 (the α9 III). PRONOM's signature checks this tag to tell ARW 1.x from 2.x.

  5. 52010, 9050, 94xx

    Enciphered camera data

    Several of Sony's binary maker-note blocks, holding settings and counters such as the shutter count, are enciphered with a simple substitution cipher: according to ExifTool, each byte value b is stored as b³ mod 249. The cipher was worked out outside Sony; Sony hasn't documented it.

  6. 6C634 DNGPrivateData

    A private IFD from the SR2 days

    ARW reuses the trick of Sony's older SR2 format: the DNGPrivateData tag points to a private directory, which gives the offset, length and a 32-bit key for an encrypted sub-directory.

  7. 7SR2SubIFD (encrypted)

    What a converter needs

    Black level, white balance multipliers, the colour matrix and, on newer models, lens distortion, vignetting and chromatic aberration parameters. Without decrypting this block, a raw converter can't render accurate colours.

Settings

Compressed, uncompressed and lossless compressed ARW

Sony cameras offer up to three raw file types. The names in the menu are Sony's; which ones you get depends on the model and its firmware:

RAW file typeLossless?SizeNotes
CompressedNoAbout half of Uncompressed (Sony)For years the only raw option on Sony cameras. 11-bit values with delta coding; see below.
UncompressedYesLargest14-bit (12-bit on some models and modes). Added from 2015, on models such as the α7S II and RX1R II.
Lossless Comp (L, M, S)YesSmaller than UncompressedNewer models. On the α1 and α1 II, M and S sizes record fewer pixels, losslessly, for smaller files.

How the classic compressed format works was described by the makers of RawDigger, a raw analysis tool. The raw values first go through a tone curve that reduces them to 11 bits. Each row is then cut into blocks of 16 same-coloured pixels, and each block is stored in 16 bytes: the brightest and darkest values with their positions, and 14 seven-bit offsets between them. If a block's values span less than 128 levels, nothing more is lost than the tone curve already took. If it spans more, the offsets are rounded to steps of 2, 4, 8 or 16.

The compression debate

In 2014 and 2015, photographers and RawDigger showed that this rounding causes visible posterisation and coloured fringes where a block contains a sharp, high-contrast edge against a smooth area: star trails on a night sky, a bright window frame, specular highlights. Most photos never show it. Sony added an uncompressed option in 2015 and lossless compression later. For night skies, high-contrast scenes and heavy editing, choose Uncompressed or Lossless; for sport and everyday shooting, Compressed saves card space and buffer.

Variants

ARW versions, ARQ and other Sony raw files

The .arw extension hasn't changed since 2006, but the layout inside has. ExifTool reads the version from the FileFormat tag in the maker notes:

FileFormatExample cameras (ExifTool's notes)
ARW 1.0DSLR-A100
ARW 2.0 to 2.2Later Alpha DSLRs, NEX-5
ARW 2.3SLT-A65, SLT-A77
ARW 2.3.1RX1R, RX100 II
ARW 2.3.2RX1R II, α7S II: support for uncompressed 14-bit raw
ARW 2.3.3, 2.3.5α9, HX99
ARW 4.0α7S III
ARW 5.0α9 III

Software matches cameras, not versions, so the version mostly matters to developers of raw decoders. Two related files are worth knowing:

  • ARQ: the result of Sony's Pixel Shift Multi Shooting, where the camera takes several shots while moving the sensor and Imaging Edge combines them into one file with full colour at every pixel. ExifTool lists it as a Sony pixel-shift raw format. Fewer programs open ARQ than ARW.
  • SR2 and SRF: Sony's raw formats before ARW, from the Cyber-shot DSC-R1, DSC-F828 and DSC-V3. See the SR2 guide.

How to

How to open and convert an ARW file

  • Sony Imaging Edge Desktop (free, Windows and macOS): Sony's viewer, raw developer and remote-shooting app in one. Its Viewer and Edit parts open ARW and ARQ files and apply Sony's own processing. It's also the tool that builds Pixel Shift composites.
  • Adobe Lightroom, Lightroom Classic and Photoshop (Camera Raw); Capture One; DxO PhotoLab; Affinity Photo.
  • Free and open source: darktable and RawTherapee, on Windows, macOS and Linux.
  • Just looking: Photos and Preview on a Mac or iPhone, for cameras on Apple's supported raw list; Windows Photos and File Explorer after installing Microsoft's free Raw Image Extension (Windows 10 version 1903 or later), which is built on LibRaw.
terminal
# save the embedded JPEG preview, no raw processing
exiftool -b -PreviewImage DSC00001.ARW > DSC00001.jpg

# which raw type and format version is this?
exiftool -SonyRawFileType -FileFormat DSC00001.ARW

# render the raw data with darktable's command-line tool
darktable-cli DSC00001.ARW DSC00001.jpg

To share or archive, export JPEG or TIFF, or convert to DNG with Adobe's free DNG Converter, which also lets older versions of Lightroom and Photoshop open files from newer cameras.

Troubleshooting

Why won't my ARW file open?

  • Your software is older than the camera. Each new body needs support added, even when the version number inside barely changes. Adobe says it adds new cameras about every month or two and that cameras released in the last 90 days may need to wait. Update, or convert with Adobe DNG Converter.
  • A raw type the app doesn't handle. If uncompressed files from the same camera open but lossless or M and S files don't, the app supports the camera but not that raw type. Update it, or switch the camera to another raw type.
  • It's an ARQ, not an ARW. Pixel Shift composites need Imaging Edge or an app that supports ARQ.
  • Colours look off, or different from the camera. The app renders the data with its own profile. Choose a camera-matching profile, or develop in Imaging Edge to get Sony's processing.
  • Only a small image appears. The program showed the embedded preview, or treated the file as a plain TIFF.

Comparison

ARW vs JPG, HEIF and DNG

ARWJPGHEIFDNG
What it holdsSensor data plus settingsFinished pictureFinished pictureSensor data plus settings
Bits12 or 14 (11 in compressed files)8 per channel8 or 10 per channel on Sony camerasUp to 16, or floating point
SpecificationPrivate to SonyOpen (ISO)Open (ISO)Published by Adobe, ISO 12234-4
Best forEditing, difficult lightSharing straight awaySmaller files, HDR displaysArchiving raw files in an open format

Recent Sony cameras can shoot HEIF alongside or instead of JPEG. Neither is a substitute for raw when you plan to edit: white balance and highlights are fixed once the camera has processed the photo.

Privacy

Metadata in ARW files

An ARW can't run code. Its metadata is the thing to check before sending raw files to strangers:

  • Camera serial numbers in the Exif data and maker notes, which link every photo to one body.
  • Location, if the camera took it from a phone over Bluetooth or another source.
  • Copyright and artist names set in the camera menu, plus dates, lens and all settings.

See it all with exiftool -a -G1 file.arw. Remove GPS with exiftool -gps:all= file.arw. Don't strip every tag from a raw file: the maker notes and SR2 data are needed to develop it. Share an exported JPEG with metadata removed when that matters.

Sample files

There are no sample ARW files on this page. Raw files come straight from the camera, so the simplest test file is one shot on a Sony camera set to RAW; try Compressed, Uncompressed and Lossless to test all three types.

Put it online

Have an ARW file? Give it a link.

Drop an ARW on 99helpers and it gets its own web address. Browsers can't display raw files, so anyone who opens the link downloads it to open in their own raw software; share a JPG too if people just need to see the photo.

Questions

ARW files, frequently asked

What is an ARW file?

A Sony raw photo, from an Alpha, ZV or Cyber-shot camera set to RAW. It holds the sensor's data before processing, in a TIFF-based format Sony doesn't publish.

How do I open an ARW file?

Use Sony's free Imaging Edge Desktop, Lightroom or Photoshop, Capture One, darktable or RawTherapee. Macs open ARW in Photos and Preview; on Windows, install the Raw Image Extension and use Photos.

How do I convert ARW to JPG?

Open it in Imaging Edge, Lightroom, Photos or Preview and export as JPEG. For a quick copy of the camera's own preview, run exiftool -b -PreviewImage file.arw > file.jpg.

Is compressed ARW lossless?

No. Sony's Compressed option is lossy: it reduces values to 11 bits and rounds them in blocks with a wide brightness range, which can show as artefacts at high-contrast edges. Uncompressed and Lossless Comp keep all the data.

Should I shoot compressed or uncompressed raw on a Sony?

Lossless compressed if your camera has it: all the data in a smaller file. Otherwise Uncompressed for night skies, high contrast and heavy editing, and Compressed when you need smaller files or longer bursts.

Why won't Lightroom open my ARW files?

Your Camera Raw version doesn't know the camera, or the raw type, yet. Update Lightroom, or convert the files to DNG with Adobe's free DNG Converter.

What's the difference between ARW and SR2?

SR2 (and SRF before it) was Sony's raw format for a few Cyber-shot cameras before the Alpha range. ARW replaced it in 2006 but kept its encrypted private data block.

Related formats

Other file types explained

Keep going

Related

Sources

Last reviewed 27 October 2026.