How to Add Keywords to Photo Metadata (Step by Step)
October 25, 2026
You can add keywords to a photo's metadata with almost any photo tool. Windows lets you edit "Tags" in a file's properties. Lightroom has a Keywording panel. ExifTool does it from the command line. A browser tool such as Geotagr does it in batches. The result is the same in each case. The keywords are written into the file's IPTC and XMP fields, so they travel with the photo.
The method matters less than two checks. Make sure the keywords go into the standard fields other software reads. Then confirm they survived export and upload. This guide covers both.
Where keywords are stored in a photo file
Keywords don't live in one place. A JPG can hold them in several fields, and different programs read different ones.
| Field | Standard | Notes |
|---|---|---|
| Keywords | IPTC (IIM) | The classic field. Read by most photo managers, stock agencies and DAM tools. |
| dc:subject | XMP | The modern equivalent. Lightroom and many other apps use it. |
| XPKeywords ("Tags") | Microsoft/EXIF | What Windows File Explorer shows as Tags. Not the same field as IPTC. |
If you only fill in the Windows Tags field, other software may not see your keywords. Tools that write both IPTC and XMP are the safer choice. If you want the background on how these formats relate, see our IPTC vs XMP comparison and EXIF data explained.
Before you start: choose your keywords
Keywords work best when they're short, specific and true to the photo. A rough approach:
- What it shows: "kitchen remodel", "quartz countertop", "golden retriever".
- Where it is: city, neighborhood, landmark, region.
- Who or what it's for: business name, project name, service type.
- Context: season, event, style.
Skip keywords that don't describe the image. Stuffing a file with unrelated terms makes your library harder to search, and there's no evidence it helps anywhere else. Ten or fewer well-chosen keywords per photo is usually plenty.
Method 1: Windows File Explorer
- Right-click the JPG and choose Properties.
- Open the Details tab.
- Click the Tags field and type your keywords, separated by semicolons.
- Click OK.
This is quick for a handful of files. The limits are that it works mainly with JPG and some other formats, and it writes to the Windows Tags field. Other apps may not read that field the same way. Check the result in another tool before relying on it.
Method 2: Lightroom or another photo manager
In Lightroom Classic, select photos and type keywords in the Keywording panel in the Library module. You can build keyword hierarchies and apply keywords to many photos at once.
The important step is export. In the export dialog, check the Metadata section and make sure you aren't set to "Copyright Only". Otherwise the keywords stay in your catalog and don't reach the exported file. Other managers have similar settings, so look for a "include metadata" option.
Method 3: ExifTool (free, command line)
ExifTool is powerful and good for scripting. To add keywords to both IPTC and XMP:
exiftool -keywords+="kitchen remodel" -keywords+="Austin" -xmp:subject+="kitchen remodel" -xmp:subject+="Austin" photo.jpg
The += adds a keyword without replacing the existing ones. Use = and you'll overwrite what's there. ExifTool keeps a backup copy of the original by default, which is useful while you learn it. It has a learning curve, and it isn't convenient if you'd rather work visually.
Method 4: In your browser with Geotagr
If you want to tag photos without installing software, the Geotagr editor runs in your browser. You open your photos and enter a title, description and keywords. You can also add GPS coordinates and business details, and Geotagr writes them into the file as IPTC/XMP metadata.
A few things to know:
- Processing happens in your browser. Your photo files are not uploaded to Geotagr's servers.
- It opens JPG, HEIC, PNG and WebP. HEIC, PNG and WebP are converted and saved as JPG.
- You can select many photos and apply the same keywords at once, or save a preset for a recurring job.
- CSV import (for per-photo keywords from a spreadsheet) and AI suggestions are paid features. See pricing for what's included.
For a deeper look at tagging many files, see How to Batch Geotag Photos. If you're preparing images for sale, the stock photography page covers keywords and GPS together.
How to check that the keywords were saved
Never assume. After writing metadata, open the file in a different tool from the one you used to write it.
- Drop the finished photo into the free photo metadata checker and look for the keyword fields.
- Or follow the methods in How to Check Photo Metadata on Any Device.
- Check a copy that has been through your real workflow: exported, emailed or uploaded.
That last step catches most problems, because many platforms change files on upload.
What to expect after you add keywords
Be realistic about what keywords do.
- Inside your own systems: they help a lot. You can search a photo library, a DAM or a stock-agency catalog by keyword.
- On websites and social platforms: results vary. Some platforms strip metadata when you upload, so your keywords may never reach the public copy.
- For search rankings: Google has not published how it uses photo metadata, and nobody can promise a ranking benefit. Descriptive file names, alt text and the page content around an image are the signals you can control more directly. Our post on whether geotagging helps local SEO goes through what's known and what isn't.
Also remember that metadata can contain private information such as GPS location. If you share photos publicly, decide what you want embedded. How to Remove Location Data from Photos explains how to strip it.
Common mistakes
- Writing only one field. Fill IPTC and XMP so more software can read the keywords.
- Overwriting instead of adding. With scripts, use the "add" operator unless you mean to replace.
- Exporting without metadata. Check your export settings.
- Editing a copy, then uploading the original. Keep one clearly named folder of finished files.
- Relying on keywords surviving uploads. Test with one photo first.
FAQ
What is the difference between keywords and tags in photo metadata?
Mostly naming. Windows calls the field "Tags", while IPTC and Lightroom call it "Keywords". They can be stored in different underlying fields, so a tool that writes one may not populate the other. Writing IPTC and XMP keywords covers the most software.
Can I add keywords to a HEIC or PNG photo?
Yes, but support varies by software. In Geotagr, HEIC, PNG and WebP files are converted and saved as JPG with the metadata written to the new file. Your original file is not changed.
How many keywords should I add to a photo?
There's no universal number. A short list of accurate, specific keywords is better than a long list of vague ones. Some stock agencies set their own limits, so check their guidelines.
Do keywords in metadata improve Google rankings?
There's no confirmed answer. Google hasn't published how it uses photo metadata, and some platforms remove it on upload. Add keywords because they make your files easier to find and organize, not as a ranking tactic.
Will social media sites keep my keywords?
Often not. Many platforms strip or rewrite metadata when you upload. Test by uploading one photo, downloading it and running it through a metadata checker.