← All articles 11 min read

Convert CR2 to JPG: 5 Free Methods for Canon RAW Files

CR2 is Canon's RAW image format — the format your EOS camera writes when you shoot in RAW mode. Bodies like the 5D Mark IV, 80D, 7D Mark II, 6D, Rebel T7i, and dozens of other Canon DSLRs all produce .cr2 files. Each one contains the full, unprocessed data from the camera's sensor: 14-bit color depth, no sharpening applied, no white balance baked in, no compression artifacts.

That's great for editing. Not great for sharing. A CR2 file won't open in a browser, most email clients won't preview it, and social platforms reject it outright. JPG is the universal format — every device, every platform, every CMS accepts it. Converting CR2 to JPG gets your Canon RAW files into a format the rest of the world can actually use.

For a broader look at what RAW files are and how they work, we have a dedicated explainer. For conversion guides covering other camera brands, see our Nikon NEF to JPG and Sony ARW to JPG guides, or the general RAW to JPG conversion guide that covers every format.

A note on CR3: Canon introduced the CR3 format starting with the EOS M50 in 2018. All EOS R-series mirrorless bodies (R5, R6, R7, R8, R3) and recent Rebel/M cameras use CR3 instead of CR2. This guide focuses on CR2, but every tool listed here handles CR3 as well — the conversion steps are identical.


Methods at a Glance

Method OS Batch License Best For
Canon DPP4 Windows, macOS Yes Proprietary (free) Canon shooters who want official color science
darktable 4.6 Windows, macOS, Linux Yes GPL v3 Full RAW processing + export
dcraw 9.28 Windows, macOS, Linux Yes Public domain Scripting and automation
ImageMagick 7.1 Windows, macOS, Linux Yes Apache 2.0 Build pipeline integration
RawTherapee 5.10 Windows, macOS, Linux Yes GPL v3 Advanced demosaicing control

Method 1 — Canon Digital Photo Professional 4 (DPP4)

License: Proprietary, free (Canon-only — requires a Canon camera serial number to download) Platforms: Windows 10+, macOS 12+

DPP4 is Canon's own RAW processor. The main reason to use it: Canon's color science. DPP4 applies the same Picture Styles (Standard, Portrait, Landscape, Faithful) your camera uses for in-camera JPEGs, so the converted JPG looks exactly like what you saw on the camera's LCD. No third-party converter replicates this perfectly.

Install DPP4:

  1. Go to canon.com/support, enter your camera model (e.g., "EOS 5D Mark IV")
  2. Navigate to Drivers & DownloadsSoftwareDigital Photo Professional 4
  3. Download and install — you'll need your camera's serial number during installation

Convert CR2 to JPG:

  1. Open DPP4 and navigate to the folder containing your CR2 files
  2. Select the images you want to convert (use Ctrl+A to select all)
  3. Go to FileBatch process
  4. Set File type: JPEG
  5. Set Image quality: 8–10 (DPP4 uses a 1–10 scale; 8 is roughly equivalent to quality 85 in other tools)
  6. Choose an output folder
  7. Click Execute — DPP4 processes each file using Canon's color pipeline

Batch capability: Built-in. The batch dialog handles hundreds of files. DPP4 also supports recipes — save a processing preset and apply it across an entire shoot.

Limitation: DPP4 only processes Canon RAW files (CR2 and CR3). If you shoot with multiple camera brands, you'll need a second tool for the others.


Method 2 — darktable 4.6

License: GPL v3 (free, open source) Platforms: Windows 10+, macOS 13+, Linux

darktable is the open-source equivalent of Adobe Lightroom — a full non-destructive RAW processor with a powerful export pipeline. It handles CR2 files from every Canon body via its bundled LibRaw 0.21 library.

Install darktable 4.6:

Convert CR2 files to JPG:

  1. Open darktable, switch to the Lighttable view
  2. Click ImportFolder, select your CR2 folder, click Import
  3. Select all: Ctrl+A (or Cmd+A on macOS)
  4. Open the Export panel on the right side (or press Ctrl+E)
  5. Set Format: JPEG
  6. Set Quality: 90 (lower to 75 for smaller files, up to 95 for maximum fidelity)
  7. Set your output directory
  8. Click Export

darktable applies a base exposure curve and your camera's embedded color profile automatically. The output is a clean JPG close to what your Canon's JPEG engine produces — no manual adjustment required for a straight conversion.

Batch capability: Select as many images as you want before exporting. darktable uses multi-threading, so it'll use all available CPU cores.


