Sub topic 8
Decide what metadata to keep
This chapter assumes you can already export a file with Export As or Quick Export, and that you know the difference between pixels and the data stored around them. It covers what metadata is, what it costs, what it can leak, and how to choose the right setting for each destination.
What metadata is
Metadata is information stored inside an image file that is not part of the picture. Three families matter for web export:
- EXIF is written by cameras and phones. It holds the capture date, camera model, lens, exposure settings, and often GPS coordinates. It can also hold an orientation flag that tells software to rotate the image.
- IPTC holds descriptive and rights fields that people type in. Examples are title, caption, keywords, creator, copyright notice, and contact details.
- XMP is an Adobe-defined XML container. It can carry the same fields as IPTC. Photoshop also uses it for editing history, document IDs, and other workflow data.
The ICC color profile is stored in the same file but is not metadata in the practical sense. It changes how colors are interpreted. The color chapter covers it, and this chapter treats it as something you keep even when you strip everything else.
Why metadata matters at export time
Metadata affects three things.
Privacy. A photo taken on a phone can carry exact GPS coordinates, a device model, and a timestamp. Publish it unchanged and anyone who downloads the file can read them. Photoshop copies this data forward from the source photo unless you tell it not to.
File size. Typical EXIF and IPTC blocks are a few kilobytes. XMP can be much larger, especially when it holds an embedded thumbnail or a long edit history. On a 15 KB icon or a small thumbnail, 10 KB of metadata is a large share of the file. On a 400 KB hero photo it is noise.
Attribution. Copyright and contact fields can stay with the file when it is copied or shared. They are easy to remove, so they discourage casual misuse but do not prevent it.
Metadata does not change how an image looks, with two exceptions: the ICC profile and the EXIF orientation flag. Photoshop applies orientation to the pixels when it opens a file, so exports are normally upright. Check this if you export a file that did not pass through Photoshop's canvas.
Where Photoshop lets you choose
Each export route offers a different level of control.
| Route | Metadata control | Notes |
|---|---|---|
| Export As | A Metadata setting in the Metadata section of the dialog | Choices are typically None or Copyright and Contact Info. Exact wording can differ between Photoshop versions. |
| Quick Export | Follows the metadata setting in Preferences > Export | Set it once and every Quick Export uses it. |
| Save for Web (Legacy) | A Metadata menu in the panel | Offers None, Copyright, Copyright and Contact Info, All Except Camera Info, and All. |
| Generate Image Assets | Uses the Generate preferences | Check an exported file to see what was written. |
Save for Web (Legacy) is the most granular. Export As and Quick Export are simpler. For most web work, "None" or "Copyright and Contact Info" is the right pick.
Copyright and Contact Info comes from the document's File Info panel (File > File Info). Fill in Author, Copyright Status, Copyright Notice, and Rights Usage Terms there before you export. If those fields are empty, choosing that option writes nothing useful.
A decision process
Start from the destination and ask what the file needs to carry.
The table below turns that into default choices.
| Destination | Suggested setting | Reason |
|---|---|---|
| Icons, buttons, UI sprites | None | The file is tiny, so metadata is a large share of its size. There is nothing to attribute. |
| Blog or portfolio photos | Copyright and Contact Info | Keeps your name and notice with the file without exposing GPS or camera serials. |
| Client deliverables | Copyright and Contact Info, or as the contract specifies | Some clients require rights fields to be present. |
| Social media uploads | None or Copyright and Contact Info | The platform will re-process the file anyway. See the caution below. |
| Photos of private places or people | None | Remove location data as a precaution. |
| Archival masters | Keep the PSD or TIFF with all metadata | Strip only the web derivatives. |
Do not rely on platforms to strip metadata
Many large social platforms re-encode uploads and drop most EXIF data, including GPS, on the public copy. This behavior varies by platform, changes over time, and can differ between the original download and the displayed image. Some services keep the data for internal use even when they hide it from viewers. Photo-sharing sites and your own web server usually serve the file exactly as uploaded.
Metadata from the source file
The export setting only controls what is written to the new file. The source document still holds everything. To reduce what Photoshop has to work with:
- Open File > File Info and review the Camera Data and IPTC panels.
- Remove or edit fields you do not want to carry forward. You can also save a metadata template in File Info and apply it to future documents.
- Export with the setting from your decision process.
Smart Objects that wrap a camera photo, and placed linked files, can bring their own XMP into the document. If something shows up in the output that you did not expect, check those layers.
Verify with a metadata reader
Export settings are easy to misread, and different Photoshop versions label them differently. Check the output. The free command-line tool ExifTool lists every metadata block in a file.
# List all metadata tags with their group names
exiftool -G1 -a -s hero.jpg
# Check only for GPS data (no output means none found)
exiftool -gps:all hero.jpg
# Compare file size before and after stripping
ls -l hero-with-meta.jpg hero-clean.jpg
# Strip everything except the color profile from a copy
exiftool -all= --icc_profile:all -o hero-clean.jpg hero.jpgThe last command is a backup option for files that came from somewhere else. It writes a new file with all tags removed except the ICC profile, so your colors stay correct. Be careful with the orientation tag: if a file relies on the EXIF orientation flag, removing it can leave the image sideways. Files exported from Photoshop already have the rotation applied to the pixels.
If you do not have ExifTool, your operating system's file properties dialog shows some of the same fields. Look for GPS coordinates, camera model, and creator. In a browser you can also open the image's properties in developer tools, though that view shows less.
Common mistakes
- Stripping the color profile along with metadata. In Save for Web (Legacy), "Embed Color Profile" is separate from the Metadata menu. In Export As, "Convert to sRGB" and "Embed Color Profile" are separate from the Metadata setting. Keep sRGB handling intact.
- Choosing Copyright and Contact Info with empty File Info fields. The export succeeds but carries nothing.
- Assuming "None" removes everything. A few fields can still be present in the file, such as the ICC profile and basic technical tags such as image dimensions. That is normal.
- Stripping the master. Apply "None" to the web copy only. Keep the original or the PSD intact.
- Not checking after a change in version or workflow. Preferences, presets, and updated menus can change what Quick Export writes.
Practical checklist
- Fill in File Info (author, copyright notice, usage terms) on the working document.
- Remove source-photo data you do not want to publish.
- Pick the metadata setting for the destination.
- Export.
- Read the exported file with ExifTool or a similar viewer and confirm that GPS is absent, rights fields are present or absent as intended, and the color profile is still embedded.
Exercise
You export a travel photo from your phone as a JPEG for a public blog. You want your name and copyright notice to stay in the file, but you do not want the shooting location published. What Photoshop settings and checks do you use?
Show answer
Fill in the Author and Copyright Notice fields in File > File Info, and delete any GPS data shown for the document. Export with Metadata set to Copyright and Contact Info (or in Save for Web (Legacy), choose Copyright and Contact Info rather than All). Keep Convert to sRGB and the embedded profile on. Then run exiftool -G1 -a -s on the exported file and confirm that no GPS tags appear, the copyright fields are present, and the ICC profile is still there.