ExifCleaner is an open source program allowing you to remove metadata from images, videos, and PDF documents, making them safer and smaller in size. There are instances when attackers will target GPS and device metadata so they can better profile their victims allowing them to tailor phishing attacks, for example. An app like ExifCleaner is designed to take that upper hand away from the attacker. Since it is removing some data, it also can help save some space on your drive.
mat2 is a advanced metadata removal tool, supporting a wide range of commonly used file formats, written in python3: at its core, it's a library, used by an eponymous command-line interface, as well as several file manager extensions.