What is the RW2 file format?
Files in the .rw2 format store RAW raster images captured with a Panasonic Lumix camera - and select Leica models that share the same sensor platform. .rw2 files hold minimally processed sensor data rather than the finished output of in-camera JPEG compression.
Internally, .rw2 is a TIFF/EP-derived binary format with a Panasonic-specific file-start signature 49 49 55 00 (ASCII IIU\0), distinguishing it from a generic TIFF or Panasonic's older .raw. Each file also embeds EXIF metadata and a small JPEG preview thumbnail.
Due to its raw nature, .rw2 files occupy considerably more disk space than equivalent JPEGs. The benefit is full post-processing control: exposure, white balance, contrast and colour saturation can all be adjusted non-destructively after capture.
.rw2 files cannot be opened with standard graphic editors - only specialised raw-processing tools such as Adobe Lightroom, RawTherapee or darktable support them. On Windows 10/11, the Raw Image Extension adds shell preview support. Files can be converted to the open DNG standard for archiving.
Security & safety
RISK: LOWRW2 is a passive image data file - sensor data and metadata, not executable code - so opening one is safe. The practical cautions are non-malware: RW2 is large and proprietary, so keep originals backed up and consider archiving to open DNG for longevity; and EXIF/ maker-note metadata (camera, sometimes GPS, timestamps) travels with the file - strip it before publishing if privacy matters. Editing in a raw developer is non-destructive, so the original RW2 is preserved.
Format details
in a nutshellPrograms that open RW2 files
Technical details
deep spec| Developer | Panasonic Corporation (Lumix division); also used in select Leica OEM camera models |
| MIME type | image/x-panasonic-rw2 |
| File signature | 49 49 55 00 (ASCII IIU\0) at byte offset 0 |
| Byte order | Little-endian (Intel), signalled by the "II" prefix in the file header |
| Base structure | Proprietary TIFF/EP-derived binary container |
| Bit depth | 12-bit or 14-bit per raw sensor channel, depending on camera model |
| Sensor data encoding | Bayer-pattern mosaic from the camera's colour filter array (CFA) |
| Compression | Uncompressed raw data or Panasonic proprietary lossless compression |
| Embedded preview | Small JPEG thumbnail embedded in the file header for quick display |
| Metadata | EXIF data plus Panasonic-proprietary MakerNote IFD within the TIFF structure |
| White balance | White balance multipliers stored as metadata; fully adjustable in post-processing |
| Predecessor format | Panasonic .raw (magic bytes 49 49 4F 08), replaced by .rw2 circa 2008 |
| Camera scope | Panasonic Lumix G, GH, S, FZ and LX series; Leica D-Lux, V-Lux and C-Lux |
| Released | circa 2008 (Panasonic Lumix, replacing the earlier .raw); current Lumix raw format |
| Specification | www.panasonic.com |
RW2 conversions
Community Q&A
asked by usersNo questions yet - be the first to ask about RW2 files.