- Why does Tools > Metadata > Edit XMP not display the XMP data that appear in the ExifTool tab?
- How can I edit/delete the XMP data that appear in the ExifTool tab?
- Are the displayed XMP data embedded in the file?
- Why is Tools > Metadata > Clean grayed out?
- Why, with a different file (.webp), is Tools > Metadata > Edit XMP grayed out (if XMP data are shown in the ExifTool tab for this .webp file)?
How can I delete XMP metadata?
Moderators: helmut, XnTriq, xnview
How can I delete XMP metadata?
I read the thread How to remove metadata but this answer does not work for me:
Re: How can I delete XMP metadata?
Hello
... like this one, designed to delete xmp country code : (PC with Windows)
- Tools>Open with> Configure ... in left column, add exiftool.exe (located in AddOn folder of xnviewmp) . You can rename this field "deleteCC"
- in right column, with a double-click, add parameters "-xmp:CountryCode= " -k
Then , select photos, Open With, click on the command you have built to delete country code of these photos
Either, for formats that support it, embedded in the image file;
Or, for files that do not support embedded xmp, by writing a companion xmp file (sidecar file) next to the photo.
(If you wish, you can force the writing of companion xmp files in any case).
It's up to you to determine if your files have been tagged "embedded" or "companion".
XnViewMP can display both methods, but it's not easy to guess which one it has read
For jpg files, it's not greyed ...
6 To remove all xmp metadata with a call to ExifTool, use the parameters : "-xmp:all= " -k
(The -k parameter holds the ExifTool window in order to read the report.)
The author has chosen to propose the edition of some of the most common XMP metadata, because there are hundreds of them ...1 Why does Tools > Metadata > Edit XMP not display the XMP data that appear in the ExifTool tab?
If the xmp data is not accessible in one of the tabs of the "Tools > Metadata > Edit XMP" window, you will have to use some tricks, which I perhaps may be able to describe if you give an example .2 How can I edit/delete the XMP data that appear in the ExifTool tab?
... like this one, designed to delete xmp country code : (PC with Windows)
- Tools>Open with> Configure ... in left column, add exiftool.exe (located in AddOn folder of xnviewmp) . You can rename this field "deleteCC"
- in right column, with a double-click, add parameters "-xmp:CountryCode= " -k
Then , select photos, Open With, click on the command you have built to delete country code of these photos
There are two ways to associate xmp metadata with photos.3 Are the displayed XMP data embedded in the file?
Either, for formats that support it, embedded in the image file;
Or, for files that do not support embedded xmp, by writing a companion xmp file (sidecar file) next to the photo.
(If you wish, you can force the writing of companion xmp files in any case).
It's up to you to determine if your files have been tagged "embedded" or "companion".
XnViewMP can display both methods, but it's not easy to guess which one it has read

Maybe a file format for which Xnviewmp can't edit the metadata ?4 Why is Tools > Metadata > Clean grayed out?
For jpg files, it's not greyed ...
Same answer, I don't remember which formats are supported yet in XnViewMP...5 Why, with a different file (.webp), is Tools > Metadata > Edit XMP grayed out (if XMP data are shown in the ExifTool tab for this .webp file)?
6 To remove all xmp metadata with a call to ExifTool, use the parameters : "-xmp:all= " -k
(The -k parameter holds the ExifTool window in order to read the report.)
Catalogage avec XnviewMP :
https://orchisere.fr/logiciels/html/xnviewmpintro.htm
Tutoriel exiftool : https://orchisere.fr/logiciels/html/exiftool.htm
https://orchisere.fr/logiciels/html/xnviewmpintro.htm
Tutoriel exiftool : https://orchisere.fr/logiciels/html/exiftool.htm
Re: How can I delete XMP metadata?
Wow, thanks!
For 4: Yes, I see that Clean is available for jpg, but not for png, webp, or jp2.
For 4: Yes, I see that Clean is available for jpg, but not for png, webp, or jp2.