Back to Glossary
Media Management

Separate RAW and JPEG Files

Separating RAW and JPEG files means moving the two formats a camera writes in RAW+JPEG mode into different folders. It keeps unprocessed sensor data apart from ready-to-share images, and each pair stays linked by its shared base filename. Photographers do it to make culling, editing, backup, and storage decisions simpler.

Put this into practice

Sortio applies the idea below to a real folder: describe how you want files organized, review the proposed moves, then apply. Rule-based sorting is free and unlimited.

Last updated: 10/15/2026
Media Management

Separate RAW and JPEG Files, explained

Many digital cameras can record every shot twice: once as a RAW file holding the unprocessed sensor data, and once as a JPEG processed in the camera. Both copies usually get the same base filename and different extensions, such as IMG_4821.CR3 and IMG_4821.JPG. RAW extensions depend on the manufacturer. Common ones are .CR2 and .CR3 (Canon), .NEF (Nikon), .ARW (Sony), .RAF (Fujifilm), .ORF (Olympus and OM System), .RW2 (Panasonic), and .DNG (Adobe's open format, which several camera makers also use).

When both formats land in one folder, the file count doubles. Browsing gets cluttered, and it's easy to edit the wrong version or send a client a file they can't open. Separating RAW and JPEG files into different folders gives each format a clear job. The JPEGs are there for quick previews, sharing, and proofing. The RAW files are kept for editing and archiving.

This matters for file organization because the two formats need different handling. RAW files are larger and need specialized software. They often deserve their own backup and archive rules. JPEGs are lighter, open almost anywhere, and are often the only files a collaborator or family member needs. Splitting them early makes each of these later decisions simpler.

How Separate RAW and JPEG Files works in practice

The basic method is to sort by file extension. Every file with a RAW extension goes into one folder, such as RAW, and every .JPG or .JPEG file goes into another. Photographers often nest these inside a shoot or date folder, for example 2026-10-12_Wedding/RAW and 2026-10-12_Wedding/JPEG. That way the two halves of each pair stay side by side in the hierarchy. Because the base filenames don't change, you can still match IMG_4821.JPG to IMG_4821.CR3 later. Sidecar files, usually .XMP files that store edits and metadata for a RAW image, should move with their RAW file. If they don't, your adjustments in the editing software may no longer be found.

You can do this by hand in Finder or File Explorer by sorting a folder by kind and dragging the groups. You can also write scripts, or use a tool that applies rules for you. With Sortio, you describe the result you want in plain language, such as "Put RAW files (.CR3, .NEF, .ARW, .DNG) in a RAW folder, put JPEGs in a JPEG folder, and keep .XMP files with their RAW files." Sortio then proposes the moves based on filenames and metadata. It doesn't need to open the images, and it backs up files before making changes so you can revert the operation. AI-powered sorting learns from your preferences; results may vary by file type and complexity.

Why Separate RAW and JPEG Files matters

Cuts clutter while browsing, because each folder holds one version of each shot
Lowers the risk of editing a JPEG when you meant to work on the RAW file
Lets you give large RAW folders their own backup, archive, or external-drive rules
Makes proofing and sharing easier, since JPEGs can go to clients or family without exposing RAW files
Keeps RAW and JPEG pairs matched through their shared base filenames
With Sortio, you can describe the split once in plain language and review the proposed moves before applying them, with a backup you can revert

Common challenges and fixes

Challenge:

Moving files outside an editor like Lightroom Classic can make the catalog show photos as missing. By default, Lightroom Classic also stacks RAW+JPEG pairs as a single photo.

Solution:

Separate files before import, or move folders from inside the editor so it updates its records. If you want both formats as separate photos, turn on the option in Lightroom Classic's preferences to treat JPEG files next to RAW files as separate photos.

Challenge:

Mixed camera systems produce many different RAW extensions, and some cameras save HEIF instead of JPEG, so a simple rule can miss files.

Solution:

Build a complete list of extensions from a sample of each camera's files, including .DNG, .HEIC, and .HIF where relevant. Review any leftover files after the first sort.

Challenge:

Renaming one format without the other breaks the filename link between pairs, which makes it hard to find the RAW that matches a selected JPEG.

Solution:

Rename both folders with the same rule, ideally based on capture date and the original sequence number, or wait to rename until culling is finished.

Best practices

Separate files before importing them into a catalog-based editor, so the catalog records their final locations
Keep both format folders inside the same shoot or date folder so related pairs stay close together
Move XMP sidecar files with their RAW files and never leave them behind in the JPEG folder
Keep original filenames until the split is done, and rename only afterward with a scheme applied to both formats
List every RAW extension your cameras produce, including older bodies and second shooters, so no files are left unsorted
Set up a Smart Folder in Sortio to apply the same RAW and JPEG split to new card imports, and check the activity log after each run

Where Sortio fits

If separate raw and jpeg files is the problem you are wrestling with, Sortio is built for it. Type a prompt like "organize these by client and year", review the proposed moves, then apply. Rule-based sorting, semantic search, and file chat are free and unlimited, and every sort can be undone.

Try Sortio on a real folder

Frequently Asked Questions

Why does my camera save both RAW and JPEG versions of each photo?

Your camera is probably set to RAW+JPEG mode. The JPEG gives you a processed image that opens anywhere and reflects your in-camera picture style. The RAW file keeps the full sensor data for detailed editing later. Many photographers like having both, but they need to be organized so the folder doesn't double in size and get confusing.

How do I separate RAW and JPEG files into different folders automatically?

Sort by file extension. Send RAW formats like .CR3, .NEF, .ARW, and .DNG to one folder and .JPG files to another. In Sortio, you can type that instruction as a prompt, review the proposed moves, and revert them later if needed. Offline mode processes files locally on your device without cloud connectivity.

Will separating RAW and JPEG files break my Lightroom catalog?

It can, if the files are already imported and you move them in Finder or File Explorer. Lightroom Classic will then show them as missing until you relink the folders. To avoid this, separate files before import, or move folders from inside Lightroom Classic so the catalog updates their locations.

Where should XMP sidecar files go when I split RAW and JPEG files?

Keep each .XMP file in the same folder as its RAW file, with the same base filename. Sidecars store edits, ratings, and metadata for the RAW image. If you separate them, your editing software may not find those adjustments.

Can I delete the JPEGs once my RAW files are separated?

You can, but wait until your RAW files are backed up and you've confirmed you don't need the in-camera look, such as film simulations or picture styles, which RAW editors may not reproduce. Many photographers keep the JPEGs for proofing and quick sharing and archive them with the RAW files.

Related Terms