A photo taken on a smartphone holds more than the image. It also records when it was taken, on what device, and where. This information is called EXIF metadata.
Day to day it's useful. Your photo library sorts itself by date and shows shots on a map because of EXIF. The problem is that the same information goes along when you send a photo to someone or post it online, and fewer people know this than you might think.
What EXIF contains
EXIF (Exchangeable Image File Format) is a set of data the camera records automatically at the moment of capture. It usually includes these fields:
- Date and time: the year, month, day, and time the photo was taken
- GPS coordinates: latitude and longitude if location services were on (for a photo taken at home or work, that is the address)
- Device info: the make and model of the camera or phone
- Capture settings: focal length, shutter speed, ISO, whether the flash fired
- Orientation: portrait or landscape rotation
Why it becomes a privacy risk
The most sensitive field is the GPS coordinate. Post a photo of your pet or child taken at home straight to social media, and the coordinates can give away your home address. Sellers on secondhand marketplaces have had the area they live in revealed by a single listing photo.
Capture times matter too. Line up the times on several photos and it isn't hard to work out someone's daily movements and routine. Once that information is public, it's hard to take back.
How converting and re-saving removes metadata
EXIF is stored in a separate area from the image pixels, so it often gets dropped when an image is re-encoded. When a browser draws a photo onto a Canvas and exports a new file, only the visible pixels are written, and the original GPS and capture details don't go into the new file.
Compressing to save space, resizing, and converting formats all go through this step, so personal data is removed along the way. Saving as PNG also writes the rotation (Orientation) into the pixels, which fixes the problem of different programs showing the same photo in different orientations.
Make checking a habit before you post
A quick check before sharing settles it. On a computer, the Details tab of the file's Properties (Info) window shows the GPS and date fields. On a phone, open the photo's details and see whether a map appears. If a location shows up, the photo still has coordinates.
The most reliable way is to make a separate copy for sharing. Re-save the photo with Switching's image compress or resize tool and you get a copy without location or time data, and the file never leaves your browser in the process. The more sensitive the photo, the more reason to send the copy instead of the original.