.XMP

XMP File

Extensible Metadata Platform (sidecar metadata file)
Ask a question
QUICK ANSWER

An XMP file is a small plain-text companion file that stores metadata and editing adjustments (exposure, crop, keywords, ratings) for a camera RAW photo. It works automatically when you open the RAW in Lightroom or Camera Raw. Before deleting it, check whether your edits are also saved in a Lightroom catalog.

Developer: Adobe Systems Category: Misc Files Open standard MIME: application/rdf+xml
OPENS ON Windows macOS
Related: .TORRENT · .MSO · .MD5 · .SHS

On this page

19k+ extensions indexed
Last reviewed Sep 2, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the XMP file format?

XMP file format is used by Adobe software products for storing metadata as a sidecar alongside camera raw photos. .xmp stores edits applied to .CR2, .NEF, .DNG, and other raw formats processed with Camera Raw, Lightroom, or Bridge. The file holds information such as file description, author, keywords, copyright, brightness, exposure, saturation, and more.

.xmp allows users to modify an imported image non-destructively. Users can add keywords and other metadata, edit the image, add ratings, tags, and location data. Modifications made by the user do not change the original image file - the .xmp sidecar is used to keep track of all changes made to the original. Should the .xmp file be lost, all modifications made to the original image would also be lost.

.xmp files are generated alongside related Camera Raw files and stored in the same folder, sharing the base name of the paired image (for example, IMG_0001.cr2 pairs with IMG_0001.xmp). Because XMP uses XML markup with an RDF (Resource Description Framework) structure, files are stored in plain text format, which enables users to open .xmp files in any text editor to view or edit the metadata.

XMP was developed by Adobe with the purpose of creating a file standard for sharing metadata across Adobe products. Beyond the sidecar use case, XMP data can also be embedded directly inside JPEG images, PDFs, and other formats, making the standalone .xmp file one option among several for carrying XMP packets.

Security & safety

RISK: LOW

XMP is passive plain-text metadata - no code, nothing executes, safe to open and read. The only real-world risk is data loss, not malware: deleting a .xmp that holds your only copy of edits (Camera Raw without a Lightroom catalog) loses those edits, and separating a sidecar from its RAW (moving one but not the other) breaks the link so the photo reverts to default. Privacy note: XMP can carry GPS location, author name and edit history, so it may leak metadata you didn't intend to share.

Format details

in a nutshell
FULL NAMEExtensible Metadata Platform (sidecar metadata file)
DEVELOPERAdobe Systemssince 2001 (Adobe XMP); standardized as ISO 16684-1 in 2012
CATEGORYMisc Files
MIME TYPEapplication/rdf+xml
TYPEXML/RDF metadata document (plain text)
STANDARDOpen · royalty-free

Programs that open XMP files

Windows4 apps
Any text editor (Notepad, Notepad++) Open-source Open the .xmp to read the raw XML metadata. Useful to inspect, not to apply edits.
Adobe Lightroom Classic Paid Keep the .xmp next to its RAW; Lightroom reads it automatically when you import/load the photo (Metadata > Read Metadata from File).
Adobe Bridge / Camera Raw Paid Browse the RAW in Bridge; Camera Raw applies the adjacent .xmp edits. The .xmp is the sidecar, not opened on its own.
ExifTool Open-source Run 'exiftool file.xmp' to dump/edit the metadata from the command line; the standard tool for reading XMP.
macOS2 apps
Adobe Lightroom Classic / Bridge Paid Keep the .xmp beside its RAW; Lightroom/Bridge read it automatically. TextEdit can read the XML if you want to inspect it.
ExifTool Open-source Read/write the XMP metadata from Terminal.

Technical details

