A RAW file is not a finished photo. It is the unprocessed data straight off the camera's sensor, holding far more tonal and color information than a normal image, which is why photographers shoot RAW when they plan to edit.[2] A JPG is a finished, compact image ready to view, send, and print. Converting RAW to JPG is really the act of developing that sensor data into a viewable picture.
That word, developing, matters. A RAW file has to be interpreted before it looks like a photo, and the conversion makes a set of decisions on your behalf: white balance, contrast, and color rendering. This guide explains what a RAW file actually contains, how the sensor data is turned into a color image through a process called demosaicing, exactly which stages the developing pipeline runs through, and why the RAW is the file you should keep even after you have your JPG.
What developing a RAW file means
The sensor records brightness data in a form that is not directly a color image. Turning it into a JPG involves demosaicing, which reconstructs full color for every pixel, then applying a rendering that sets white balance, contrast, and saturation, and finally compressing the result as a JPG. When a converter does this automatically, it applies sensible default choices rather than the deliberate ones you would make in an editor.
The output is a normal photograph that opens anywhere and is a fraction of the RAW file's size. What it is not is the full-latitude file you started with. A JPG holds far less headroom in shadows and highlights, so heavy edits that a RAW would shrug off can push a JPG into visible banding or clipping. The reason lies in bit depth: most cameras record RAW at twelve or fourteen bits per channel, giving between 4,096 and 16,384 possible levels of brightness for each color, whereas a standard JPG is limited to eight bits, or just 256 levels.[2] That extra precision is exactly the headroom you burn through when you brighten a shadow or recover a highlight, and it is gone once the file is a JPG.
RAW to JPG develops sensor data into a finished, shareable photo using automatic settings. The picture becomes small and universal, but loses the RAW's bit depth and editing latitude.
RAW and JPG: sensor data versus a finished photo
The two files sit at opposite ends of the imaging pipeline, and understanding the gap explains why the conversion is a one-way street. A RAW file is not really a single standardized format at all but a family of proprietary formats, one per manufacturer: Canon's CR2 and CR3, Nikon's NEF, Sony's ARW, Fujifilm's RAF, and dozens more, each wrapping the sensor readout in its own container alongside a batch of metadata.[1] Inside, a RAW file typically holds the near-linear digital values read from each photosite on the sensor, a small embedded JPG preview so the camera can show you the shot on its screen, and a block of metadata recording the exposure, lens, and the camera's suggested white balance and color profile. Crucially, none of the creative rendering is baked in: the RAW stores what the sensor measured, not what a finished photo should look like.
A JPG is the opposite. The JPEG standard, published as ISO/IEC 10918, defines a lossy compression scheme that takes a fully rendered color image and packs it into a small file by discarding the high-frequency detail the human eye is least likely to notice.[3] On disk, the compressed data is almost always wrapped in the JFIF interchange structure that gives ordinary photo files their familiar layout.[4] A JPG has already had every rendering decision made for it and permanently applied. That is what makes it small and universal, and also what makes it a dead end for further heavy editing.
Demosaicing: how one color per pixel becomes three
The single most important thing to understand about RAW conversion is that a camera sensor does not actually capture color at each pixel. Almost every sensor is a grid of monochrome light detectors covered by a color filter array, most commonly a Bayer pattern, in which each photosite sits under a red, green, or blue filter. Because the human eye is most sensitive to green, the Bayer arrangement uses twice as many green filters as red or blue, laid out in a repeating two-by-two tile of one red, two green, and one blue. Each pixel in the RAW therefore records the brightness of only one color: it knows how much green light hit it, but nothing about the red or blue at that exact spot.
Demosaicing is the algorithm that fills in the two missing colors at every pixel by interpolating from the neighbors. A green pixel borrows red and blue estimates from the red and blue photosites around it, and so on across the whole grid. Simple demosaicing just averages the neighbors, which is fast but can produce colored fringes and moire on fine detail. The sophisticated algorithms used in real converters look at edges and gradients so they interpolate along a line rather than across it, which keeps sharp edges clean. This reconstruction is why a RAW converter can extract far more genuine detail than the small JPG preview the camera embedded, and it is a step that happens invisibly every single time a RAW becomes a viewable image.
The camera's own screen shows you that embedded JPG preview, not the RAW itself. The developed file you convert to can look noticeably different, because the converter demosaics and renders the RAW from scratch rather than reusing the preview.
The development pipeline, step by step
A RAW-to-JPG conversion runs the sensor data through a fixed sequence of stages, and each one is a decision that an editor would let you control by hand. Knowing the order clarifies what the automatic conversion is choosing for you.
First the converter reads the raw sensor values and applies black-level and white-balance correction, scaling the red, green, and blue channels so a neutral gray in the scene comes out neutral rather than tinted. Next comes demosaicing, reconstructing full color at every pixel as described above. Then the near-linear sensor data is pushed through a tone curve and gamma encoding, which is what turns the flat, dark-looking linear capture into an image with normal contrast and brightness. After that the converter applies color-space conversion, mapping the sensor's native color response into a standard space such as sRGB so the colors look right on ordinary screens. Optional noise reduction and sharpening may follow. Only at the very end is the finished image handed to the JPEG encoder, which compresses it into the small file you download. Every stage before that last one is a rendering choice; the JPEG step is where the result is frozen and detail is discarded for good.
Convert RAW to JPG in your browser
Open the converter and add your RAW
Open the FileFormer image converter and drop your RAW file in. It runs on your device, so your photo is never uploaded.
Select JPG as the target
Choose JPG from the output formats. The tool demosaics and renders the sensor data into a standard color image.
Set the quality
Keep quality high for photographs so fine detail and smooth gradients survive. JPG is lossy, and low quality shows quickly on real photos.
Convert and download
Export the JPG and review it. If the automatic white balance or contrast is not to your taste, that is a sign to edit the RAW first rather than the JPG.
Quality and what you give up
The JPG will look good, but understand what the conversion decided for you and what it dropped.
| What the JPG gains | What the RAW held that the JPG loses |
|---|---|
| Small, universal file | Wide dynamic range in shadows and highlights |
| Opens on any device | Freedom to reset white balance later |
| Ready to print or post | Extra bit depth for heavy edits |
| Fast to send | Non-destructive editing headroom |
If you want to fine tune exposure or color, do it in a RAW editor before converting. Edits made on the developed JPG have far less room before they degrade the image.
Settings that shape the JPG
Two settings do most of the work in a RAW-to-JPG conversion, and they pull in opposite directions. The quality level controls how aggressively the JPEG encoder discards detail, and the output size controls the pixel dimensions. The table below shows how to think about them for common goals.
| Goal | Quality | Size and notes |
|---|---|---|
| Archive-grade export | Maximum (95 or higher) | Full resolution; artifacts effectively invisible |
| Print proof or portfolio | High (85 to 92) | Full resolution; a strong balance of size and fidelity |
| Web or social sharing | Medium-high (75 to 85) | Resize the long edge to around 2,000 px |
| Email or quick preview | Medium (60 to 75) | Resize smaller; softness is acceptable here |
The reason photographs need higher quality than flat graphics is the way JPEG compresses. It works in eight-by-eight pixel blocks, and when pushed too hard it produces visible blockiness and haloing around high-contrast edges. On a smooth photograph with gentle gradients this shows up as blotchy skies and mushy fine detail well before it would on a simple diagram, so keeping quality high is the single best defense against a disappointing export.
Keep the RAW for real editing
The JPG is a deliverable, not an archive. If you might ever want to re-edit the shot, recover a blown highlight, or change the white balance, you need the RAW, because none of that latitude survives in the JPG. Treat the JPG as the export you share and keep the RAW as the negative. This is the same logic film photographers followed: you print as many photos as you like, but you never throw away the negative, because every future print comes from it.
There is a subtle trap worth naming. Because the RAW converter bakes its automatic white balance and tone choices into the JPG, a JPG that looks slightly too warm or too flat cannot simply be dialed back to neutral the way the RAW can. The correction has already been applied and the discarded information cannot be recovered. If the automatic rendering is not to your taste, that is the signal to open the RAW in a proper editor and develop it deliberately, rather than trying to rescue the JPG.
RAW to JPG versus PNG, TIFF, and DNG
JPG is the right target when you want a small, universal, shareable photo, but it is not the only way to develop a RAW, and the alternatives matter when fidelity is the priority.
RAW to PNG develops the same sensor data but stores the result losslessly, so no compression artifacts are introduced at all. The file is much larger than a JPG, which is why RAW to PNG makes sense for a developed image you plan to edit further or composite, but rarely for casual sharing. TIFF is the traditional archival export from a RAW editor: it too is lossless and, unlike a standard PNG, can hold sixteen bits per channel, preserving more of the RAW's tonal precision for print work. DNG (Adobe's Digital Negative) is different in kind, because it is not a developed image but a standardized RAW container; converting a proprietary RAW to DNG keeps the full sensor data and editing latitude while replacing the manufacturer's format with an open one. In short: reach for JPG to share, PNG or TIFF for a lossless developed copy, and DNG only when you want to preserve the RAW itself in an open form.
Develop your RAW to JPG now
Turn sensor data into a shareable photo, all in your browser with nothing uploaded.
Key takeaways
- RAW to JPG develops sensor data: demosaicing, white balance, tone, and color are all applied automatically.
- The JPG is small and universal but drops from 12 to 14 bits down to 8, so it has far less editing latitude.
- Keep quality high; JPEG's block-based compression shows on real photos before it shows on graphics.
- Always keep the RAW as your editable negative; choose PNG, TIFF, or DNG when fidelity beats file size.