Canon has not published CR3. Everything here comes from Laurent Clévy’s reverse
engineering (the canon_cr3 project), checked against many cameras; fields
marked unknown are unknown to that work too. The file uses the ISO base media file
format: each box is a 4-byte big-endian size, a 4-byte type, then its content, and
uuid boxes add a 16-byte identifier after the type. Canon’s own boxes are
big-endian as well.
Top level
| Box | Content |
|---|---|
ftyp | Major brand crx , minor version 1, compatible brands crx and isom. |
moov | Canon’s metadata box, mvhd, and one trak per image or metadata stream. |
uuid be7acfcb-97a9-42e8-9c71-999491e3afac | XMP packet. |
uuid eaf42b5e-1c98-4b88-b9fb-b7dc406e4d16 | Preview: a PRVW box with a 1620 × 1080 JPEG. |
uuid 5766b829-bb6a-47c5-bcfb-8b9f2260d06d | Only in raw burst (roll) files: a CMTA box, contents unknown. |
mdat | The image data of every track and the timed metadata (see media data). |
uuid 210f1687-9149-11e4-8111-00242131fce4 | Only in some roll files: a CNOP box, contents unknown. |
Canon metadata box
The first box inside moov is uuid
85c0b687-820f-11e0-8111-f4ce462b6a48. It holds:
| Box | Content |
|---|---|
CNCV | Compressor version: a 30-character string after the 8-byte header (box size 0x26), such as CanonCR3_001/00.10.00/00.00.00. Files from the second codec version carry CanonCR3_002 (1D X Mark III and EOS R5 C-RAW); Cinema RAW (.crm) files carry CanonCRM0001/02.09.00/00.00.00. |
CCTP | Canon track list: a long 0 at offset 8, a long 1 at offset 12, the number of CCDT entries at offset 16 (3, or 4 with dual pixel), then the entries. Box size 0x5C with 3 entries, 0x74 with 4. |
CCDT | One per image track, 0x18 bytes: a 64-bit image type at offset 8, a long at offset 16 that is 1 for dual pixel, and the track number at offset 20. |
CTBO | Table of offsets (size 0x5C in the notes): a count (4 or 5) at offset 8, then 20-byte records of index (long, from 1), offset (64-bit) and size (64-bit). |
free | Padding box. It follows CTBO, appears inside the CRAW sample entries and between stsz and co64 in the tracks; the notes give no other use. |
CMT1 | A complete little-endian TIFF structure holding IFD 0 (camera make, model, date and so on). |
CMT2 | The Exif IFD, as a TIFF structure. |
CMT3 | Canon’s maker note, as a TIFF structure (the same tags as in CR2). |
CMT4 | The GPS IFD, as a TIFF structure. |
CMTA | In the uuid 5766b829-… box of roll files, and the target of CTBO record 5. The notes show it as one TIFF tag, 0x4047, holding a byte sequence (583,576 bytes in the sample); the content is unknown. |
CNOP | In the uuid 210f1687-… box of some roll files; content unknown. |
THMB | Thumbnail (below). |
| CCDT image type | Track |
|---|---|
| 2 | Full size JPEG (track 1) |
| 1 | Small CRX raw (track 2) |
| 0 | Full size CRX raw (track 3) |
| 4 | Second dual pixel CRX image (track 5) |
| CTBO index | Points to |
|---|---|
| 1 | The XMP uuid box |
| 2 | The preview uuid box |
| 3 | The mdat box |
| 4 | Unknown; usually zero |
| 5 | The CMTA uuid box, in roll files |
THMB and PRVW
| Offset | Size | THMB field |
|---|---|---|
| 0 | 4 | Box size |
| 4 | 4 | THMB |
| 8 | 1 | Version, 0 or 1 |
| 9 | 3 | Flags, 0 |
| 12 | 2 | Width, usually 160 (320 for HDR HEIF cameras) |
| 14 | 2 | Height, usually 120 |
| 16 | 4 | JPEG size |
| 20 | 4 | Version 0: two unknown shorts |
| 24 | varies | Version 0: the JPEG |
| Offset | Size | PRVW field |
|---|---|---|
| 0 | 4 | Box size |
| 4 | 4 | PRVW |
| 8 | 4 | Unknown, 0 |
| 12 | 2 | Unknown, 1 |
| 14 | 2 | Width, 1620 |
| 16 | 2 | Height, 1080 |
| 18 | 2 | Unknown, 1 |
| 20 | 4 | JPEG size |
| 24 | varies | The JPEG, FF D8 to FF D9 |
Tracks
| Track | Sample entry | Content |
|---|---|---|
| 1 | CRAW with a JPEG box | Full size JPEG |
| 2 | CRAW with CMP1, CDI1 | Small raw image (1624 × 1080 on the EOS R) |
| 3 | CRAW with CMP1, CDI1 | Full size raw image |
| 4 | CTMD | Canon timed metadata |
| 5 | CRAW | Second image of a dual pixel raw, when present |
Each track is a standard trak → mdia → minf →
stbl, with stsd (the sample entry), stts,
stsc, stsz (the size of the image) and co64
(its 64-bit offset in the file). The sample entries are on the
CRAW sample entry page.
The notes give the size of track 3 as 6288 × 4056 in the box listing and 6888 × 4546 in
the overview; they disagree, and the IAD1 box
(6888 × 4546) is the figure used on the sample entry page.
CMT sizes, THMB version 1 and HDR boxes
The notes list the CMT1 to CMT4 boxes at 0x208, 0x608, 0x2608
and 0x808 bytes in the sample. The THMB box exists in two versions: version 1
carries the width, height and JPEG size shown above and the notes describe nothing after
that; the sample HDR file has a 320 × 214 thumbnail.
CR3 files with HDR pictures (the 1D X Mark III onwards, with HEIF) store HEVC-coded
10-bit 4:2:2 data, described with the ISO hvcC and pixi boxes,
and add Canon boxes inside THMB and CRAW (offsets from the box start):
| Box | Fields |
|---|---|
CISZ | Size 0x14; version and flags at 8; width (short) at 12; height (short) at 16. The sample THMB reports 320 × 320 although its image is 320 × 214; each of four main tiles reports 2752 × 1856. |
IMGD | Size N; two inner sizes, N − 12 at 8 and N − 16 at 12; the image data from 16. |
GRID | Size 0x18; version and flags; tile count at 12 (4 in the sample); an unknown value 0x00000101 at 16; width at 20 (5472) and height at 22 (3648). Four tiles of 2752 × 1856 make 5504 × 3712, which differs from the grid size; the notes suggest black-level borders. |
The notes mark the version and flags of CISZ and IMGD as
uncertain. Their offsets are given as listed there.
Sources
- Describing the Canon Raw v3 file format – Laurent Clévy, readme.md (revision of 16 September 2026): the box listing, CNCV, CCTP, CCDT, CTBO, CMT1 to CMT4, THMB, PRVW, CMTA, CNOP, HDR boxes, tracks