Method 3 — dcraw 9.28

License: Public domain Platforms: Windows (via WSL or Cygwin), macOS, Linux

dcraw is the foundational RAW decoder. It handles CR2 files from every Canon body ever made. Most GUI RAW converters — including RawTherapee — are built on dcraw or its successor LibRaw. Running dcraw directly gives you scriptable, repeatable conversion in a single terminal command.

Install dcraw 9.28:

Convert a single CR2 file to JPG:

dcraw -c -q 3 -W IMG_0001.CR2 | cjpeg -quality 90 > IMG_0001.jpg

Flags:

dcraw outputs a PPM stream, which cjpeg (from the libjpeg-turbo package) encodes to JPEG.

Batch convert all CR2 files in a folder:

for f in *.CR2; do
  dcraw -c -q 3 -W "$f" | cjpeg -quality 90 > "${f%.CR2}.jpg"
done

Parallelize for large batches:

ls *.CR2 | xargs -P 8 -I{} bash -c 'dcraw -c -q 3 -W "{}" | cjpeg -quality 90 > "${1%.CR2}.jpg"' _ {}

The -P 8 flag runs 8 conversions simultaneously. Adjust based on your CPU core count.

Color space: dcraw defaults to sRGB output (-o 1). For Adobe RGB, use -o 2. Stick with sRGB for web use.


Method 4 — ImageMagick 7.1

License: Apache 2.0 Platforms: Windows, macOS, Linux

ImageMagick does not decode RAW sensor data natively — it delegates to dcraw under the hood. This makes it most useful when ImageMagick is already in your build pipeline and you want a unified command interface rather than separate tools.

Install ImageMagick 7.1:

Verify RAW delegate support:

magick -list delegate | grep -i raw

If dcraw is not listed, install it first (sudo apt install dcraw or brew install dcraw), then reinstall ImageMagick so it picks up the delegate.

Convert a single CR2 file:

magick IMG_0001.CR2 -quality 90 IMG_0001.jpg

Batch convert all CR2 files:

magick mogrify -format jpg -quality 90 *.CR2

To output to a separate directory (keeping your CR2 files untouched):

mkdir -p jpg-output
magick mogrify -format jpg -quality 90 -path ./jpg-output *.CR2

Quality note: ImageMagick's RAW output quality depends entirely on the dcraw version installed on your system. ImageMagick is the command-line glue; dcraw is the actual decoder.


Method 5 — RawTherapee 5.10

License: GPL v3 (free, open source) Platforms: Windows 10+, macOS 12+, Linux

