What RAW and JPEG are, and why you might need to convert
RAW is a photo format that stores nearly all the information your camera captured — every pixel's color, brightness, and detail — with almost no processing applied. JPEG is a compressed format that throws away some of that detail to make a much smaller file. When you convert RAW to JPEG, you are turning a large, editable master file into a smaller, finished image that works everywhere: email, social media, printing, sharing with others.
Most cameras let you shoot in JPEG directly, which saves you the conversion step. But if you shot in RAW because you wanted more control over color, exposure, or shadow detail during editing, you will need to convert to JPEG when you are done — because RAW files do not display in most programs, and they are too large to email or post online.
The conversion happens inside photo editing software. You edit the RAW file, then export or save it as JPEG. The software bakes in all your edits and compresses the result into a standard image file.
Key Takeaways
- RAW files contain unprocessed camera data and are only editable in photo software; JPEG is a compressed format that displays everywhere and is ready to share.
- You convert RAW to JPEG by opening the RAW file in photo editing software, making any edits you want, then exporting or saving the file as JPEG.
- Free software like Lightroom Classic (free trial), Darktable, or RawTherapee can open and convert RAW files without paying for expensive programs.
- When you export to JPEG, the software asks you to choose a quality level; higher quality means a larger file and more detail, lower quality means smaller file and less detail.
- Once you export to JPEG, that becomes your finished image — keep the original RAW file if you might want to re-edit it later with different settings.
Opening a RAW file in photo software
RAW files have different names depending on your camera brand: Canon uses .CR2 or .CR3, Nikon uses .NEF, Sony uses .ARW, and so on. Your computer's default photo viewer will not open them — you need software designed to read RAW data.
Adobe Lightroom is the most common choice for photographers, but it requires a subscription. If you own Lightroom Classic (a one-time purchase), it opens RAW files and exports to JPEG. If you want free software, Darktable and RawTherapee both open RAW files from any camera and export to JPEG at no cost. Both run on Windows, Mac, and Linux.
Open your RAW file in whichever software you choose. The image will appear on screen, and you can now adjust exposure, color, contrast, shadows, and highlights before converting.
Editing before you convert
The reason to shoot RAW in the first place is that RAW files hold more information, so you have more room to adjust without losing quality. If your photo is too dark, you can brighten the shadows without making them grainy. If the colors are off, you can shift the white balance without destroying detail. If the sky is blown out, you might recover some of it.
Make whatever edits you want in the software. Crop the image, adjust the exposure slider, change the white balance, increase contrast, reduce noise — all of this happens to the RAW data, not to a compressed JPEG. The software is not changing the original file; it is storing your edits as instructions and showing you a preview.
When you are happy with how the image looks, move to the export step. Do not save the RAW file itself — save or export it as JPEG instead.
Exporting to JPEG and choosing quality settings
In Lightroom, go to File > Export. In Darktable, go to Image > Export. In RawTherapee, go to File > Export Image. The software will ask you where to save the file and what format to use — choose JPEG.
Next comes the quality slider. JPEG quality usually ranges from 1 to 100, where 100 is the highest quality (largest file, most detail) and 1 is the lowest (smallest file, visible artifacts and blurriness). For photos you plan to print or display large, use 85 to 95. For photos you plan to email or post online, 75 to 85 is usually fine — the difference is hard to see on screen, and the file size is much smaller.
Choose a filename and location, then click Export. The software converts the RAW file to JPEG using your edits, compresses it to the quality level you chose, and saves it as a new file. Your original RAW file stays unchanged.
What happens to your original RAW file
When you export to JPEG, you are creating a new file. The RAW file remains on your hard drive, untouched. This is intentional — RAW is your master copy, and JPEG is your finished version.
If you later decide you want to re-edit the photo with different settings, open the RAW file again and export a new JPEG. You can make as many JPEGs from one RAW file as you want, each with different edits. This is one of the main reasons photographers shoot RAW: the ability to revisit and change their mind without losing quality.
Over time, RAW files take up a lot of storage space. Many photographers keep RAW files on an external hard drive or cloud storage, and keep only the JPEG versions on their computer for everyday use.
Batch converting multiple RAW files at once
If you shot a whole event or trip in RAW and want to convert all the photos to JPEG with the same edits, you do not have to export one at a time. Most photo software lets you batch export.
In Lightroom, select all the photos you want to convert (or use a filter to show only the ones you edited), then go to File > Export. The software will export all of them to JPEG in one go. In Darktable and RawTherapee, the process is similar: select multiple files, then export.
If all the photos need the same basic edits — the same white balance, the same exposure adjustment — you can explore those edits to one photo, then copy the settings to all the others before exporting. This saves time and keeps your photos looking consistent.
Common mistakes when converting RAW to JPEG
The biggest mistake is deleting the RAW file after you export to JPEG. Once it is gone, you cannot re-edit the photo later. Keep both files: RAW as your master, JPEG as your finished version.
Another common mistake is exporting at too low a quality setting. If you are not sure, start at 85 and look at the result on screen. If it looks sharp and detailed, you can go lower next time. If it looks soft or blurry, go higher.
A third mistake is exporting to JPEG, then trying to edit the JPEG and export it again. Each time you save a JPEG, it compresses again and loses more detail. Always edit the RAW file and export to a new JPEG if you want to make changes.
Frequently Asked Questions
Can I convert RAW to JPEG on my phone?
Most phone cameras shoot JPEG by default, not RAW. Some newer phones and camera apps let you shoot RAW, but converting RAW to JPEG on a phone is difficult because phone photo apps are not designed for RAW editing. Transfer the RAW file to a computer and use desktop software instead.
What if I do not have photo editing software?
read Darktable or RawTherapee — both are free and open-source. They open RAW files from any camera and export to JPEG. If you want a simpler option, some online converters accept RAW files, but uploading your photos to a website means they are no longer private.
Does converting RAW to JPEG lose quality?
Yes, but only the quality you chose to lose. JPEG compression throws away some detail to make the file smaller. If you export at quality 90 or higher, the loss is invisible to the human eye. If you export at quality 60, you will see artifacts and softness. The RAW file itself is never changed.
Can I convert JPEG back to RAW?
No. Once a photo is compressed to JPEG, the lost detail is gone forever. You cannot recover it by converting back. This is why photographers keep the RAW file — it is the only version that holds all the original information.
What is the difference between export and save in photo software?
Save usually means saving in the software's native format (Lightroom saves as .lrcat, Photoshop saves as .psd). Export means converting to a standard format like JPEG, PNG, or TIFF that other programs can open. When converting RAW to JPEG, you always use Export, not Save.