Raw files store unprocessed sensor data directly from your camera

A raw photo file is the unedited data your camera's sensor captures when you take a picture. Unlike JPEGs, which your camera processes and compresses automatically, raw files contain the original information before any adjustments — no sharpening, no color correction, no compression. Common raw formats include Canon's .CR3, Nikon's .NEF, Sony's .ARW, and Adobe's universal .DNG format.

When you shoot in raw, your camera writes everything the sensor saw: the full range of brightness levels, color information, and detail in shadows and highlights. You then open these files in editing software and decide what to do with them. This gives you far more control than editing a JPEG, where the camera has already made those decisions and discarded data you cannot recover.

Raw files are larger than JPEGs — typically 30 to 100 megabytes per image depending on your camera — because they hold more information. They also require specific software to view and edit, whereas any device can open a JPEG. For casual phone photography, raw is unnecessary. For professional work, product shots, portraits, or any image where you need precise control over color and exposure, raw is standard.

Key Takeaways

  • Raw files contain unprocessed sensor data, while JPEGs are pre-processed by your camera and cannot be edited as deeply.
  • Raw files are much larger than JPEGs and require dedicated software like Lightroom, Capture One, or Photoshop to open and edit.
  • You recover detail in blown-out highlights and dark shadows more easily from raw files than from JPEGs because more original data is preserved.
  • Each camera brand uses its own raw format, though Adobe's DNG format works across all cameras and is readable by most editing programs.

How raw files differ from JPEG

A JPEG is a finished product. Your camera applies white balance, sharpening, noise reduction, and color saturation, then compresses the file to make it smaller. Once saved, that processing is permanent — you cannot undo it. If your camera guessed wrong on white balance and your photo looks too blue, you can adjust it in editing, but you are working with less original data than you started with.

A raw file is a negative. Your camera records what the sensor saw and stops. No processing, no compression. When you open it in editing software, you see the image exactly as the sensor captured it — often flat and dull-looking compared to a JPEG. You then adjust white balance, exposure, contrast, and color yourself. If you change your mind, you can undo any adjustment without losing quality, because the original data is still there.

The practical difference shows up most in difficult lighting. Shoot a sunset in JPEG and your camera might crush the shadows to black or blow out the sky to white. Shoot the same scene in raw and you often recover detail in both, because the sensor captured it — the JPEG just threw it away. Similarly, if you underexpose a raw file by accident, you can brighten it significantly in editing. Underexpose a JPEG and you get noise and color banding when you try to fix it.

Raw file formats and compatibility

Every camera manufacturer uses its own raw format. Canon cameras produce .CR3 files (or .CR2 on older models), Nikon produces .NEF, Sony produces .ARW, Fujifilm produces .RAF, and so on. This means raw files from a Canon camera will not open in software designed only for Nikon files. Your editing software must support your specific camera model to read the file.

Adobe's DNG format (Digital Negative) is a universal raw standard that any camera can save to and any modern editing software can read. Some cameras offer DNG as an option alongside their native format. If you want your raw files to remain readable in ten years, or if you switch camera brands, DNG is the safer choice — it is an open standard maintained by Adobe and documented publicly, so it will not become obsolete.

Most editing software supports multiple raw formats. Adobe Lightroom and Photoshop read raw files from virtually all major cameras. Capture One, Affinity Photo, and RawTherapee also handle most formats. Older software may not recognize newer camera models, so manufacturers release updates to add support. If you buy a new camera and your editing software will not open the files, check for an update.

File size and storage considerations

Raw files demand more storage space than JPEGs. A 24-megapixel camera might produce 30 MB raw files and 8 MB JPEGs from the same shot. A 45-megapixel camera can produce 100+ MB raw files. Shoot 500 photos at a wedding or event and you are looking at 15 to 50 gigabytes of raw data, versus 4 to 8 gigabytes in JPEG.

This matters for your workflow. You need fast memory cards — UHS-II or UHS-III cards are standard for raw shooting because they write data quickly enough that your camera does not buffer and slow down. You also need external hard drives or cloud storage to back up your raw files. Many photographers keep raw files on external drives and only store edited JPEGs on their main computer.

Raw files also take longer to import, organize, and back up. If you shoot thousands of photos a year, raw storage becomes a real cost. Some photographers shoot raw only for important work and JPEG for casual shots, balancing control against storage and time.

