RW2 (Panasonic RAW)
Panasonic's native RAW format captures every photon your Lumix sensor sees, unprocessed and ready for a full edit.
| Full name | Panasonic RAW |
| Extension | .rw2 |
| MIME type | image/x-panasonic-rw2 |
| Developer | Panasonic |
| Released | c. 2008 |
| Type | RAW image |
| Bit depth | 12-bit or 14-bit per channel |
| Color filter array | BGGR Bayer pattern |
What is a RW2 file?
RW2 is the proprietary RAW image format used by Panasonic Lumix cameras. It stores the unprocessed sensor data recorded at the moment of capture, before any in-camera sharpening, noise reduction, or color processing. Photographers use it to keep full control over how the final image looks during post-processing.
An RW2 file holds the raw output of a Panasonic camera sensor at 12 or 14 bits per channel, far more tonal data than a JPEG's 8 bits. The format is structurally similar to TIFF but uses a different file signature and a set of Panasonic-specific EXIF tags. Inside the file, pixel data is stored in blocks using a proprietary delta-compression scheme: the first pixel in each block stores a full 12-bit value, and subsequent pixels store differences from that value. Newer RW2 files also embed a full-resolution JPEG with EXIF metadata so you can preview the image without decoding the raw data.
History
Panasonic originally shipped cameras that wrote RAW files with a plain .raw extension. Around 2008, with cameras like the Lumix DMC-FZ28, Panasonic switched to the .rw2 extension and updated the format to include an embedded JPEG preview. The format is also shared with some Leica cameras under the .rwl extension, reflecting the long Panasonic-Leica partnership on lens and sensor technology.
How it works
RW2 files open with the magic bytes 49 49 55 00, marking them as a little-endian TIFF variant. The main IFD contains the color filter array (CFA) data in a BGGR Bayer layout and a pointer to an EXIF IFD that holds shooting metadata such as ISO, shutter speed, and white balance. Raw pixel data uses Panasonic's proprietary block-delta compression, which reduces file size while keeping all the original sensor values intact. Newer files append a complete embedded JPEG at the end of the stream, so photo-management tools can generate thumbnails quickly.
What it is used for
- Professional and enthusiast photography with Panasonic Lumix cameras where maximum image quality matters
- Post-processing workflows in Lightroom, Capture One, or RawTherapee that need full tonal range for exposure and color correction
- Archiving original captures in lossless form before exporting to JPEG or TIFF for delivery
- Scientific or technical imaging applications that require access to the unprocessed sensor output
How to open it
Adobe Lightroom, Capture One, RawTherapee, darktable, and Panasonic's own LUMIX Tether software all open RW2 files natively. Windows users can also install the Microsoft Camera Codec Pack to preview RW2 thumbnails directly in File Explorer.
Pros and cons
Strengths
- Preserves the full 12-bit or 14-bit sensor data, giving far more latitude for exposure and color adjustments than JPEG
- Embeds a full JPEG preview so cataloging tools can display thumbnails without decoding the raw data
- Widely supported across major RAW editors including Lightroom, Capture One, darktable, and RawTherapee
- Retains all EXIF shooting metadata (ISO, aperture, shutter speed, white balance) alongside the pixel data
Trade-offs
- Files are significantly larger than JPEGs, typically 15-25 MB each, which fills memory cards and hard drives faster
- Proprietary format with no public specification, so third-party support depends on reverse engineering
- Requires RAW-capable software to edit; standard image viewers and many web services cannot display RW2 files without conversion
- Processing RW2 files is slower than JPEG because the raw data must be debayered and color-corrected before the image can be displayed
Convert RW2 files
Free, in your browser, no signup. Start at the RW2 converter, or jump straight to a popular conversion below.
Curious how fast and how small? See our measured conversion benchmarks.
RW2 FAQ
Can I open an RW2 file without Panasonic software?
Yes. Adobe Lightroom, Capture One, darktable, RawTherapee, and GIMP with the UFRaw plugin all support RW2 files without any Panasonic software installed.
Is RW2 lossless?
The raw sensor data is compressed using Panasonic's proprietary block-delta scheme, which is lossy in a technical sense, but the quality loss is negligible and far below what any JPEG compression would produce.
What is the difference between RW2 and the older Panasonic .raw files?
Both carry the same kind of sensor data, but RW2 added a different file header (the IIU magic bytes) and, in newer cameras, an embedded full JPEG preview. The .raw extension was used on older Panasonic models before around 2008.
Do Leica cameras also produce RW2 files?
Some Leica cameras that share Panasonic sensor hardware write a very similar format with the .rwl extension. The internal structure is effectively the same as RW2, and most software that supports one will support the other.