What is the CDR file format?
Files with the .cdr extension contain vector graphics stored in a proprietary format of the CorelDRAW graphic program. CorelDRAW is designed for creating and editing 2D images, such as brochures, posters and logotypes. The internal format has changed along with software versions: since CorelDRAW 3 (1993) the RIFF container was adopted for the .cdr structure, while CorelDRAW X4 (version 14, 2008) switched the packaging to a ZIP-based archive - so modern .cdr files behave like a ZIP archive and contain XML, RIFF chunk files and binary .dat data files inside.
A .cdr drawing may contain:
- Graphics and embedded bitmaps
- Backgrounds
- Shapes
- Lines
- Text
- Applied effects
Due to the fact that the .cdr format is not very mobile, it is advised to export graphic projects into popular formats such as PDF or SVG. .cdr files can be stored also as .cdt templates, so that their elements can be used again. The range of possibilities of a .cdr file is similar to the Adobe Illustrator .ai format. Although the format is proprietary, reverse engineering of the format led to the creation of the libcdr library, which enables reading of .cdr files produced by CorelDRAW from version 6 through X8 and later. There are also converters and programs enabling conversion of .cdr files into other graphic formats.
Security & safety
RISK: MEDIUMThe CDR file format is data, not executable. The real hazard with this extension is the download ecosystem around it: searches for free 'CDR viewer' / 'CDR opener' lead to many untrustworthy sites that bundle adware, PUPs or outright malware with the installer. Stick to reputable software (CorelDRAW, Inkscape from inkscape.org, LibreOffice from libreoffice.org) or a well-known online converter, and avoid no-name 'CDR Viewer' executables. Newer ZIP-based CDR files are archives, so in principle they could carry embedded content, but the practical risk is the downloaded 'viewer', not the artwork.
Format details
in a nutshellPrograms that open CDR files
Technical details
deep spec| Developer | Corel Corporation |
| Format type | Proprietary closed-source vector drawing format |
| Container - classic (v1-v13) | RIFF (Resource Interchange File Format) with 'CDR' form type at offset 8 |
| Container - modern (X4 and later) | ZIP archive; introduced with CorelDRAW X4 (version 14, 2008) |
| MIME type | application/vnd.corel-draw |
| Magic bytes - classic | 52 49 46 46 ('RIFF') at offset 0; version-encoded form type such as 'CDR9' or 'CDRX' at offset 8 |
| Magic bytes - modern | 50 4B 03 04 ('PK') at offset 0 for ZIP-packaged .cdr files (X4 onward) |
| Version encoding | RIFF form type encodes CorelDRAW version (e.g., CDR9 for v9, CDRX for X-series) |
| Color model support | CMYK, RGB, Lab, Grayscale, and spot colors - full print-production color workflow |
| Internal object types | Vector paths, Bezier curves, embedded bitmaps, text objects, blends, transparency effects, page geometry |
| Open-source library | libcdr (reverse-engineered; supports CorelDRAW 6 through X8 and later releases) |
| Template format | .cdt - CorelDRAW template file sharing identical internal structure with .cdr |
| Exchange format | .cmx (Corel Metafile Exchange) designed for cross-application vector sharing |
| Platform availability | Native on Windows; CorelDRAW also available for macOS; limited Linux support via libcdr and Inkscape |
| Forward compatibility | Each CorelDRAW version opens files from all older versions; newer-format files cannot reliably open in older versions |
| Released | 1989 (CorelDRAW 1.0) |
| Specification | www.coreldraw.com |
CDR conversions
Community Q&A
asked by usersNo questions yet - be the first to ask about CDR files.