If you edit RAW photos in Apple Photos, Lightroom, or Capture One, you have likely encountered XMP sidecar files. These small, text-based files store your edits, IPTC metadata, keywords, and ratings without altering the original image data. While this is great for non-destructive editing, it creates a major headache when you need to move your work between applications: you end up with a folder full of photos and a matching folder full of XMP files that need to be merged. If you want to write the XMP metadata into the original photos, processing each file individually can be extremely time-consuming.
So, how can you batch merge XMP sidecar files into photos on Mac?
In this guide, we'll show you how to use Photo Exifer, a Mac photo metadata editor, to read metadata from multiple XMP files and write supported information into their corresponding image files in one batch operation.
What Is an XMP Sidecar File?
When you adjust a RAW file, the editing software cannot save the changes directly into the proprietary RAW format. Instead, it creates a companion Extensible Metadata Platform (XMP) file.
For example:
• IMG_001.CR3 – Original Canon RAW photo.
• IMG_001.xmp – Corresponding XMP sidecar file.
This sidecar contains all the "instructions" for the edit, along with metadata like copyright, captions, and location data.
Depending on the software that creates it, an XMP file may contain information such as:
• IPTC Metadata: Copyright, creator, description, keywords, captions, and location information.
• Photo Ratings: Star ratings and other organizational information.
• Editing Information: Supported development settings and adjustments made in applications such as Lightroom.
• Other Metadata: Additional descriptive information associated with the image.
The problem arises when you export those originals or move them to a new library. The photo and the XMP file can become separated. To make the edits permanent or visible in software that does not read sidecars, you must write the XMP metadata back into the photo file itself. For a single image, this is quick. For a wedding shoot or a stock photography portfolio with hundreds of images, you need a batch solution.
How to Batch Merge XMP Sidecar Files into Photos on Mac
Photo Exifer is a Mac photo metadata editor that provides a dedicated feature called Write XMP File to Photos.
It allows you to read supported metadata from XMP sidecar files and write it into corresponding image files, making it particularly useful when working with large photo collections.
Instead of opening and processing each photo separately, you can select a folder containing multiple photos and their matching XMP files.
Follow these steps:
Step 1: Organize Your Folder
Place all the photos you want to update and their corresponding .xmp files in the same folder. The app relies on matching file names (e.g., IMG_001.CR3 and IMG_001.xmp) to pair them correctly.
Step 2: Launch Photo Exifer
Download and install Photo Exifer on your Mac.
Step 3: Select the Merge Tool
Run Photo Exifer, click on the "Quick Action" button on the main interface, from the dropdown menu, choose "Write XMP File to Photos".
This feature is designed to read metadata from XMP sidecar files and write supported metadata into their corresponding photos.

Step 4: Select the Folder Containing Your XMP Files
Click Open XMP Folder and select the folder containing your photos and XMP sidecar files.

Photo Exifer will scan the folder, identify matching files, and process the available XMP metadata.
Let the Batch Process Run: Photo Exifer will automatically scan the folder, read the metadata from every XMP file, and write those tags into the corresponding photo files. Once finished, it will open the folder containing your updated images.
Tip: Before performing a large batch metadata operation, back up your original photos. This gives you a safe way to restore the original files if you need to reverse any changes.
Why Choose Photo Exifer for Batch XMP Merging?
While command-line tools like ExifTool are powerful, they require technical knowledge and careful syntax. Photo Exifer provides a visual, user-friendly alternative specifically built for the Mac ecosystem.
Here are some of its advantages:
1. Batch Metadata Processing
Working with hundreds or thousands of photos can make manual metadata editing impractical.
Photo Exifer provides batch operations that help you process multiple images together, saving time when managing large photography collections.
2. Support for Multiple Photo Formats
It handles JPG, HEIC, Live Photos, and a wide array of RAW formats, including CR3, NEF, ARW, DNG, and RAF and more.
3. More Than an XMP Metadata Tool
Photo Exifer is also a comprehensive photo metadata editor. Besides merging XMP files, you can use it for other photo management tasks.
Some useful features include:
• Batch Edit EXIF Metadata: Modify photo dates, camera information, and other supported metadata fields.
• Remove Photo Metadata: Delete GPS coordinates and other selected metadata to help protect your privacy.
• Merge Google Takeout JSON Files: Write supported metadata from Google Takeout JSON files into corresponding photos.
• Edit Photo Information: View and manage various EXIF, IPTC, and other metadata fields.
Troubleshooting Common XMP Merging Problems
If Photo Exifer cannot find or merge some XMP files, check the following potential issues.
1. Photo and XMP Filenames Do Not Match
The most common issue is an incorrect filename.
For example:
• Photo: DSC_1234.NEF
• XMP: DSC_1234.xmp
These files share the same base filename and can be matched.
However, if your XMP file is named DSC_1234.NEF.xmp, the naming convention may prevent automatic matching.
Check that your photo and sidecar filenames follow the naming convention required by Photo Exifer.
2. macOS File Permissions
macOS may restrict an application's access to certain folders and files.
If Photo Exifer cannot read your XMP files or write metadata to your photos, check its permissions under:
System Settings > Privacy & Security
Make sure the application has the necessary access to the folders containing your images.
Conclusion
XMP sidecar files are useful for storing photo metadata and non-destructive editing information, but managing separate files can become inconvenient when working with large photo collections.
If you need to batch merge XMP sidecar files into photos on Mac, Photo Exifer provides a convenient graphical solution. Its Write XMP File to Photos feature helps you process multiple sidecar files and write supported metadata into their corresponding images without manually editing each photo.
Beyond XMP merging, Photo Exifer also offers batch EXIF editing, metadata removal, Google Takeout JSON merging, and other useful photo management tools.
Whether you're a professional photographer managing thousands of RAW files or simply organizing your personal photo collection, Photo Exifer can help simplify your metadata workflow.
Download Photo Exifer for Mac and make managing photo metadata easier!
| More Related Articles | ||||
![]() |
1. How to find and remove duplicate photos from Photos? 2. How to batch rename photos within the Photos app on Mac? |
|||
About Fireebok Studio
Our article content is to provide solutions to solve the technical issue when we are using iPhone, macOS, WhatsApp and more. If you are interested in the content, you can subscribe to us. And We also develop some high quality applications to provide fully integrated solutions to handle more complex problems. They are free trials and you can access download center to download them at any time.
| Popular Articles & Tips You May Like | ||||
![]() |
![]() |
![]() |
||
| Five ways to recover lost iPhone data | How to reduce WhatsApp storage on iPhone | How to Clean up Your iOS and Boost Your Device's Performance | ||



