Sony Alpha Raw (.arw)
TIFF/EP StandardSony Alpha Raw (ARW) is Sony's proprietary uncompressed and compressed RAW image format captured directly by Sony Alpha digital mirrorless and DSLR camera sensors.
Convert ARW to JPG
Free in-browser ARW to JPG converter. Convert files instantly on your device.
Inspect & Metadata
Operating systems and file analyzers identify ARW files by inspecting the leading binary byte sequence:
Byte-Level Header Signature (Magic Bytes)
Operating systems and file analyzers identify ARW files by inspecting the leading binary byte sequence:
HEX SIGNATURE (OFFSET 0):
49 49 2A 00ASCII REPRESENTATION: II*\0
Standardization: TIFF/EP (ISO 12234-2) extension
Technical Specifications
| Container Architecture | TIFF-based structured IFD container with Sony Makernote blocks |
| Compression | Uncompressed 14-bit linear or 11+7 bit lossy delta compression / Lossless Compressed Raw (ARW 4.0) |
| Byte Endianness | Little-Endian (Intel x86 order) |
| Color Spaces | Native Sensor Color Space, Adobe RGB, sRGB embedded tone curve |
| Channels & Structure | 1 channel Bayer mosaic (RGGB) or Quad Bayer layout |
| Max Dimensions | Up to 9504 x 6336 (61 MP Sony A7R IV/V) and pixel-shift composite sets |
| Transparency | None (uninterpolated sensor photodiode charges) |
| Streaming & Progressive | Non-streamable; requires IFD0 header parsing to locate raw CFA strips |
Technical Comparison Matrix: ARW vs Competitors
| Technical Attribute | ARW (Current) | CR3 | NEF | DNG |
|---|---|---|---|---|
| Container Structure | TIFF/EP structured IFD | ISO-BMFF (HEIF / MP4 box) | TIFF/EP with proprietary IFD | Open TIFF/EP standard |
| Bit Depth | 12-bit to 14-bit uncompressed or lossless | 14-bit compressed / C-RAW | 12-bit to 14-bit NEF | 12-bit to 16-bit linear |
| Standardization | Proprietary Sony specification | Proprietary Canon specification | Proprietary Nikon specification | ISO 12234-2 / Adobe open spec |
| Typical Size (24MP) | 24 MB - 48 MB | 15 MB - 30 MB | 20 MB - 35 MB | 20 MB - 30 MB |
Common Corruption Modes & Hex Recovery Guide
Image renders horizontal magenta/green banding across the bottom half of the frame.
Root Cause: Premature file transfer termination or damaged SD card blocks interrupting the raw CFA data stream.
Recovery: Extract embedded full-resolution JPEG thumbnail via exiftool -b -PreviewImage broken.arw > preview.jpg.
Security Analysis & Parser Attack Vectors
ARW files utilize complex nested TIFF IFDs and vendor makernotes that can trigger buffer over-reads in legacy EXIF parsers.
Known Attack Vectors
- Malformed Sony Makernote tag pointer leading to heap out-of-bounds read in LibRaw or dcraw.
- Crafted IFD sub-directory loop triggering denial-of-service memory exhaustion in image indexing pipelines.
- Overly large strip byte counts causing integer overflow during raw sensor mosaic allocation.
Defensive Best Practices: Decode ARW files in memory-safe sandboxed WASM runtimes with enforced IFD depth and allocation limits.
Historical Origins & Milestones
Key Advantages & Pros
- Retains maximum 14-bit or 15-stop dynamic range directly from Sony Exmor R and Exmor RS BSI CMOS sensors.
- Lossless compression modes dramatically reduce file sizes without discarding shadow details.
- Contains embedded full-resolution JPEG preview and complete Sony lens optical correction metadata.
Technical Limitations & Cons
- Earlier ARW 2.0 lossy compression mode caused high-contrast edge artifacts ('star eater' effect).
- Requires camera-specific color profile profiles in raw development software for accurate color science.
- Large file footprints (up to 120 MB per frame in uncompressed 60MP modes).
Interesting Technical Trivia
- Sony acquired the core technology behind ARW when it bought Konica Minolta's camera business in 2006.
- Astrophotographers famously debated Sony's spatial noise-reduction algorithm dubbed the 'Star Eater'.
- The format embeds full camera diagnostic tags including shutter actuations and sensor temperature.
Frequently Asked Technical Questions
Can I convert ARW files to standard DNG without quality loss?
Yes. Adobe DNG Converter converts ARW sensor mosaic data bit-for-bit into an open DNG container while preserving raw dynamic range.
What is the difference between Uncompressed, Lossless, and Compressed ARW?
Uncompressed saves pure 14-bit sensor readings. Compressed uses Sony 11+7 bit tonal quantization with mild loss in extreme contrast. Lossless compressed applies entropy encoding for zero quality loss at half the size.
Why do ARW files look flat when first opened?
RAW files contain linear sensor voltage readings without tone curves, contrast adjustments, or saturation matrices applied by camera firmware.