---
title: "RAW vs JPEG: Which Format Should You Edit?"
description: "One exposure, two records: sensor readings and a finished rendering. The gain is bit depth rather than resolution, and the trade-offs decide what stays fixable later."
canonical: "https://freeaigeneration.com/en/guides/raw-vs-jpeg-which-format-should-you-edit/"
robots: "noindex"
lang: "en"
---

# RAW vs JPEG: Which Format Should You Edit?

If your camera hands you a raw file and a JPEG of the same frame, they are not two rival versions of one picture. They are two different records of one exposure: the sensor readings, and a finished rendering made from them. Editing one is not like editing the other, and the choice changes what you can still change later.

RAW vs JPEG usually turns into an argument about quality. The more useful question is headroom: how much of the original signal reaches the moment you sit down to work, and how many decisions the camera has already made on your behalf.

## What each file actually keeps

A raw file is sensor data plus metadata, not something a viewer can display as-is. Each photosite recorded one brightness value through a colour filter, at 12, 14 or 16 bits of precision, and colour only appears after demosaicing, when neighbouring photosites are combined into RGB pixels. No tone curve has been applied at that stage, which is why a raw frame often opens looking darker and flatter than the JPEG beside it. White balance is stored as metadata, so the camera's value is a proposal that a converter can replace.

A JPEG has already run that entire pipeline. Demosaic, white balance, a tone curve and sharpening all happened inside the camera, and the result was quantised to 8 bits per channel. None of those steps can be undone by opening the file, which is why a badly balanced JPEG stays that way.

## The gain is bit depth, not resolution

Fourteen bits gives 16,384 levels per photosite; an 8-bit channel holds 256. That is 64 times more steps between black and white, and those steps are what an aggressive shadow lift or highlight pull actually consumes. The pixel count does not change: a 24-megapixel camera produces 24-megapixel files in either format.

Storage behaves less intuitively than people expect. A 24 MP frame (6,000 × 4,000) at 14 bits is 336,000,000 bits, so about 42 MB. The same frame as uncompressed 8-bit RGB would be 576,000,000 bits, or 72 MB. A camera JPEG is smaller than both because it discards information within each channel and then compresses what remains. Raw is not automatically the larger file on disk.

## Where each one is the better tool

Reach for the raw file when the light was wrong or mixed, when the frame needs two different renditions for different destinations, when you expect to revisit the edit months later, or when the highlight and shadow detail has to survive a strong grade. The parameters stay adjustable, which is the whole point of the format.

Reach for the JPEG when the camera got the exposure and colour right, when you need many files quickly at a manageable size, or when the destination will re-encode the file anyway. A correctly exposed JPEG developed in camera is a legitimate delivery format, not a failure of nerve.

## Trade-offs that catch people out

The first is compatibility. An extension names a vendor format, not a supported one: `.cr2` and `.cr3` are Canon raw files, `.nef` is Nikon, `.arw` is Sony, and `.cr2` is a different format from `.cr3`. No camera-by-camera compatibility list is published for the RAW Photo Editor, so the honest advice is to open one frame from your camera before you commit a shoot. The walkthrough on [opening CR2, CR3, NEF and ARW files](/en/guides/how-to-open-cr2-cr3-nef-and-arw-files-online/) covers the extension map and the ordering of that test.

The second is the preview trap. The image on the camera's rear screen is a JPEG rendering, produced with the camera's own curve, sharpening and white balance. Judging a raw file by that thumbnail leads to disappointment in both directions: it can look flat when the data is fine, or vivid when the data is thin.

The third is what no format can fix. A photosite that reached saturation recorded no detail, and no amount of exposure reduction invents it. Raw buys you steps, not resurrection.

The fourth is the editing model. Developing a raw frame means writing a set of adjustments and re-rendering them, rather than painting over pixels; the difference matters most when you reopen a project a month later. [Non-destructive RAW editing](/en/guides/what-is-non-destructive-raw-editing/) explains what that means for storage and for what survives a closed tab.

## Deciding in practice

Use raw whenever the frame may need reinterpretation: difficult light, mixed sources, a subject that will be graded, an image with a long life ahead. Use JPEG when the frame is finished at capture and speed matters more than latitude. If you are unsure, keep both for the shoot and decide per frame after you see the histogram, not the rear-screen preview.

To put the raw side of that decision into practice, open a frame in the free [RAW Photo Editor](/en/tools/raw-photo-editor/), develop it and export the result. It imports raw and JPEG files, and it runs in the browser with no account. The rest of the [practical guides](/en/guides/) cover the individual steps.
