Basics

RAW or JPEG? Choosing your camera's file format

What changes when you switch from JPEG to raw, what raw costs you in card space and editing time, when Raw + JPEG makes sense, and how to convert raw files in the camera — from Nikon's own explanations.

A raw photo of a passion flower open in RawTherapee editing software, with a tone curve and highlight controls beside it
A raw file being developed in RawTherapee, a free raw editor · Photo: DrSlony, CC BY-SA 3.0

Most DSLR and mirrorless cameras, and many compacts, give you a choice in the image quality menu: JPEG, raw, or both at once. It's one of the first settings worth deciding on with a new camera, because it changes how much you can rescue later and how quickly your card fills.

What the camera does with each

JPEG. The camera processes the picture as it takes it, applying its own colour, contrast, sharpening and white balance, then compresses the result into a small, standard file. Nikon describes JPEG as a standard format that opens on computers, phones and tablets without special software, which is why it is the easy choice for sharing. The trade-off is that the camera's decisions are "baked in". Nikon notes that edits to a JPEG are destructive and cost a slight loss of quality each time.

Raw. A raw file keeps all the image information the sensor captured, along with details of the camera, lens and settings. Nothing is fixed: white balance, tone and sharpening are stored as instructions rather than applied to the pixels. Each maker has its own raw format; Nikon's, for example, uses the .nef extension. Raw files have to be processed ("developed") before they can be shared as an ordinary picture, and processing doesn't change the raw data, so you can go back and develop the same file differently later.

Why raw gives you more room to edit

  • More tonal steps. A JPEG is an 8-bit file. Nikon says its higher-end cameras record raw files at 12 or 14 bits, which gives much finer steps between tones. In practice that means smoother skies, with less risk of visible bands (posterisation) when you edit.
  • More latitude. Nikon's point is that the extra data gives you more room to pull back highlights, lift shadows or correct a picture that came out too bright or too dark. If your exposures are always spot on, that matters less.
  • White balance after the fact. Because white balance is only an instruction in a raw file, you can change it on the computer without any loss. That is handy under the mixed lighting of a kitchen or a Christmas tree; see our post on family photos at Christmas.

What raw costs you

  • Bigger files. Nikon says raw files are much larger than JPEGs. They fill your memory card and your computer faster.
  • Shorter bursts. Nikon also notes that raw fills the camera's buffer more quickly, so a burst of continuous shots ends sooner.
  • Time and software. Every raw file needs developing before you can share it. Nikon's own software reads its cameras' picture settings; it says third-party editors can't read many of them, so a raw file may look different on screen until you adjust it.

Raw + JPEG: having both

Many cameras can record a raw file and a JPEG of the same shot at once. Nikon suggests this as the middle way: the JPEG is ready to share straight from the camera, and the raw file is there if a picture needs more work. It also uses the most card space.

Two things to know about this mode, from Nikon's Z5II manual:

  • On a camera with two card slots you can usually choose where each goes — for example, raw files to the first card and JPEGs to the second.
  • With one card in the camera, deleting the JPEG copy during playback can delete the raw file with it.

Converting raw files in the camera

You don't always need a computer. Many cameras have a raw processing option in the playback or retouch menu that saves a JPEG copy of a raw file. On the Nikon Z5II, for instance, you can adjust white balance, Picture Control, exposure compensation (within ±2 EV) and more before the copy is made, and the original raw file is left as it was. Nikon notes it only works on raw files taken with that model.

JPEG settings worth checking

If you shoot JPEG, check the quality level. Nikon's cameras offer fine, normal and basic, with fine giving the highest quality and basic the smallest files. Also look at the camera's picture style setting (Nikon calls it Picture Control), because with JPEG that is what sets the contrast, saturation and sharpening you'll get. Some newer cameras can also save HEIF files in certain modes; the Z5II does this in its HLG tone mode.

Which should you choose?

You...Try
Want photos ready to share straight away, mostly in good lightJPEG (fine)
Like editing, or shoot tricky light, skies, snow or night scenesRaw
Aren't sure, and have card space to spareRaw + JPEG
Shoot long bursts of sport or wildlifeJPEG, or check how many raw frames your camera's buffer holds

Nikon's own advice is that there's no single right answer: if you only shoot JPEG, try raw for a few days, and if you shoot only raw, ask whether every picture really needs editing.

See also the camera specs that matter and the RAW entry in the glossary.

Sources

Checked on 23 November 2026.

Last updated 23 November 2026. Some links on this page go to Amazon or other shops; we may earn a commission. As an Amazon Associate I earn from qualifying purchases.