When to shoot raw versus JPEG

Shoot raw when you need maximum control and the image matters. Professional photography — portraits, product shots, real estate, events — almost always uses raw. If you are selling the image, licensing it, or printing it large, raw gives you the latitude to fix problems and optimize the final result. Landscape and architectural photography benefit from raw because you often need to recover highlight and shadow detail.

Shoot JPEG when speed and simplicity matter more than control. Casual snapshots, social media posts, and quick documentation do not need raw. Your camera's JPEG processing is usually good enough, and you save storage space and editing time. Many photographers shoot both simultaneously — your camera can save a raw file and a JPEG from the same exposure, giving you the option to edit the raw if needed or use the JPEG as-is.

Mobile phone photography is almost always JPEG (or a phone-specific format like HEIC). Most phones do not offer raw capture, and the computational photography — the software processing that makes phone photos look good — is part of what makes them work. A few high-end phones and dedicated camera apps now offer raw capture, but it is not standard.

Software you need to work with raw files

You cannot open a raw file in standard image viewers or web browsers. You need software designed to read and edit raw data. Adobe Lightroom is the most common choice for photographers — it imports raw files, organizes them, and provides editing tools. Photoshop also opens raw files and gives you more advanced editing options. Both require a subscription.

Free alternatives exist. RawTherapee and Darktable are open-source raw editors available for Windows, Mac, and Linux. Affinity Photo is a one-time purchase alternative to Photoshop. Capture One is professional-grade software used by many commercial photographers. Your camera manufacturer may also provide free software — Canon's Digital Photo Professional, Nikon's ViewNX-i, and Sony's Imaging Edge all open raw files from their respective cameras.

If you only need to view raw files without editing, many file managers and preview apps can display them. On Mac, Preview opens most raw formats. On Windows, the Photos app recognizes some raw files. But for any real editing work, you need dedicated raw software.

Raw workflow: from capture to final image

A typical raw workflow starts with shooting. You set your camera to raw mode (or raw + JPEG), take your photos, and transfer them to your computer. You import them into your editing software — Lightroom, Capture One, or another program — where they appear as thumbnails.

You then review and select the images you want to edit. For each one, you adjust exposure, white balance, contrast, shadows, highlights, and color. Because you are working with raw data, these adjustments are non-destructive — you can change your mind at any point without losing quality. Once you are happy with the edit, you export the image as a JPEG, TIFF, or PNG for sharing, printing, or further work in Photoshop.

The raw file itself never changes. Your editing software stores your adjustments separately, in a sidecar file or in its own database. This means you can always go back to the original raw file and start over, or create multiple edited versions from the same raw file. This flexibility is one of the main reasons professionals use raw.

Frequently Asked Questions

Can I convert a JPEG to raw?

No. A JPEG has already been processed and compressed by your camera. Converting it to a raw file format does not restore the lost data. You must shoot in raw mode from the start to capture raw data. If you only have JPEGs, edit them as JPEGs — they will not improve by changing the file extension.

Do I need raw files for printing?

Not necessarily. A well-exposed JPEG prints fine for most purposes. Raw becomes important when you need to recover detail, correct exposure mistakes, or have precise control over color — common in professional printing and large prints where quality matters most. For standard prints, JPEG is usually sufficient.

Why is my raw file so much duller than the JPEG from the same shot?

Your camera applies color saturation, contrast, and sharpening to JPEGs automatically. Raw files show the sensor data without these adjustments, so they look flat and muted by comparison. This is normal. When you edit the raw file and apply your own adjustments, it will look as vibrant as the JPEG — and you have full control over how vibrant.

Will raw files from my camera open in software from ten years from now?

Probably, if you use DNG format. Manufacturer-specific formats like Canon's CR3 depend on Adobe and other software makers continuing to support them. DNG is an open standard, so it is more likely to remain readable long-term. If you want your raw files to last, convert them to DNG or keep them alongside DNG copies.

Can I edit raw files on my phone?

Some apps support it — Lightroom Mobile, Capture One, and others can open and edit raw files on iOS and Android. However, most phones do not shoot raw natively, so you would need to transfer raw files from your camera first. For most mobile users, editing JPEGs or the phone's native format is simpler and faster.