All guides

Export IPTC as XMP: what it means in Apple Photos

Export IPTC as XMP is a checkbox in the Photos app on a Mac. When it is ticked, Photos saves a small .xmp text file next to each original you export, holding the keywords and IPTC details you added in Photos. Tick it when the photos are going into another photo program, and leave it off when you are sending pictures to a person. Either way the original keeps its camera data, location included, and MetadataLab's metadata viewer shows you what is in it before you send.

5 min readUpdated by the MetadataLab team

Do it now with the Metadata viewerSee what a file says about you. Nothing is changed. Free, in your browser. Your file is not uploaded.
Export IPTC as XMP: the IPTC and XMP details of a photo, such as author, copyright, city, caption and edit history, listed and removed from the file
The kind of details IPTC and XMP hold, read from a sample photo: who made it, who owns it, where, and a caption. An .xmp sidecar carries the same sort of text in a separate file.

What does Export IPTC as XMP mean?

You meet the checkbox in one place. In Photos on a Mac, choose File > Export > Export Unmodified Original, and it sits in the window that opens. Apple explains it in one sentence: if you want to export IPTC information as a sidecar XMP file, meaning the assigned IPTC metadata and keywords, select the Export IPTC as XMP checkbox.

The meaning of Export IPTC as XMP comes down to three terms. IPTC is a standard set of fields for describing a picture: keywords, caption, credit, copyright. XMP is a text format for storing such fields. A sidecar is a separate file that sits beside the photo and has the same name, so IMG_4821.HEIC gets IMG_4821.xmp.

Why Photos needs a separate file for it

An unmodified original is the file as the camera made it. Photos does not write into it. The keywords you added live in the Photos library, not in the picture.

When you export the original, that work would be left behind. The sidecar is how it comes along. Any program that reads XMP sidecars can pick the keywords up again on import, which is the usual reason people use the option: moving a library out of Photos and into another editor.

If you are new to sidecars, what is an XMP file? covers how other editors use them and whether they are safe to delete.

When to tick it, and when not to

Tick it when the photos are going into another photo program, or into an archive you want to be able to search later. Without the sidecar the originals arrive with no keywords.

Leave it off when the photos are going to a person. They will get an extra .xmp file with each photo, one they cannot open by double-clicking, and those files hold your keywords. Keywords can be more personal than people expect: names of children, a client, a street.

If you have not added keywords or other details in Photos, the box makes little difference either way.

What is still inside the original

The checkbox only decides whether the sidecar is written. It does not clean the photo. An unmodified original has everything the camera put in it, and for a phone photo that usually means the EXIF data with the model, the time and the GPS location. (For photos still on the phone, see how to remove location from iPhone photos.)

So an export with the box off is not a private export. Before you send originals to someone, drop one on the metadata viewer and read what it says. If there is a location in it and you would prefer there was not, the photo and EXIF remover takes it out, and it reads HEIC as well as JPEG.

Photos has a setting for location on its ordinary sharing and exports too. Under Photos > Settings > General there is a checkbox called Include location information. Check the result of any export once, whichever boxes you used.

IPTC, XMP and EXIF side by side

EXIF comes from the camera and is about the shot. IPTC comes from people and is about the picture: what it shows, who made it, who may use it. XMP is the format both can be written in.

The IPTC Photo Metadata Standard is stored in two ways today, an older binary block and XMP. "IPTC as XMP" means the second. If you ever need to fix one of these fields by hand in a JPEG, such as the author or the copyright line, the EXIF editor does that in the browser.

Ready? Open the Metadata viewerSee what a file says about you. Nothing is changed. Free, in your browser. Your file is not uploaded.

Tools that go with this guide

Questions people ask

What is the best way to check a photo before sending an export?

MetadataLab's metadata viewer: drop an exported original on it and it lists the location, the camera, the dates and any captions inside the file. It runs in your browser, so the photo is not uploaded.

Should I check Export IPTC as XMP?

Check it if the photos are going into another photo program and you want your keywords to come along. Leave it unchecked if you are sending the photos to someone, because the extra .xmp files only get in the way and they hold your keywords.

What is in the XMP file that Photos creates?

Apple says it holds the IPTC metadata and keywords you assigned to the photo. It is a small text file, and you can open it in TextEdit to read it.

Does Export IPTC as XMP remove metadata from the photo?

No. It adds a file and changes nothing in the photo. The original still holds its camera data, including the location if it had one. To remove that, use the photo and EXIF remover.

What is the difference between IPTC and XMP?

IPTC is a list of fields, such as caption, keywords and copyright. XMP is a text format that can store those fields, inside a file or in a sidecar next to it.

Can I delete the .xmp files after exporting?

Yes, if you do not need the keywords in another program. The photos open the same without them. Nothing in an .xmp file is part of the picture.

Built with Leapd