deep spec
Underlying structureXML with RDF (Resource Description Framework) vocabulary; metadata values written as rdf:Description attributes inside an rdf:RDF block
MIME typeapplication/rdf+xml
Text encodingUTF-8; the file is pure plain text with no binary content
File signatureStandalone .xmp files begin with the XML processing instruction <?xpacket begin=...?> or an <x:xmpmeta xmlns:x="adobe:ns:meta/"> root element; no binary magic number exists
ISO standardStandardized as ISO 16684-1:2012 (XMP Part 1 - Data Model, Serialization, and Core Properties)
XML namespaces usedDublin Core (dc:), XMP Basic (xmp:), EXIF schema (exif:), IPTC Core (Iptc4xmpCore:), Photoshop (photoshop:), Camera Raw settings (crs:)
Embedded formXMP packets can be embedded inside JPEG, TIFF, PDF, PSD, PNG, and INDD files; no separate sidecar file is needed in those cases
Metadata domainsSupports Dublin Core descriptive metadata, EXIF technical data, IPTC/IIM editorial fields, GPS coordinates, Camera Raw develop settings, and custom third-party schemas
Non-destructive editingExposure, white balance, crop, and tone adjustments are stored in the sidecar only; the paired raw file is never modified
Sidecar naming conventionShares the base filename of its paired image and must reside in the same folder (e.g., IMG_0001.cr2 pairs with IMG_0001.xmp)
Lightroom Classic behaviorLightroom Classic stores develop settings in its .lrcat catalog by default; .xmp sidecars are written only on explicit Save Metadata to File or when editing DNG files
Human readabilityFully human-readable and editable; any plain-text editor or XML editor can open, inspect, and modify the properties directly
Custom extensibilityThird-party applications can register proprietary XML namespaces within the same .xmp file alongside standard schemas
Packet wrapperWhen embedded in binary host files, XMP data is enclosed between <?xpacket begin=...?> and <?xpacket end=r?> processing instructions to allow reliable extraction
Released2001 (Adobe XMP); standardized as ISO 16684-1 in 2012
Open standardYes · royalty-free
Specificationwww.adobe.com

XMP conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with XMP files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about XMP files.

Frequently asked questions

What is an XMP file next to my photos?
It's a sidecar - a small text file holding metadata and your edits (exposure, crop, keywords, ratings) for the camera RAW beside it. Adobe Camera Raw/Lightroom write it so they don't modify the original RAW. It's not a viewable image.
Can I delete XMP files?
Usually yes if you use Lightroom Classic - your edits are also in the catalog, so the .xmp is redundant. But if you edited the RAW only in Adobe Camera Raw (no Lightroom catalog), the .xmp may be the ONLY copy of your edits - deleting it loses them.
How do I open an XMP file?
It's plain XML - open it in Notepad/TextEdit to read the metadata, or use ExifTool. To actually USE it, keep it next to its RAW photo and open the photo in Lightroom or Camera Raw, which apply the sidecar automatically.
Do I need to keep the XMP file with my RAW photo?
If your edits/keywords live in the .xmp, yes - keep them together with the same base filename. If you move or back up the RAW, move the .xmp too, or the edits won't follow. With Lightroom catalogs the edits are also stored centrally.
How do I install an XMP preset?
Some Lightroom/Camera Raw presets are shared as .xmp files. In Lightroom, use the Presets panel > Import Profiles & Presets and select the .xmp; it's then available as a one-click look - not a sidecar in this case.
Why are my photo edits gone after moving the files?
The .xmp sidecar probably got separated from its RAW (you moved one without the other) or was renamed. The edits live in the .xmp; reunite it with the RAW (same base name, same folder) and re-read metadata.

References

1ISO 16684-1 - XMP metadata modelwww.iso.org
2Adobe - XMP (Extensible Metadata Platform)www.adobe.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.BINCD/DVD Disc Image (BIN/CUE)
5.RPMSGRestricted Permission Message
6.MDMarkdown Document
7.NOMEDIAAndroid No-Media Marker File
8.PRO6XProPresenter 6 Bundle File
9.PRDXSoftMaker Presentations Document
10.EXEWindows Executable (Portable Executable)

Related extensions

.TORRENTBitTorrent Metainfo File
.MSOMicrosoft Office HTML/OLE Data Stream (oledata.mso)
.MD5MD5 Checksum File
.SHSShell Scrap Object File
.DDDAdobe Acrobat Distiller file
.DWLDrawing Lock File (CAD)

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z