Photoshop and Lightroom metadata: how to keep copyright and strip edit history
By ExifZero Engineering · Updated
Short answer: Photoshop's Save a Copy preserves everything — camera EXIF, GPS, xmpMM:History edit logs,
bloated photoshop:DocumentAncestors lists and any C2PA Content Credentials. To share lightweight client or web exports, use
Export As → Metadata: Copyright and Contact Info (or None), or Lightroom Classic's Copyright Only preset with
Remove Location Info checked — then verify an output file before sending.
Working photographers and UI designers hit two opposite headaches in Adobe apps: either an export leaks internal PSD edit history, client filenames and GPS coordinates, or a bulk stripper deletes copyright credits alongside the junk. Worse, a long-running Photoshop quirk can quietly pad tiny web thumbnails to several megabytes with invisible XML UUIDs.
The DocumentAncestors and xmpMM:History bloat problem
Every time you duplicate a layer from an older PSD, paste a Smart Object from a brand template, or run multi-step retouching, Photoshop logs
those steps in the file's XMP packet under xmpMM:History and photoshop:DocumentAncestors. Over months of reusing UI
kits or mockup templates, a single master file can accumulate thousands of ancestor IDs.
When you save that document with Save As or Save a Copy, Photoshop copies the entire XML tree straight into the JPEG
APP1 segment or PNG iTXt chunk. A 1200×630 blog banner whose pixels only take 85 KB can balloon to 2.4 MB purely
from XML history:
<!-- Bloated XMP carried over by Save a Copy -->
<photoshop:DocumentAncestors>
<rdf:Bag>
<rdf:li>adobe:docid:photoshop:18a9c410-771e-11ee-b912-8b3d209a1c02</rdf:li>
<rdf:li>xmp.did:9402e7a1-3f0b-45e8-a119-0f6122c8e144</rdf:li>
<!-- ...hundreds or thousands more inherited UUIDs... -->
</rdf:Bag>
</photoshop:DocumentAncestors>
<xmpMM:History>
<rdf:Seq>
<rdf:li stEvt:action="saved" stEvt:softwareAgent="Adobe Photoshop 26.2 (Macintosh)"
stEvt:when="2026-11-12T15:08:41+08:00" />
</rdf:Seq>
</xmpMM:History> Compare that with a clean copyright-only export, which keeps only attribution and drops edit dates, software versions and ancestor bags:
<dc:rights>
<rdf:Alt><rdf:li xml:lang="x-default">© 2026 Studio Name. All rights reserved.</rdf:li></rdf:Alt>
</dc:rights>
<dc:creator><rdf:Seq><rdf:li>Photographer Name</rdf:li></rdf:Seq></dc:creator> Export options compared across Photoshop and Lightroom
Menu names and defaults shift slightly across Creative Cloud releases, so double-check an exported sample in ExifZero's EXIF viewer after building a new export preset.
| Export path | EXIF & GPS | XMP History & Ancestors | Copyright & ICC profile |
|---|---|---|---|
| Photoshop → Save a Copy | Kept | Kept (causes bloat) | Kept + optional C2PA |
| Photoshop → Export As (Metadata: None) | Stripped | Stripped | Copyright stripped; optional sRGB / ICC Embed |
| Photoshop → Export As (Copyright & Contact Info) | Stripped | Stripped | Keeps dc:rights / IPTC contact + optional ICC |
| Photoshop → Save for Web (Legacy) | Stripped (except Copyright / All) | Stripped under None / Copyright | Set Metadata dropdown to None or Copyright; tick ICC Profile |
| Lightroom Classic → Export (All Metadata) | Kept (unless Remove Location checked) | Develop settings & keywords included | Kept + chosen Color Space |
| Lightroom Classic → Export (Copyright Only) | Stripped | Stripped | Keeps copyright string + chosen ICC profile |
How Generative Fill and Content Credentials interact with exports
If you enable Content Credentials in Photoshop (or work on an asset whose ingredients carried C2PA claims), Adobe attaches a JUMBF store in JPEG
APP11 or PNG caBX segments. Using Generative Fill or Generative Expand while Content
Credentials are active records an edit action referencing compositeWithTrainedAlgorithmicMedia alongside your signing identity or
ingredient thumbnails.
Keep two distinct rules in mind when delivering client work:
- When clients want attribution kept: use Photoshop's Export As → Metadata: Copyright and Contact Info or Lightroom's Copyright Only preset with Remove Location Info and Remove Person Info enabled, and verify the exported file has no GPS or
xmpMM:Historyleft. - When a file must be 100% metadata-free: (for anonymous competitions, minimal web assets, or removing bloated
APP1/APP11blocks from files saved with Save a Copy), run the exported JPEGs or PNGs through ExifZero. It cuts out XMP, EXIF, IPTC and C2PA blocks losslessly while leaving Keep color profile ticked so your Adobe RGB or Display P3 calibration stays accurate.
Remember that cleaning metadata does not change editorial, client or platform rules about disclosing generative AI edits where disclosure is required.
Quick pre-delivery audit in the browser
- Drop your final export into ExifZero.
Check the Summary tab first for any stray GPS, camera serial or Content Credentials notice. - Search
All metadataforAncestororHistory.
Confirm old PSD document IDs and software agent strings did not sneak into the web export. - Check File structure overhead.
IfAPP1orAPP11makes up a large slice of the byte count, decide whether you intended to ship it or want a lossless strip.
Why a single Smart Object keeps bringing bloat back
Even after you clean a JPEG export, the source .psd master still carries its accumulated DocumentAncestors list. The
next time someone copies a button, icon or background layer from that master into a new campaign file, Photoshop merges the old ancestor array into
the new document as well. Breaking that chain requires either exporting web deliverables via Export As → Metadata: None / Copyright or
running a quick lossless strip on the final delivery folder before uploading to your CMS or handing files to a client.
Also pay attention to color profiles when toggling metadata options in Adobe dialogs. In both Export As and Save for Web, the
Convert to sRGB and Embed Color Profile checkboxes live right next to the Metadata dropdown. For web UI assets
and blog graphics, converting to sRGB and keeping the small ICC profile prevents wide-gamut monitors from oversaturating skin tones and brand
colors, while stripping EXIF and XMP keeps file sizes lean. If you exported with Save a Copy by mistake and need to slim down dozens of
already-rendered JPEGs or PNGs without recompressing pixels, drop the batch into ExifZero with Keep color profile
checked — it drops APP1 XMP bloat and preserves the ICC profile byte for byte. Afterwards, inspect the cleaned output in the
EXIF viewer or check its byte layout to confirm APP1 dropped from megabytes down to zero.
Frequently asked questions
Why is a small 800px JPEG exported from Photoshop suddenly 3 MB?
Often the culprit is Photoshop’s photoshop:DocumentAncestors XMP array. When you drag smart objects or layers across PSD templates, Photoshop appends their document UUIDs into XMP history, which can inflate APP1 XMP segments by hundreds of kilobytes or several megabytes.
What is the difference between Save a Copy and Export As in Photoshop?
Save a Copy behaves like Save As: it keeps full EXIF, XMP edit history, DocumentAncestors and Content Credentials by default. Export As runs a web-oriented pipeline with a Metadata dropdown letting you pick None or Copyright and Contact Info.
Does Lightroom Classic “Copyright Only” also strip camera EXIF and GPS?
Yes. Setting Metadata to “Copyright Only” or “Copyright & Contact Info Only” in Lightroom’s Export dialog omits camera EXIF, GPS, keywords and Develop settings — though you should still inspect one exported file if you use third-party export plugins.
Does Photoshop Generative Fill add AI tags to my exported photo?
If Content Credentials are enabled in your document or export settings, Photoshop records actions such as compositeWithTrainedAlgorithmicMedia inside the C2PA manifest and XMP fields when Generative Fill or Generative Expand is used.