What metadata does a LibreOffice file contain and how to remove it?

All we need is an easy explanation of the problem, so here it is.

I am using LibreOffice on Linux. One way I know of viewing and removing metadata from a LibreOffice file is going to File -> Properties -> General, unchecking “apply user data” and click reset. Then go to “Description” and “Custom” Properties and remove information from there, if exists.

Does it truly remove all the metadata or something is left and what is it and what other methods can I use to remove it?

Also, if I unzip a LibreOffice file, is contents.xml the only place where metadata may be found?

If I forgot to remove any metadata, is it possible that the username is transmitted?

How to solve :

I know you bored from this bug, So we are here to help you! Take a deep breath and look at the explanation of your problem. We have many solutions to this problem, But we recommend you to use the first method because it is tested & true method that will 100% work for you.

Method 1

I figured it out. The method in my question is not enough, because it doesn’t remove all metadata! It doesn’t delete metadata such as editing-duration, editing-cycles and generator. generator contains your LibreOffice version and operating system, I don’t know why the developers didn’t mention that anywhere.

To remove metadata from a LibreOffice file:

  1. If your file is document.odt, rename it to document.zip

  2. Open the zip and remove the meta.xml file

  3. Rename from document.zip back to document.odt. If you open the file after that, edit it and save it, metadata will get written into it again so don’t edit the file after removing the metadata.

Tip: use exiftool to check the metadata before and after.

If there is any other identifying information or information that make fingerprinting possible inside the document please comment or edit the question or add your own answer.

Note: Use and implement method 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply