I use ImageOptim: https://imageoptim.com/
Compressed images efficiently and also removes EXIF data.
ImageOptim seems like a proprietary SaaS, not something you want to trust your EXIF data with. mat2 is a locally installed tool so it doesn't have that problem (there is a web interface you can setup too).
https://0xacab.org/jvoisin/mat2