# How to remove EXIF metadata from images on macOS to prevent geolocation and hardware leaks ## Installation guide **Step 1: install [Homebrew](https://brew.sh/)** ```shell /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" ``` **Step 2: disable analytics** ```shell brew analytics off ``` **Step 3: install [ExifTool](https://exiftool.org/)** ```shell brew install exiftool ``` --- ## Usage guide **View EXIF metadata** ```shell exiftool -n /path/to/image.jpg ``` **Remove EXIF metadata** ```shell exiftool -all= /path/to/image.jpg ```