On windows, if you check the properties of the file, there’s a button to remove metadata.
On iPhone, if you go into your photos and drag a photo up, you can click “adjust” and remove or edit the location and time/date (it will still have camera data).