{"id":2440,"date":"2026-08-08T01:46:09","date_gmt":"2026-08-07T22:46:09","guid":{"rendered":"https:\/\/picajet.com\/articles\/glossary\/sidecar-file\/"},"modified":"2026-08-08T03:46:43","modified_gmt":"2026-08-08T00:46:43","slug":"sidecar-file","status":"publish","type":"glossary","link":"https:\/\/picajet.com\/articles\/glossary\/sidecar-file\/","title":{"rendered":"Sidecar file"},"content":{"rendered":"<p class=\"wp-block-paragraph\">Sidecar files exist because some formats resist being written into directly. RAW image files are the classic case \u2014 they&#8217;re meant to preserve an unmodified sensor capture, so software avoids modifying them in place and instead writes metadata and non-destructive edit instructions to an accompanying XMP file with the same base filename. Video and audio workflows use the same pattern for formats or containers that don&#8217;t support rich embedded metadata natively.<\/p>\n<p class=\"wp-block-paragraph\">Inside a DAM, sidecar handling is mostly invisible when it works: the system reads both files at ingest and presents them as one asset record. Problems surface at the edges of the workflow \u2014 file transfer tools, cloud sync services, or manual folder copies that move the primary file but leave the sidecar behind, or vice versa. Because the link between the two files is just a filename match (and sometimes a folder location), any process that renames one without the other breaks the pairing.<\/p>\n<p class=\"wp-block-paragraph\">Some DAMs avoid the issue altogether by converting RAW files to a DAM-native preview and storing all metadata in their own database, treating the sidecar only as an import source rather than an ongoing dependency. That trades off round-trip fidelity with the original camera software for operational simplicity.<\/p>","protected":false},"excerpt":{"rendered":"<p>A separate file \u2014 typically with a .xmp extension \u2014 stored alongside an original asset to carry metadata that the original file format can&#8217;t embed, without altering the source file itself.<\/p>\n","protected":false},"author":0,"featured_media":0,"template":"","meta":{"footnotes":"","faq":[{"question":"What problem does a sidecar file solve?","answer":"Camera RAW formats like Canon .CR2\/.CR3, Nikon .NEF, and Sony .ARW are proprietary and often can't safely be written into after capture. A .xmp sidecar file stores edits, ratings, and keywords separately so the original RAW file stays bit-for-bit untouched."},{"question":"How should a DAM treat a RAW file and its sidecar?","answer":"As a single logical asset. If the DAM ingests the RAW file but drops or disconnects the sidecar, all the editing and tagging history applied in tools like Adobe Camera Raw or Lightroom is silently lost, even though the pixel data itself is intact."},{"question":"What commonly breaks the link between a file and its sidecar?","answer":"Renaming, moving, or re-exporting an asset through a workflow tool that only handles the primary file breaks the filename match that links it to its .xmp sidecar. The DAM then shows a RAW file with no rating, no keywords, and no edit history, even though the sidecar data still exists somewhere."},{"question":"What format do sidecar files typically use?","answer":"They're typically .xmp files, using the same XML\/RDF-based XMP data model that's also used for metadata embedded directly inside other file formats."},{"question":"Why can't RAW editing tools just write changes into the RAW file itself?","answer":"Because RAW formats are proprietary and manufacturers often don't support safe in-place edits \u2014 writing into the file risks corrupting it. The sidecar exists precisely to let editing tools record changes without touching the original capture data."},{"question":"How can a DAM avoid losing sidecar data during migration or export?","answer":"By handling the RAW file and its .xmp sidecar as a linked pair throughout every workflow step \u2014 ingest, rename, move, and export \u2014 rather than treating the sidecar as an optional extra file that can be dropped without consequence."}],"checked_date":"2026-08-07","sources":[],"kicker":"","fact_checker":0,"reading_time":0,"revisions":[],"seo_title":"","seo_description":"","noindex":false,"related":[2558,2414,2439,2482,2444,2493],"definition":"A separate file \u2014 typically with a .xmp extension \u2014 stored alongside an original asset to carry metadata that the original file format can't embed, without altering the source file itself.","why":"Camera RAW formats (Canon .CR2\/.CR3, Nikon .NEF, Sony .ARW) are proprietary and often can't safely be written into after capture, so edits, ratings, and keywords applied in tools like Adobe Camera Raw or Lightroom get saved to a matching .xmp sidecar instead \u2014 the original RAW file stays bit-for-bit untouched. A DAM has to treat the pair as a single logical asset; if it ingests the RAW file but drops or disconnects the sidecar, all of that editing and tagging history is silently lost even though the pixel data is intact.","example_rows":[{"field":"Original file","values":"IMG_4471.CR2"},{"field":"Sidecar file","values":"IMG_4471.xmp"},{"field":"Sidecar contents","values":"Lightroom develop settings, star rating, keywords, IPTC caption"}],"mistake":"An asset gets renamed, moved, or re-exported through a workflow tool that only handles the primary file, breaking the filename match that links it to its sidecar \u2014 the DAM then shows a RAW file with no rating, no keywords, and no edit history, even though a perfectly good .xmp file exists somewhere with all of it.","deep_link":""},"silo":[24],"class_list":["post-2440","glossary","type-glossary","status-publish","hentry","silo-glossary"],"_links":{"self":[{"href":"https:\/\/picajet.com\/articles\/wp-json\/wp\/v2\/glossary\/2440","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/picajet.com\/articles\/wp-json\/wp\/v2\/glossary"}],"about":[{"href":"https:\/\/picajet.com\/articles\/wp-json\/wp\/v2\/types\/glossary"}],"version-history":[{"count":3,"href":"https:\/\/picajet.com\/articles\/wp-json\/wp\/v2\/glossary\/2440\/revisions"}],"predecessor-version":[{"id":3620,"href":"https:\/\/picajet.com\/articles\/wp-json\/wp\/v2\/glossary\/2440\/revisions\/3620"}],"wp:attachment":[{"href":"https:\/\/picajet.com\/articles\/wp-json\/wp\/v2\/media?parent=2440"}],"wp:term":[{"taxonomy":"silo","embeddable":true,"href":"https:\/\/picajet.com\/articles\/wp-json\/wp\/v2\/silo?post=2440"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}