To edit photo metadata, first decide whether you are changing a library entry or the file you will share. On Windows, try the image's Properties → Details dialog for supported fields. On a Mac, Photos can edit descriptive information in its library; export the result deliberately. For explicit file-level fields and batch work, use a metadata tool such as ExifTool on copies, then read the saved files back.
This guide is based on official documentation, not a claimed laboratory test. The goal is a verifiable change: the intended field in the intended output, with the original preserved.
Know which metadata you want to change
Exif metadata often records capture information such as exposure, camera and GPS. IPTC defines descriptive and rights information such as creator, caption and copyright. XMP can represent metadata in the file or in a companion sidecar file. These are not three mutually exclusive boxes: the same concept may appear in several groups, and a program may also keep its own database value.
A filename, a filesystem modification time and a photo's capture date are different things. Changing one does not prove that the others changed. Similarly, hiding location in a library view is not evidence that every exported file is free of coordinates.
- Library entry: the app displays your new caption. Check its export settings before sharing.
- Embedded metadata: the output image contains the value. Writing it changes the file, so keep a master copy.
- Sidecar: a companion XMP file contains the value. Keep it paired with the image and verify that the next application reads it.
The final check is the same: reopen the exported image and any sidecar in the receiving tool. A correct value in the first application's window is not enough.
Edit photo metadata on Windows
- Make a working copy of the photo.
- In File Explorer, right-click the copy, choose Properties, then open Details.
- Click the value of the field you want to change, such as Title, Tags or Authors, if an editable control is available.
- Apply the change, close the dialog and reopen it. For an important delivery, inspect the output in the recipient's tool too.
Do not confuse the Explorer Details pane with the Details tab in the Properties dialog. Writable fields depend on the format, installed property handler and Windows version. A displayed field may be read-only. This guide does not promise that every JPEG, TIFF, PNG or RAW property can be edited by Explorer; use a format-aware tool when the required field is unavailable.
Edit photo metadata on a Mac
Photos: edit the library, then choose an export
Select a photo in Photos and open the Info window with the Info button or Command-I. Apple documents fields for titles, captions and keywords. Capture date and time are adjusted separately through Image → Adjust Date and Time. Work on a test photo first if you are changing a group.
Export is the important second step. For a rendered copy, use File → Export → Export Photos and inspect the information options offered for the output. For the original file, choose File → Export → Export Unmodified Original. Apple provides an Export IPTC as XMP checkbox to export assigned IPTC information and keywords in a sidecar. An unmodified original and an edited export are not interchangeable.
Do not assume that exporting an unmodified original writes the new caption into that original. Verify the resulting image and XMP companion. Keep both when your next application relies on sidecars.
Preview: inspect, rather than assume full editing
Preview can show image information and, when GPS information is present, its location. Apple's documented route is Tools → Show Location Info. That does not establish Preview as a general IPTC/XMP editor. For file-level caption or keyword editing beyond Photos' library workflow, use a dedicated editor with documented write support.
Explicit fields and batch editing with ExifTool
ExifTool is a free read/write metadata utility. Its supported-format and tag tables matter: reading a field does not always imply write support. The following examples are for a disposable copy named photo-copy.jpg, not an irreplaceable master.
- Read first:
exiftool -a -G1 -s photo-copy.jpgdisplays duplicate tag names with their groups. - Set an explicit XMP title:
exiftool -XMP-dc:Title="Spring campaign" photo-copy.jpg. - Add an XMP keyword:
exiftool -XMP-dc:Subject+=beach photo-copy.jpg. The list-add operation is different from replacing a list; avoid rerunning it blindly. - Read back:
exiftool -a -G1 -s -XMP-dc:Title -XMP-dc:Subject photo-copy.jpg, then check the file in the application that will consume it.
By default, when writing an existing file, ExifTool preserves an original backup with _original appended. Do not add -overwrite_original just to make a tutorial shorter. A tool-created backup is useful but does not replace a separate backup policy.
Before expanding to a folder, validate a small set of copies with representative formats. Directory and recursive operations can affect more files than intended. Define the extension, directory and fields deliberately, and inspect the output before proceeding. A visual catalog can help apply consistent terms, but the claim that every DAM writes all metadata losslessly is not justified. See the metadata writeback comparison and validate your own field list.
Preserve originals and make sidecars portable
Embedding metadata modifies the file even if its image pixels are unchanged. If you need an untouched master, edit a duplicate or use a sidecar workflow supported by the applications involved. Proprietary camera RAW formats, DNG, JPEG and TIFF need not be handled identically. It is incorrect to say that no tool can write metadata into a RAW file.
Sidecars are not magic interoperability. Check filename pairing, the metadata namespaces, which application owns updates and whether the destination reads the fields. Move and back up the image and sidecar together. Editing instructions from one RAW developer do not guarantee the same rendering in another.
For a reusable vocabulary and archive policy, see categories versus keywords and tags and the photo library organization guide.
Remove location or other metadata before sharing
Work on the delivery copy. Windows offers Remove Properties and Personal Information in the Properties dialog; it removes properties it can change, not a guaranteed complete set for every format. Apple's Photos documentation describes Image → Location → Hide Location. Neither a hidden map nor a successful dialog proves the final export is anonymized.
ExifTool documents exiftool -all= photo-copy.jpg for deleting metadata, but explicitly warns that complete removal is not guaranteed for all file types. It can also remove useful copyright, color-profile or orientation information, so do not apply it blindly to masters or arbitrary RAW files. If you need only location removed, identify all relevant location fields, including copies in different groups, rather than assuming a single GPS field covers them.
- Create the file you actually intend to send, using a suitable format.
- Remove the chosen sensitive information from that copy with a supported tool.
- Read all metadata from the finished file and inspect it visually.
- Share only the checked copy, not the untouched master, an
_originalbackup or an unintended sidecar.
Metadata removal cannot hide a visible address, a face or a recognizable place in the image. Do not rely on a website to strip metadata: it may receive and process the original before creating its public derivative.
FAQ
How do I edit photo metadata on Windows?
Use a copy, open Properties → Details in File Explorer, and edit a writable field. Apply and reopen it to verify. Available fields depend on file format and Windows support; use a dedicated tool if the required field is read-only.
How do I edit photo metadata on a Mac?
In Photos, open the Info window to edit descriptive information, then choose an export deliberately. Export Unmodified Original can include an XMP sidecar through Export IPTC as XMP. Inspect the resulting file and sidecar rather than assuming a library edit changed the original.
Can Preview edit all photo metadata?
No general editing capability should be inferred from its Inspector. Apple documents inspection and location viewing; use Photos or a dedicated metadata editor for the required writable fields, and verify the output.
Can I edit metadata in a RAW file?
Some formats and tools support embedded writes, but that changes the file. For an untouched master, use a working copy or a supported XMP sidecar workflow and check that the receiving application reads it.
Does deleting all metadata guarantee privacy?
No. Removal support depends on file type and tool, and sensitive information may also be visible in the pixels, filename or a sidecar. Inspect the final delivery copy after removal. ExifTool does not guarantee complete removal for all file formats.
Official documentation
Documentation reviewed for this October 2026 update; no fabricated author biography or hands-on benchmark is used. Microsoft's privacy article is historical guidance, so current field support must be checked on your system.
- ExifTool application documentation and FAQ: duplicate fields, groups and writing
- ExifTool: format support and metadata-removal limitations
- Apple Photos: view and add information
- Apple Photos: export and IPTC as XMP
- Apple Preview: show location information
- Apple: manage location metadata
- Microsoft: remove personal metadata