RawTherapee is a technically-oriented RAW processor with unusually fine control over demosaicing algorithms. For Canon CR2 files specifically, it lets you choose between AMaZE, LMMSE, and other demosaicing methods — useful when you want to squeeze the last bit of detail from high-ISO shots on older Canon sensors (like the 7D Mark II's APS-C sensor).

Install RawTherapee 5.10:

Batch convert CR2 to JPG:

  1. Open RawTherapee and navigate to your CR2 folder in the File Browser tab
  2. Select all files: Ctrl+A
  3. Right-click → Put in Queue
  4. Switch to the Batch Queue tab
  5. Set Output format: JPEG, Quality: 90
  6. Set the output directory
  7. Click Start processing

Tip: To match your Canon's in-camera JPEG look, switch the default processing profile to "Camera standard" in Preferences → Image Processing. This applies your camera's embedded tone curve and white balance rather than RawTherapee's neutral defaults.


Canon Camera Compatibility

Which Canon cameras produce CR2 vs CR3:

Camera Model RAW Format Sensor Notes
EOS 5D Mark IV CR2 Full-frame 30.4 MP, dual-pixel AF
EOS 5D Mark III CR2 Full-frame 22.3 MP
EOS 5D Mark II CR2 Full-frame 21.1 MP
EOS 6D Mark II CR2 Full-frame 26.2 MP
EOS 6D CR2 Full-frame 20.2 MP
EOS 7D Mark II CR2 APS-C 20.2 MP, high-speed burst
EOS 80D CR2 APS-C 24.2 MP
EOS 77D CR2 APS-C 24.2 MP
EOS 70D CR2 APS-C 20.2 MP
EOS Rebel T7i / 800D CR2 APS-C 24.2 MP
EOS Rebel T6 / 1300D CR2 APS-C 18 MP
EOS 1D X Mark II CR2 Full-frame 20.2 MP, pro sports body
EOS R5 CR3 Full-frame 45 MP, mirrorless
EOS R6 Mark II CR3 Full-frame 24.2 MP, mirrorless
EOS R7 CR3 APS-C 32.5 MP, mirrorless
EOS R8 CR3 Full-frame 24.2 MP, mirrorless
EOS R3 CR3 Full-frame 24.1 MP, stacked sensor
EOS M50 CR3 APS-C First Canon body to use CR3 (2018)

If your camera is not listed, check the file extension of your RAW files: .cr2 means this guide applies directly; .cr3 means you have the newer format, but the conversion steps above are identical.


CR2 vs CR3

Canon's transition from CR2 to CR3 started in 2018. Here's what changed:

CR2 CR3
Container TIFF-based ISO Base Media File Format (HEIF-based)
Compression Lossless only Lossless and lossy (C-RAW)
Bit depth 14-bit 14-bit
Introduced 2004 (EOS 1D Mark II) 2018 (EOS M50)
File size (typical 24 MP) ~25–30 MB ~20–25 MB (lossless), ~10–15 MB (C-RAW)

CR3's lossy C-RAW option roughly halves file size compared to lossless CR2, with minimal visible quality loss for most subjects. The trade-off: C-RAW discards some shadow detail, so heavy shadow recovery in post-processing will show more noise than a lossless CR2 or lossless CR3.

For the conversion tools above, CR2 and CR3 are handled identically — the output JPG is the same. The difference only matters if you're choosing compression settings in-camera.

For a deeper dive into the difference between lossy and lossless compression generally, see our lossy vs lossless compression guide.


After Converting: Optimizing Your JPGs

RAW-derived JPGs at quality 90 are typically 3–8 MB per file — far too large for web use. A few next steps:


FAQ

Q: Can I convert CR2 to JPG without losing quality?

Some quality loss is inherent — CR2 carries 14-bit color data and JPG supports only 8-bit. At quality 90+, the difference is imperceptible for web, email, and social media use. If you need zero compression loss, convert to TIFF or PNG instead. See lossy vs lossless compression for more on this trade-off.

Q: Which method produces the most accurate Canon colors?

Canon DPP4. It's the only tool that applies Canon's proprietary Picture Styles (Standard, Portrait, Landscape, Faithful, Neutral) exactly as the camera would. darktable and RawTherapee apply their own color science, which is excellent but not identical to Canon's rendering.

Q: How large are CR2 files compared to JPG?

A typical 24 MP Canon CR2 file is 25–30 MB. The same image as a JPG at quality 90 is roughly 3–8 MB. At quality 75 (good for web), it drops to 1–3 MB. You're looking at a 5–15x size reduction depending on quality settings and image content.

Q: Does Pixotter convert CR2 files directly?

Not directly. CR2 decoding requires camera-specific color science that's complex to run in a browser WASM context. Use one of the five tools above to convert your CR2 files to JPG first, then use Pixotter's converter to go from JPG to WebP or AVIF for web use.

Q: Is Canon DPP4 really free?

Yes. Canon bundles DPP4 for free with every EOS camera — you just need your camera's serial number to download it. There are no premium tiers, no subscriptions, no feature restrictions.

Q: Can I batch convert thousands of CR2 files?

All five methods support batch conversion. For thousands of files, dcraw with xargs -P is the fastest approach because you control the parallelism directly. DPP4 and darktable handle large batches well but may be slower because they apply more processing per file. Expect 1–3 seconds per file on modern hardware.

Q: Should I keep my CR2 files after converting to JPG?

Yes, if you can. CR2 files are your originals — they carry more color information, allow re-editing with different settings, and can be re-exported at different quality levels later. Store them on an external drive if local storage is tight. Deleting RAW files is a one-way door.

Q: My CR2 files won't open — what's wrong?

Older CR2 files from bodies like the EOS 20D or 350D may not be recognized by very recent software versions that dropped legacy camera support. Try dcraw 9.28 — it supports every Canon body back to the original EOS D30 (2000). If the file is corrupted (truncated download or card error), no converter will recover it.


Wrapping Up

Canon CR2 files convert to JPG reliably with any of these five tools. If you want Canon's exact color rendering, use DPP4 — it's free and purpose-built. For cross-platform open-source workflows, darktable 4.6 is the most capable option. For scripting and automation, dcraw 9.28 is the fastest path from CR2 to JPG in a single command.

Once your CR2 files are JPGs, Pixotter handles everything else — compress, resize, convert to WebP or AVIF — all in the browser, no upload required.