---
title: Keep your Entagged code on Sony cameras after editing
description: Using this script, you can use the Entagged with Sony cameras and avoid the codes being removed from your photos during editing.
---

[Skip to content](https://help.gotphoto.com/en/support/keep-your-entagged-code-on-sony-cameras-after-editing#main-content)

- [English](https://help.gotphoto.com/en/support/keep-your-entagged-code-on-sony-cameras-after-editing)
- [Deutsch – Deutschland](https://help.gotphoto.com/de-de/support/entagged-code-bei-sony-kameras-nach-der-bearbeitung-erhalten)

English

Show submenu for translations

![GotPhoto Logo](https://help.gotphoto.com/hs-fs/hubfs/ChatGPT%20Image%20Aug%2021%2c%202026%2c%2011_09_15%20AM.png?width=250&height=81&name=ChatGPT%20Image%20Aug%2021%2c%202026%2c%2011_09_15%20AM.png)

Open main navigation

Close main navigation

- - [English](https://help.gotphoto.com/en/support/keep-your-entagged-code-on-sony-cameras-after-editing)
    - [Deutsch – Deutschland](https://help.gotphoto.com/de-de/support/entagged-code-bei-sony-kameras-nach-der-bearbeitung-erhalten)

  English
  
  Show submenu for translations

 Hello. How can we help you?

- There are no suggestions because the search field is empty.

1. [Help Center](https://help.gotphoto.com/en/support?hsLang=en)
2. [Entagged & GotPhoto Tagging App](https://help.gotphoto.com/en/support/entagged-gotphoto-tagging-app?hsLang=en)
3. [Master Entagged with Comprehensive Tutorials.](https://help.gotphoto.com/en/support/entagged-gotphoto-tagging-app?hsLang=en#master-entagged-with-comprehensive-tutorials)

August 17, 2026

# Keep your Entagged code on Sony cameras after editing

**Table of contents**

- [Overview](https://help.gotphoto.com/en/support/keep-your-entagged-code-on-sony-cameras-after-editing#overview)
- [Why Entagged code disappears](https://help.gotphoto.com/en/support/keep-your-entagged-code-on-sony-cameras-after-editing#why-entagged-code-disappears)
- [How to preserve code on Mac](https://help.gotphoto.com/en/support/keep-your-entagged-code-on-sony-cameras-after-editing#how-to-preserve-code-on-mac)
- [How to preserve code on Windows](https://help.gotphoto.com/en/support/keep-your-entagged-code-on-sony-cameras-after-editing#how-to-preserve-code-on-windows)
- [FAQ](https://help.gotphoto.com/en/support/keep-your-entagged-code-on-sony-cameras-after-editing#faq)
- [The takeaway](https://help.gotphoto.com/en/support/keep-your-entagged-code-on-sony-cameras-after-editing#the-takeaway)

### **Overview**

**This article is relevant for you if you edit or convert your Sony JPG or RAW files before uploading** - for example, exporting from Lightroom, converting RAW files, or editing in other software.

In that case, the code that Entagged sends to your camera can get lost during editing. Without that code, GotPhoto can no longer match the affected photos automatically.

To prevent this, we offer a script that copies the code to a metadata field that survives editing. See below for why the code disappears and how to fix it on Mac or Windows.

\[Optional\] The script can also rename your files to include the saved code.

### **Why Entagged code disappears**

On Sony cameras, the code that Entagged sends to the camera is stored in a non-standard EXIF field called "ImageID" (EXIF tag 0x2043). GotPhoto automatically detects this field in JPG files uploaded directly from the camera.

Many editing tools don’t retain non-standard metadata fields like "ImageID." Lightroom exports and RAW converters are the most common cause – they strip this field during export or conversion, which is why it matters if you shoot in RAW.

The script we provide copies the value from "ImageID" into the "UserComment" field, which survives editing and is visible in Lightroom’s metadata view as well as other tools.

### **How to preserve code on Mac**

Before making any changes or importing photos into editing software, back up your images. Changes made by the script are irreversible.

1. 1Install ExifTool:
     1. Download the latest "MacOS Package" from [ExifTool.org](https://exiftool.org/).
     2. Open the .dmg file by double-clicking it.
     3. Run the installer by double-clicking the .pkg file. If you get a warning about an unidentified developer, Ctrl+click (or right-click) the file, select Open, then click Open again.
     4. Complete the installation. No app will open, but ExifTool will now be available to use.
2. 2Download the Mac script: [EntaggedCopyToUserCommentAndRename.zip](https://share.foolography.com/EntaggedCopyToUserCommentAndRename.zip)
     1. Double-click to unpack the zip file.
     2. \[Optional\] Move EntaggedCopyrightToUserComment.app to your Applications folder.
3. 3Run the script:
     1. Start the app by double-clicking it. If you get a warning about an unidentified developer, Ctrl+click (or right-click) the file, select Open, then click Open again.
     2. Follow the prompts to select the image folder.
4. 4Verify the result:
     1. Open an edited image in Preview.
     2. Go to Inspector \> Exif tab and check that the UserComment field contains the same code that was previously in ImageID. If a code appears there, it worked.

### **How to preserve code on Windows**

Before making any changes or importing photos into editing software, back up your images. Changes made by the script are irreversible.

1. 1Download the script: [EntaggedCopyToUserCommentAndRename-Windows.zip](https://share.foolography.com/EntaggedCopyToUserCommentAndRename-windows.zip)
2. 2Double-click to unpack the zip file. Inside, find the EntaggedCopyToUserCommentAndRename.cmd file – it includes detailed instructions.
3. 3Run the script:
     1. Drag and drop your image file or folder onto the .cmd file.
4. 4Open the .cmd file in Notepad to edit these options:
     1. \[Optional\] Enable or disable file renaming.
     2. \[Optional\] Generate a CSV file listing filenames and codes.
5. 5Verify the result:
     1. Open an edited image with ExifTool or another metadata viewer.
     2. Check that the UserComment field contains the same code that was previously in ImageID.

### **FAQ**

**Does this work with cameras other than Sony?**  
No. The script is built specifically for the "ImageID" field, which only Sony cameras use.

**Do I need to use Lightroom for this to apply to me?**  
No. The issue occurs with any software that strips the "ImageID" field during export or conversion – not just Lightroom.

**Can I run the script on photos I’ve already edited or exported?**  
Yes, as long as the files are still JPGs and the original "ImageID" field is still present. If it’s already been stripped, the script can’t recover it.

**What do I do with the images after running the script?**  
Upload them to GotPhoto as usual. The system will now detect the code in the UserComment field.

### **The takeaway**

Using this script, you can keep using Entagged with Sony cameras without losing codes when you edit or convert your photos. Once the script has run, upload your images to GotPhoto as usual.

- [Getting Started](https://help.gotphoto.com/en/support/getting-started?hsLang=en#main-content)

    - [One-Time Settings](https://help.gotphoto.com/en/support/getting-started?hsLang=en#one-time-settings)
    - [Price Lists and Product Packages](https://help.gotphoto.com/en/support/getting-started?hsLang=en#price-lists-and-product-packages)
    - [Your Online Shop](https://help.gotphoto.com/en/support/getting-started?hsLang=en#your-online-shop)
    - [Communication With Customers](https://help.gotphoto.com/en/support/getting-started?hsLang=en#communication-with-customers)
    - [Upselling Options](https://help.gotphoto.com/en/support/getting-started?hsLang=en#upselling-options)
    - [Navigation](https://help.gotphoto.com/en/support/getting-started?hsLang=en#navigation)
- [How-To's](https://help.gotphoto.com/en/support/how-tos?hsLang=en#main-content)

    - [Review Phase](https://help.gotphoto.com/en/support/how-tos?hsLang=en#review-phase)
    - [Sales Phase](https://help.gotphoto.com/en/support/how-tos?hsLang=en#sales-phase)
    - [Workflow Guides for Specific Scenarios](https://help.gotphoto.com/en/support/how-tos?hsLang=en#workflow-guides-for-specific-scenarios)
    - [Planning Phase](https://help.gotphoto.com/en/support/how-tos?hsLang=en#planning-phase)
    - [Picture Day Phase](https://help.gotphoto.com/en/support/how-tos?hsLang=en#picture-day-phase)
    - [Manage your Account](https://help.gotphoto.com/en/support/how-tos?hsLang=en#manage-your-account)
- [GotPhoto's Editing Services](https://help.gotphoto.com/en/support/gotphotos-editing-services?hsLang=en#main-content)

    - [GotPhoto's Editing Services](https://help.gotphoto.com/en/support/gotphotos-editing-services?hsLang=en#gotphotos-editing-services)
- [Sports Graphics Creation Service by Next Gen](https://help.gotphoto.com/en/support/sports-graphics-creation-service-by-next-gen?hsLang=en#main-content)

    - [Next Gen](https://help.gotphoto.com/en/support/sports-graphics-creation-service-by-next-gen?hsLang=en#next-gen)
- [Entagged & GotPhoto Tagging App](https://help.gotphoto.com/en/support/entagged-gotphoto-tagging-app?hsLang=en#main-content)

    - [Master Entagged with Comprehensive Tutorials.](https://help.gotphoto.com/en/support/entagged-gotphoto-tagging-app?hsLang=en#master-entagged-with-comprehensive-tutorials)
    - [Entagged Troubleshooting](https://help.gotphoto.com/en/support/entagged-gotphoto-tagging-app?hsLang=en#entagged-troubleshooting)
    - [GotPhoto Tagging App](https://help.gotphoto.com/en/support/entagged-gotphoto-tagging-app?hsLang=en#gotphoto-tagging-app)
- [Business & Growth](https://help.gotphoto.com/en/support/business-growth?hsLang=en#main-content)

    - [Stripe & Accounting Resources](https://help.gotphoto.com/en/support/business-growth?hsLang=en#stripe-accounting-resources)
    - [Best practices](https://help.gotphoto.com/en/support/business-growth?hsLang=en#best-practices)
    - [Webinars](https://help.gotphoto.com/en/support/business-growth?hsLang=en#webinars)
    - [Templates and Downloads](https://help.gotphoto.com/en/support/business-growth?hsLang=en#templates-and-downloads)
    - [GotPhoto Referral Program](https://help.gotphoto.com/en/support/business-growth?hsLang=en#gotphoto-referral-program)
    - [UK Materials](https://help.gotphoto.com/en/support/business-growth?hsLang=en#uk-materials)
- [Troubleshooting](https://help.gotphoto.com/en/support/troubleshooting?hsLang=en#main-content)

    - [Uploading Photos](https://help.gotphoto.com/en/support/troubleshooting?hsLang=en#uploading-photos)
    - [Customer-Facing Issues](https://help.gotphoto.com/en/support/troubleshooting?hsLang=en#customer-facing-issues)
    - [Access Codes](https://help.gotphoto.com/en/support/troubleshooting?hsLang=en#access-codes)
    - [Managing Names Lists](https://help.gotphoto.com/en/support/troubleshooting?hsLang=en#managing-names-lists)
    - [Customer Outreach](https://help.gotphoto.com/en/support/troubleshooting?hsLang=en#customer-outreach)
    - [Customizing Your Shop](https://help.gotphoto.com/en/support/troubleshooting?hsLang=en#customizing-your-shop)
    - [Your Account](https://help.gotphoto.com/en/support/troubleshooting?hsLang=en#your-account)
    - [Price Lists](https://help.gotphoto.com/en/support/troubleshooting?hsLang=en#price-lists)
    - [Student Data Export](https://help.gotphoto.com/en/support/troubleshooting?hsLang=en#student-data-export)
- [DIY Sports Graphic Creation & Group Composites](https://help.gotphoto.com/en/support/diy-sports-graphic-creation-group-composites?hsLang=en#main-content)

    - [Workflow Resources: QSuite, Pixnub & Team Photo Composite](https://help.gotphoto.com/en/support/diy-sports-graphic-creation-group-composites?hsLang=en#workflow-resources-qsuite-pixnub-team-photo-composite)

- [GotPhoto North America](https://www.gotphoto.com/) 
    - [T&Cs US](https://www.gotphoto.com/gtc-us/)
    - [T&Cs Canada](https://www.gotphoto.com/gtc-ca/)
    - [Privacy Policy US](https://www.gotphoto.com/data-privacy-policy-us/)
    - [Privacy Policy Canada](https://www.gotphoto.com/data-privacy-policy-ca/)
    - [DPA US](https://www.gotphoto.com/dpa-us/)
    - [DPA Canada](https://www.gotphoto.com/dpa-ca/)
    - [TOMs & sub-processors US](https://www.gotphoto.com/toms-and-sub-processors-us/)
    - [TOMs & sub-processors Canada](https://www.gotphoto.com/toms-and-sub-processors-ca/)
- [GotPhoto UK](https://www.gotphoto.co.uk/) 
    - [T&C UK](https://www.gotphoto.co.uk/gtc/)
    - [Privacy Policy UK](https://www.gotphoto.co.uk/data-privacy-policy/)
    - [DPA UK](https://www.gotphoto.co.uk/dpa/)
    - [TOMs & Sub-Processors UK](https://www.gotphoto.co.uk/toms-and-sub-processors/)
- [Cookie Declaration](https://app.gotphoto.com/cookie_declaration)

[![gpLogoLight](https://help.gotphoto.com/hs-fs/hubfs/gpLogoLight.png?width=240&height=38&name=gpLogoLight.png "gpLogoLight")](http://GotPhoto.com)

### GotPhoto North America

**Customer Care**

![USA](https://help.gotphoto.com/hs-fs/hubfs/undefined-1.png?width=20&name=undefined-1.png) +1 646-362-5100

![Kanada](https://help.gotphoto.com/hs-fs/hubfs/undefined.png?width=20&name=undefined.png) +1 365-809-1810

SupportUS@gotphoto.com

Support Hours:  
Monday – Friday  
9am – 7pm ET

### GotPhoto UK

**Customer Care**

+44 (0) 20 8068 8571

service@gotphoto.co.uk

Support Hours:  
Monday – Friday  
9am – 5pm GMT

<https://www.facebook.com/gotphoto.usa/> <https://www.instagram.com/gotphoto_official/> <https://www.linkedin.com/company/fde-gotphoto> <https://www.facebook.com/gotphoto.uk/> <https://www.instagram.com/gotphoto_uk/>

 Copyright © 2026, GotPhoto Inc.